Skip to content

Instantly share code, notes, and snippets.

@scruss
Created October 22, 2016 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scruss/5a3f469c47df5d27fdba28258c273b45 to your computer and use it in GitHub Desktop.
Save scruss/5a3f469c47df5d27fdba28258c273b45 to your computer and use it in GitHub Desktop.
Sample house outlines converted from Ottawa open data
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@scruss
Copy link
Author

scruss commented Oct 22, 2016

see notes for background: https://gist.github.com/scruss/e7f85da2e7943cb1a1d13772fbe144d3#file-ottawabfomapdata-md

OGR makes this so easy:

ogr2ogr -f GeoJSON -s_srs epsg:2951 -t_srs epsg:4326 -dialect SQLite -sql "select * from entities where LAYER='house'" glebe-houses-4326.geojson 368029.dxf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment