Skip to content

Instantly share code, notes, and snippets.

View govvin's full-sized avatar

거윈 | Win govvin

View GitHub Profile
@nmxcgeo
nmxcgeo / Notes
Last active September 8, 2020 02:58
Convert Openstreetmap Geojson to CSV for https://github.com/rkistner/chinese-postman
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}});
@govvin
govvin / otq_contributors_given_aoi.txt
Last active May 14, 2018 03:11
Overpass Turbo Query: Find contributors within an AOI, within a certain date range
/*
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]
@govvin
govvin / otq_maps.me_cleanup_streets_as_tourism
Created April 8, 2017 23:36
Overpass Turbo query to collect all nodes tagged as tourism=viewpoint OR tourism=attraction OR tourism=artwork with "street" or "st." in their names
/*
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);
@govvin
govvin / otq_barangay_townhalls.txt
Created March 4, 2017 02:38
Barangay Halls in San Juan, Metro Manila
/*
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
(
@jojorb
jojorb / index.html
Last active October 9, 2016 04:10
Mapbox GL JS Map with Mapillary Request
<!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>
@davidventuri
davidventuri / report.md
Created June 20, 2016 16:13
Toronto OpenStreetMap Data Case Study
@govvin
govvin / overpass_turbo_tiles.md
Last active March 26, 2021 23:39
URIs of tiles that work with Overpass Turbo

#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:

  • Humanitarian: //{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png
  • Mapnik, Grayscale: //tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png
  • Thunderforest
@govvin
govvin / otq_manila_fire_brigades.md
Created May 9, 2016 07:26
Overpass Turbo query to gather fire stations, volunteer fire brigades, and fire hydrants in Manila.
/*
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.

bangalore Bangalore

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