-
-
Save keum/8190635 to your computer and use it in GitHub Desktop.
How To: Gdal using ogr for geojson
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
Install gdal http://giscollective.org/installing-gdal-mac/ | |
use github http://www.thinkful.com/learn/a-guide-to-using-github-pages/start/existing-project/user-page/ | |
git add . | |
551 git commit -a -m "testing GeoJSON format" | |
552 git config --global user.name "mccombsp-kingco" | |
553 git config --global user.emal [email protected] | |
554 git commit --amend --reset-author | |
555 git push | |
ogrinfo -al -so facility.shp | |
ogr2ogr -t_srs EPSG:4326 ../../../fac_proj.shp facility.shp | |
ogrinfo -al -so fac_proj.shp | |
ogr2ogr -f geoJSON fac_proj.geojson fac_proj.shp | |
os.system("ogrinfo -al -so fac_proj.geojson") | |
s.system("ogr2ogr -t_srs EPSG:4326 newtest.geojson //Users//paulmccombs//kccode//KC_Data//utility_SHP//utility//facility.shp") | |
os.system("ogr2ogr -t_srs EPSG:4326 newtest.shp //Users//paulmccombs//kccode//KC_Data//utility_SHP//utility//facility.shp") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
paul's note on shape2geojson python script description