aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-10-07 12:46:01 +1100
committerYuchen Pei <id@ypei.org>2023-10-07 12:46:01 +1100
commit928dc289a99f8bea5314ac29e857ab648f71e8cf (patch)
tree7b34ac0e4d1a13c1f326be564a04b922313d5d3f /Makefile
parent6973b0fc996ef0fea6cab1dbc1a89d7972e68270 (diff)
parent0e92206b7980b2de40cfb1c3186106b0afbca668 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 2d46284..92f716e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,9 @@
-# download VicMap source data
-# the URL here usually gets manually updated weekly though no guarantees
-# it's a mirror of the upstream VICMAP data with split shp files reduced to a single shp file
+# download Vicmap Address source data
data/VICMAP_ADDRESS.zip:
mkdir -p data
wget --no-verbose --output-document=$@ https://s3-ap-southeast-2.amazonaws.com/cl-isd-prd-datashare-s3-delivery/Order_BGJ5MV.zip
-# cadastre used for debugging
+# download Vicmap Property cadastre (only used for debugging)
data/VICMAP_PROPERTY.zip:
mkdir -p data
wget --no-verbose --output-document=$@ https://s3-ap-southeast-2.amazonaws.com/cl-isd-prd-datashare-s3-delivery/Order_OTL5B2.zip
@@ -22,10 +20,10 @@ data/vicmap/ll_gda2020/filegdb/whole_of_dataset/victoria/VMPROP.gdb: data/VICMAP
touch --no-create $@
data/vicmap-property.fgb: data/vicmap/ll_gda2020/filegdb/whole_of_dataset/victoria/VMPROP.gdb
- ogr2ogr -f FlatGeobuf -t_srs 'EPSG:4236' -nlt PROMOTE_TO_MULTI $@ $< PARCEL_VIEW
+ ogr2ogr -f FlatGeobuf -t_srs 'EPSG:4326' -nlt PROMOTE_TO_MULTI $@ $< PARCEL_VIEW
data/vicmap.geojson:
- ogr2ogr -f GeoJSONSeq -t_srs 'EPSG:4236' -mapFieldType DateTime=String $@ data/vicmap/ll_gda2020/filegdb/whole_of_dataset/victoria/VICMAP_ADDRESS.gdb
+ ogr2ogr -f GeoJSONSeq -t_srs 'EPSG:4326' -mapFieldType DateTime=String $@ data/vicmap/ll_gda2020/filegdb/whole_of_dataset/victoria/VICMAP_ADDRESS.gdb
wc -l $@
# used for quick debugging