-
-
Save davo/f1014c040ed82524b793 to your computer and use it in GitHub Desktop.
Parcelario CABA, GeoJSON a TopoJSON
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
# Requiere GDAL y TopoJSON | |
# brew install gdal | |
# npm install -g topojson | |
all: \ | |
parcelario-topojson.json | |
parcelario.zip: | |
curl -o parcelario.zip 'https://recursos-data.buenosaires.gob.ar/ckan2/parcelas/parcelas.zip' | |
mo_parcelascatastro_100112.shp: parcelario.zip | |
unzip parcelario.zip | |
touch mo_parcelascatastro_100112.shp | |
parcelario.json: mo_parcelascatastro_100112.shp | |
ogr2ogr -t_srs EPSG:4326 -f GeoJSON parcelario.json mo_parcelascatastro_100112.shp | |
parcelario-topojson.json: parcelario.json | |
topojson -o parcelario-topojson.json parcelario.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment