Created
May 8, 2015 14:29
-
-
Save geobabbler/25297ca5dd4e9bd5388f to your computer and use it in GitHub Desktop.
OGR export example for blog post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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