Created
March 11, 2015 16:34
-
-
Save aaronr/a411f9e23650b4c1e2b3 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
aaronr@linode:~$ ogr2ogr -f "GeoJSON" /vsistdout/ PG:dbname=test ne_admin_bounds -where "name = 'United States'" | mapfart | |
http://mapfart.com/fart_LgkZaj | |
aaronr@linode:~$ ogr2ogr -f "GeoJSON" /vsistdout/ PG:dbname=test ne_admin_bounds -where "name = 'United States'" | gj2ascii | |
Usage: gj2ascii [OPTIONS] INFILE [OUTFILE] | |
Error: Missing argument "infile". | |
aaronr@linode:~$ ogr2ogr -f "GeoJSON" /vsistdout/ PG:dbname=test ne_admin_bounds -where "name = 'United States'" > tmp.geojson | |
aaronr@linode:~$ gj2ascii tmp.geojson | |
FID: 0 | |
Min X: -171.791110603 | |
Max X: -66.96466 | |
Min Y: 18.91619 | |
Max Y: 71.3577635769 | |
+ + + + + + + | |
+ + + + + + + + + | |
+ + + + + + + + + + | |
+ + + + + + + + + + | |
+ + + + | |
+ | |
+ + + + + + + + + + + + + + + + | |
+ + + + + + + + + + + + + + + + + + + | |
+ + + + + + + + + + + + + + + + + + + + | |
+ + + + + + + + + + + + + + + + + + + | |
+ + + + + + + + + + + + + + + + + + | |
+ + + + + + + + + + + + + + | |
+ + + + + + + + + | |
+ + + | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment