- DC Data Engineering Meetup: Open Geodata Workshop
- bit.ly/dc-data-3
- OpenStreetMap www.osm.org
- OpenStreetMap Data
- Building an upto date OSM data mirror
- OSM data primitives
- Geometry:Node
- Geometry:Way
- Geometry:Relation
- Metadata:Tags
- :Example
- OSM feature layer: Places
- Data editing
- Popular editors:
- Query some data using tags
Lets process some map data
- 1. Get the data
- OSM API
- 2. Filter
- OSMOSIS
- Filter an osm file using tags
- Other tools:
- OSMCONVERT
- OSMIUM
- 3. Transform
- OGR2OGR
- Use the ogrinfo tool to inspect the data
- Extract the lines from the filtered osm file as a geojson
- QGIS Desktop GIS
- 4. Load and visualize
- Kepler.gl Online spatial data visualization engine
- Mapbox Studio Online map data hosting and map designer
- PostGIS spatial postgres database
- 5. Build spatial applications in the browser
- turf.js
- mapbox-gl.js
- Examples apps
Loading...
bit.ly/dc-data-3
OpenStreetMap www.osm.org
OpenStreetMap Data 📦
OSM data primitives
Geometry:Node
Geometry:Way
Geometry:Relation
Metadata:Tags
:Example
OSM feature layer: Places
Data editing
Popular editors:
Query some data using tags
⚙️ Lets process some map data ⚙️
1. Get the data
OSM API
2. Filter
OSMOSIS
osmosis --read-xml map.osm \
--tf accept-ways 'highway=*' \
--write-xml highway.osm
Other tools:
OSMCONVERT
OSMIUM
3. Transform
OGR2OGR
ogrinfo map.osm
ogrinfo map.osm lines
ogr2ogr -f GeoJSON highway-lines.geojson highway.osm \
-dialect sqlite -sql "SELECT * from lines"
QGIS Desktop GIS
4. Load and visualize
Kepler.gl Online spatial data visualization engine
Mapbox Studio Online map data hosting and map designer
PostGIS spatial postgres database
5. Build spatial applications in the browser
turf.js
mapbox-gl.js
Examples apps