Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add flag for auto SHP creation #10

Open
nvkelso opened this issue Sep 28, 2011 · 1 comment
Open

add flag for auto SHP creation #10

nvkelso opened this issue Sep 28, 2011 · 1 comment
Labels

Comments

@nvkelso
Copy link
Collaborator

nvkelso commented Sep 28, 2011

GeoJSON is nice, but SHP is more portable.

If ogr2ogr is present:

Note: ogr2ogr won't replace an existing file, so remove them, and in the clean make sure that dir exists

rm -f shp/z2-labels.* shp/z2-points.*
ogr2ogr -f "ESRI Shapefile" shp/z2-labels.shp geojson/z2-labels.json
ogr2ogr -f "ESRI Shapefile" shp/z2-points.shp geojson/z2-points.json

In the general Makefile,

clean:
mkdir -p shp

@nvkelso
Copy link
Collaborator Author

nvkelso commented Nov 7, 2011

with the -overwrite flag on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant