P3: Udacity Data Analyst Nanodegree
Author: David Venturi
Date: June 15, 2016
First try to create GPX-routes for Mapillary drives to cover a whole area: | |
Overpass-Turbo Query: | |
[out:json][timeout:25]; | |
// gather results | |
( | |
way["highway"="residential"]({{bbox}}); | |
way["highway"="unclassified"]({{bbox}}); | |
way["highway"="tertiary"]({{bbox}}); | |
way["highway"="secondary"]({{bbox}}); |
/* | |
Find contributors within an AOI, within | |
a certain date range | |
source: http://overpass-turbo.eu/s/xjo | |
author: https://t.me/GOwin | |
*/ | |
[out:csv(::user, ::uid, ::timestamp)] | |
//[out:json][timeout:25] |
/* | |
This has been generated by the overpass-turbo wizard. | |
The original search was: | |
“(tourism=viewpoint || tourism=attraction || tourism=artwork) && (name ~ /street$/i || name ~ /str[.]/i) && type:node in philippines” | |
*/ | |
[out:json][timeout:250]; | |
// fetch area “philippines” to search in | |
{{geocodeArea:philippines}}->.searchArea; | |
// gather results | |
( |
[timeout:250]; | |
{{geocodeArea:Laguna}}->.searchArea; | |
( | |
node [historic=monument] (area.searchArea); | |
node [historic=memorial] (area.searchArea); | |
way [highway=footway] (area.searchArea); | |
way [landuse=grass] (area.searchArea); | |
way [leisure=park] (area.searchArea); | |
way [leisure=playground] (area.searchArea); | |
way [natural=water] (area.searchArea); |
/* | |
This has been generated by the overpass-turbo wizard. | |
The original search was: | |
“(amenity=townhall && "townhall:type"=village) && (type:node || type:way) || place=village in "San Juan, Metro Manila"” | |
*/ | |
[out:json][timeout:25]; | |
// fetch area “San Juan, Metro Manila” to search in | |
{{geocodeArea:San Juan, Metro Manila}}->.searchArea; | |
// gather results | |
( |
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- OG code: https://gist.github.com/RobyRemzy/d1480060fd9492796b8529b357cb2426 --> | |
<!-- View it: http://bl.ocks.org/RobyRemzy/d1480060fd9492796b8529b357cb2426 --> | |
<meta charset=utf-8 /> | |
<title>Mapbox Gl Js map with Mapillary Requests</title> | |
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
<!-- Loading jquery --> | |
<script type="application/javascript" src="//code.jquery.com/jquery-1.12.0.min.js"></script> |
P3: Udacity Data Analyst Nanodegree
Author: David Venturi
Date: June 15, 2016
#URIs that work with Overpass Turbo Go to Settings > Map and change the URI to your server of choice.
The default is: //{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
The following tile servers also work:
//{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png
//tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png
/*
Query for ALL fire stations and hydrants
//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
//{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png
//tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png
//{s}.tile.stamen.com/toner/{z}/{x}/{y}.png
//toolserver.org/~cmarqu/hill/{z}/{x}/{y}.png
//a.tile2.opencyclemap.org/transport/{z}/{x}/{y}.png
XX - Welcome to the world of OpenStreetMap. Let's start your mapping experience by taking a closer look into your hometown area of Bangalore. You know your hometown better than anyone else, use this knowledge to map the area and your favourite places to show the rest of the world why it is special.
Use your local knowledge of the area to start adding Points of Interest in the city of Bangalore, improving existing data is OpenStreetMap, improving data in university campuses, railway stations and bus stations, important institutions. Look at this Map features OSM wiki to get an idea about what features can be added to OSM
In case of any questions on how and what features to map, please refer to XX