Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
OGR export example for blog post
ogr2ogr -f "GeoJSON" statistics_%2_%1.geojson PG:"host=localhost user=wombat dbname=geo2 password=sufficiently_complex_password" -sql "SELECT * FROM vw_geojson_statistics_ytd WHERE year = 2015"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment