From 8e30162c1391b6c477126653b88af5bc0e6f473f Mon Sep 17 00:00:00 2001 From: Yingting Chen Date: Fri, 6 Dec 2024 15:55:36 +1300 Subject: [PATCH] feat: coastline and island - update coordinate system to 2193 --- buildings/reference_data/topo50.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildings/reference_data/topo50.py b/buildings/reference_data/topo50.py index 49b79be1..c8ba860e 100644 --- a/buildings/reference_data/topo50.py +++ b/buildings/reference_data/topo50.py @@ -230,7 +230,7 @@ def update_coastlines_and_islands(kx_api_key, dataset, dbconn): if dataset != "coastlines_and_islands": return "error" layer = QgsVectorLayer( - "https://data.linz.govt.nz/services;key={1}/wfs?service=WFS&version=2.0.0&request=GetFeature&typeNames=layer-{0}&outputFormat=json".format( + "https://data.linz.govt.nz/services;key={1}/wfs?service=WFS&version=2.0.0&request=GetFeature&typeNames=layer-{0}&SRSName=EPSG:2193&outputFormat=json".format( LDS_LAYER_IDS[dataset], kx_api_key ) )