Skip to content

Instantly share code, notes, and snippets.

View govvin's full-sized avatar

거윈 | Win govvin

View GitHub Profile
@govvin
govvin / osmph_offerings.md
Last active November 1, 2015 02:14
OpenStreetMap PH Public Offerings

OSM-PH topic outline for lightning talks, quickies, workshop, and conferences.

Introduction

Overview

OpenStreetMap (www.openstreetmap.org) is a worldwide project which aims to create and share geospatial information to anyone who wants them. The project was started because most maps you think of as free actually have legal or technical restrictions on their use, holding back people from using them in creative, productive or unexpected ways.

More and more people are contributing and using the data in various ways. Local government units and other government agencies are encouraged to use and update the data so that the public may benefit from the shared information particularly for disaster risk reduction.

@govvin
govvin / mapathon_cheat_sheet.md
Last active November 11, 2015 10:23
Mapathon cheat sheet

OpenStreetMap (OSM) Mapathon

A sample activity outline for quickie workshops and mapathons

Schedule

Duration Topic Activity c/o Notes
00:30 Registration & Setup
00:15 Welcome Remarks Presentation Host
@govvin
govvin / overpass.geojson
Created December 24, 2015 06:29 — forked from anonymous/overpass.geojson
data exported by overpass turbo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@govvin
govvin / taf_3rd_crid_edits.geojson
Created January 20, 2016 06:23
OpenStreetMap edits during the 3rd CR+ID Industry Mapping Workshop, Y Hotel, Butuan City, Caraga, PH
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@govvin
govvin / mapathon_20160123_usembassy.geojson
Last active January 25, 2016 02:35 — forked from anonymous/overpass.geojson
#manilaMapathon edits held at the American Embassy, 2016-01-23. Organized by mapPHL, with OSMph. Source: http://overpass-turbo.eu/s/dXs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@govvin
govvin / gtq_all_buildings.md
Last active March 1, 2016 14:12
Overpass Turbo Query all buildings within a given area

#Overpass Turbo Query Query all buildings within a named area. A polygon is required.

[out:xml];
{{AOI="San Juan"}}


(
 area["name"={{AOI}}];
@govvin
govvin / otq_buildings_by_province.md
Created March 3, 2016 04:41
Count all buildings within a province

#Overpass Turbo Query Count all buildings within a province.

See: http://overpass-turbo.eu/s/eKL

/*count buildings by province*/

[out:csv(::"type",::"id", name, admin_level,::"count")];
@govvin
govvin / otq_area_mappers.md
Created March 8, 2016 03:03
mappers around a certain geographic coordinate
/**/
[out:csv(::user, ::uid)]
//[out:json][timeout:25]
[diff:"2016-02-22T00:00:00+8","2016-03-06T23:59:59+8"];

// adjust the search radius (in meters) here
{{radius=3000}}
@govvin
govvin / otq_mapathon_edits.md
Last active March 10, 2016 01:37
Mapathon edits

Useful query for mapathon edits.

Original query: http://overpass-turbo.eu/s/eTp

/*
Overpass Turbo Query for edits made during mapathons, and similar activities.

*/
@govvin
govvin / otq_ql_manila_districts.txt
Created May 11, 2016 06:27
query Overpass Turbo for all districts of the city of Manila
[out:json];
area[name~"Manila"]["admin_level"=6]->.a;
rel["admin_level"=7](area.a);
out geom;
{{style:
node {
width: 0;
opacity:0;
fill-opacity:0;