Skip to content

Instantly share code, notes, and snippets.

View aawiseman's full-sized avatar

Andrew Wiseman aawiseman

View GitHub Profile

##State of the Map US, Birds of a Feather session notes

by Andrew Wiseman

Basically, nobody had an easy or good way to bring in OSM data into ArcGIS or QGIS as shapefiles. Some folks discussed using PostGIS, while others use various websites like Bbbike.org, Geofabrik.de, and others. Andrew suggested his workflow using JOSM and the QGIS OpenStreetMap Plugin.

Andrew has updated the Wiki page -- everybody else should too! Mainly Andrew added the limitations of what each site does and what you'll get from them all, since some are not as updated as others, and some only work for certain areas or certain tags.

@aawiseman
aawiseman / Overpass-Turbo query for edits after a certain date
Last active August 29, 2015 14:14 — forked from skorasaurus/gist:0532dfc4895d9097666d
Overpass-Turbo code to collect edits since a certain date
#
Simply modify the three following strings for node, ways and relations
newer than="2013-05-28T00:00:00Z
This script is for statistics. For example, it does not extract all nodes from a way if only one node is modified, since the way object and other nodes are not affected.
If you want only the nodes, you only keep the first section of the script where the nodes are extracted.
The polygon-query bounds is to clip the CAP103 area, extracting info only for this area.
[out:json][timeout:25];
// gather results
(
// query part for: “newer:"2015-10-09T19:01:00Z"”
node(newer:"2015-10-09T19:01:00Z")({{bbox}});
way(newer:"2015-10-09T19:01:00Z")({{bbox}});
area(newer:"2015-10-09T19:01:00Z")({{bbox}});
relation(newer:"2015-10-09T19:01:00Z")({{bbox}});
);
// print results
Hi, my name is Andrew Wiseman and I'm one of the organizers of MaptimeDC, the DC chapter of Maptime (http://maptime.io), a nonprofit that aims to teach anyone, regardless of skill level, about maps and mapping tools & techniques. MaptimeDC is free and we meet monthly, usually at the MLK Library downtown, and we've done tutorials on all kinds of things -- web mapping, cartography, hand-drawn maps, DC Government's open data, mapping for humanitarian and disaster response, OpenStreetMap, basic Geographic Information Systems (GIS) software, and a lot more.
I was wondering if you'd like to talk to us and write an article for the Hilltop about the group, I think it would be a great way for Howard students and the community to learn new skills, meet others who are interested in mapping and who work in the field, and have fun too.
Maptime is a nonprofit with almost 100 chapters around the world, and we formed the DC chapter about a year and a half ago. We've had about 20 events so far, and our goal is to bring in
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.17.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.17.0/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
[out:json][timeout:25];
// gather results
(
// query part for: “newer:"2015-10-09T19:01:00Z"”
node(newer:"2015-10-09T19:01:00Z")({{bbox}});
way(newer:"2015-10-09T19:01:00Z")({{bbox}});
area(newer:"2015-10-09T19:01:00Z")({{bbox}});
relation(newer:"2015-10-09T19:01:00Z")({{bbox}});
);
// print results
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“newer:"2016-07-14T19:01:00Z" and building=*”
*/
[out:json][timeout:25];
// gather results
(
// query part for: “newer:"2016-07-14T19:01:00Z" and building=*”
node(newer:"2016-07-14T19:01:00Z")["building"]({{bbox}});
(
node(poly:"50.7 7.1 50.7 7.12 50.71 7.11");
<;
);
out meta;
/*
This has been generated by the overpass-turbo wizard.
The original search was:
"amenity=schools in Lebanon"
*/
[out:json][timeout:25];
// fetch area "Lebanon" to search in
{{geocodeArea:Lebanon}}->.SafyArea;
// gather results
(
[out:json][timeout:25];
// gather results
(
// query part for: “newer:"2015-10-09T19:01:00Z"”
node._(changed:"2016-06-28T10:01:00Z","2016-06-28T13:01:00Z")({{bbox}});
way._(changed:"2016-06-28T10:01:00Z","2016-06-28T12:01:00Z")({{bbox}});
area._(changed:"2016-06-28T10:01:00Z","2016-06-28T12:01:00Z")({{bbox}});
relation._(changed:"2016-06-28T10:01:00Z","2016-06-28T12:01:00Z")({{bbox}});
);
// print results