-
-
Save jqtrde/73cdade64af4e1c85f14 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
psql DBNAME -c "\\copy (SELECT ST_AsGeoJson(ST_Union(the_geom)) FROM TABLENAME) to '/PATH/TO/YOUR/DESIRED/FILE.geojson'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment