Skip to content

Instantly share code, notes, and snippets.

View jothirnadh's full-sized avatar

Jothirnadh Sai Guthula jothirnadh

View GitHub Profile
@jothirnadh
jothirnadh / Basics of GPS and GNSS.md
Last active August 18, 2018 06:04
Show and Tell about GPS and GNSS

Let's have an overview of Basics of Remote Sensing

History of GPS (Global Positioning System)

  • Started by US military in 1973
  • Three main objective: 1. Determining position, speed and time, whether in motion or at rest. 2. Contineous global 3 dimentional position irrespective to weather. 3. Useful for civilian needs

screen shot 2015-10-15 at 8 27 51 am

@jothirnadh
jothirnadh / mapping roads.md
Last active February 24, 2016 08:57
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:

A Way in OSM represents road as a complex feature. First of all, it is a line that represents an object (road), which covers a specific area on the ground. In order to show the shape and contours of the road we may to draw a polygon and mark it accordingly. (See area:highway=*, [description](http://wiki.openstreetmap.org/wiki/Proposed_features/Stree

@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

@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 / 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:

Run the following code to extract the turn lane stats for every day.

We just need to change the dates and way attribute to turn:lanes, turn:lanes:forward and turn:lanes:backward to get individual stats in the following code.

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“turn:lanes”
*/

(Click to see slippy map)

  • More zoomed-in screenshots of multiple road types:* [ ] 1. Jothi is good
    1. Jothi is bad
    1. Jothi don't know
@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