Skip to content

Instantly share code, notes, and snippets.

View jothirnadh's full-sized avatar

Jothirnadh Sai Guthula jothirnadh

View GitHub Profile
@jothirnadh
jothirnadh / jupyter_shortcuts.md
Created September 2, 2018 06:09 — forked from kidpixo/jupyter_shortcuts.md
Keyboard shortcuts for ipython notebook 3.1.0 / jupyter

Toc

Keyboard shortcuts

The IPython Notebook has two different keyboard input modes. Edit mode allows you to type code/text into a cell and is indicated by a green cell border. Command mode binds the keyboard to notebook level actions and is indicated by a grey cell border.

MacOS modifier keys:

  • ⌘ : Command
@jothirnadh
jothirnadh / npm.txt
Created April 19, 2016 17:52 — forked from tmcw/npm.txt
npm is a package manager. it's a website that keeps a big catalog of software
that can be installed by anyone.
some of that software you use directly, but other software you use as parts.
software you use directly:
"bin"
software you use as a dependency:
@jothirnadh
jothirnadh / overpass.md
Created March 10, 2016 11:28 — forked from planemad/overpass.md
Uploading OSM data to Mapbox using an overpass query

If you have been playing around with the new Mapbox Studio you might be interested to know how to make a custom map with objects of your own interest from OpenStreetMap.

To make the process of creating an updating an OSM based dataset on Mapbox more seamless, I was looking into a command line based workflow that could extract OSM data from Overpass and update a Mapbox hosted dataset in one go.

Requirements

Generate an Overpass Query

  • Use Overpass Turbo to create a query for the data you are interested in extracting. Since i'm interested in bus stops, I first browse the map to Bengaluru, India and then generate a query using the wizard query highway=bus_stop
@jothirnadh
jothirnadh / mapping roads.md
Created February 24, 2016 12:39 — forked from Andygol/mapping roads.md
Complete mapping of a road

Mapping roads for navigational purpose

Roads

Roads are the main map features that we use for rendering navigational applications. Accurate roads representation leads not only to the well-looking map but also to a more precise navigation.

For now, most common approach for road mapping is to trace roads following their centroid. This way of tracing looks good for 2-lanes roads like unclassified and residential roads or for tracing over low-res imagery.

road_with_two_lanes

What is a Way