aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-05-05 15:35:58 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-05-05 15:35:58 +1000
commit75e9efa4baca8a0a375b55e2b01ac6c5f59ec395 (patch)
treee6403c00543b8d53613a51d9efcb5cfe01a89d89 /Makefile
parent0d2491f30ca7bed14aef5b6b0be892dfb457be80 (diff)
build vicmap extract for faster development
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c2b8bf3..b967400 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,9 @@ data/vicmap-property.fgb: data/vicmap/ll_gda94/sde_shape/whole/VIC/VMPROP/layer/
data/vicmap.geojson:
ogr2ogr -f GeoJSONSeq $@ data/vicmap/ll_gda94/sde_shape/whole/VIC/VMADD/layer/address.shp
+vicmapExtract:
+ ogr2ogr -f GeoJSONSeq -clipsrc 144.95392 -37.80260 144.97298 -37.79204 data/vicmap.geojson data/vicmap/ll_gda94/sde_shape/whole/VIC/VMADD/layer/address.shp
+
dist/vicmap-osm.geojson: data/vicmap.geojson
./bin/vicmap2osm.js $< $@