Skip to content

Instantly share code, notes, and snippets.

View geomantic's full-sized avatar
💭
Working from the 99th floor of the GeomanticLabs world headquarters

Steven Johnson geomantic

💭
Working from the 99th floor of the GeomanticLabs world headquarters
View GitHub Profile
@geomantic
geomantic / OverpassTurbo_byDate
Last active June 28, 2019 13:47
Finding data by date using Overpass Turbo
[out:json][timeout:25];
// gather results
(
// query part for: “newer:"2017-05-22T00:01:00Z"”
node(newer:"2019-01-01T00:01:00Z")({{bbox}});
way(newer:"2019-01-01T00:01:00Z")({{bbox}});
);
// print results
out body;
>;
[out:json][timeout:25];
// gather results
(
// query part for: “userid:"xxx”
node(user:"SaintLucia")({{bbox}});
way(user:"SaintLucia")({{bbox}});
area(user:"SaintLucia")({{bbox}});
relation(user:"SaintLucia")({{bbox}});
);
// print results
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“highway=motorway_junction”
Cribbed from Jinal Foflia, https://mail.google.com/mail/u/0/#inbox/1547604887901ecc
*/
[out:json][timeout:225];
(
@geomantic
geomantic / Charter_TeachOSM_WG.md
Last active June 23, 2016 15:30
DRAFT charter for TeachOSM Working Group

Charter for TeachOSM Project

Revision History

Version Date Author Change
1.0 13 May 2016 SEJ Initial version
[out:json][timeout:25];
{{geocodeArea:Arlington Virginia}}->.searchArea;
(
way["highway"~"primary$|secondary$"]["sidewalk"!~".+"](area.searchArea);
);
out body;
>;
out skel qt;

Strategy: Distill the TeachOSM program down to its essential elements:

  • To provide comprehensive teacher training in incorporating open mapping in project-based learning experiences.
  • Real-life training
  • Focus on APHG has vehicle for advancing program?

Actions:

  • Use TeachOSM Twitter account to publicize mapping jobs for Map4America.
  • Creating jobs on TeachOSM Tasking Mgr specifically for new mappers.

Keybase proof

I hereby claim:

  • I am geomantic on github.
  • I am sejohnson (https://keybase.io/sejohnson) on keybase.
  • I have a public key ASAq0AHpiaQpKPhCKVN9CW2nGTpY54SIr53xTl60eGZlKgo

To claim this, I am signing this object:

@geomantic
geomantic / FindGoogleSources
Created July 16, 2018 19:39
Find OSM objects w/ Google source tags
(
node["source"="Google"]({{bbox}});
node["source"="Google Maps"]({{bbox}});
node["source"="google"]({{bbox}});
node["source"="google maps"]({{bbox}});
node["source"="Google maps"]({{bbox}});
way["source"="Google"]({{bbox}});
way["source"="Google Maps"]({{bbox}});
way["source"="google"]({{bbox}});
way["source"="google maps"]({{bbox}});
@geomantic
geomantic / noAddresses.oql
Last active July 22, 2018 23:49
FindNoAddresses_OverpassTurbo
// collect all business nodes in a named set 'poi'
(
// amenity nodes
nwr[amenity][amenity~"restaurant|post_office|bar|cafe|pub|fast_food|biergarten|ice_cream|pharmacy|bank|school|place_of_worship|library|fuel|clinic|dentist|doctors|fire_station"]({{bbox}});
// tourism nodes
nwr[tourism][tourism~"museum|office|apartment|hotel|motel|hostel"]({{bbox}});
// shop nodes
nwr[shop]({{bbox}});
)->.businesses;
@geomantic
geomantic / FindPublicBldgs_noAddr
Created August 3, 2018 17:14
Find all public buildings
// Function finds all publicly-owned buildings without street addresses
// collect all business nodes in a named set 'poi'
(
// building nodes
nwr[building][building~"school|civic|government|hospital|stadium|train_station|school|public|fire_station"]({{bbox}});
// office nodes
nwr[office][office~"government"]({{bbox}});
// military nodes
nwr[military]({{bbox}});
)->.publicbldgs;