diff --git a/GetNRBuildingsData.py b/GetNRBuildingsData.py index a287a6b..653b1b2 100644 --- a/GetNRBuildingsData.py +++ b/GetNRBuildingsData.py @@ -17,9 +17,9 @@ import aiohttp # 填完整 WFS URL(包含 ak、sig 等参数);原 CQL_FILTER 会自动替换。 # 请粘贴纯 URL,不含 curl、CMD 的 ^ 转义或 Markdown 链接外壳。 -URL = "" +URL = "https://nqi.gmcc.net:20443/pro-gis-tenant/gmcc-wyzc/prod-api/api/HRvjYUm1/wfs?maxFeatures=1000&SERVICE=Wfs&VERSION=&REQUEST=Getfeature&outputFormat=application/json&SRS=EPSG:4326&STYLES=&ak=1e395dc741b64ce1913cf411e6c08384&sig=989d5fc58732f12e727caeaa3bc06fd5&CQL_FILTER=INTERSECTS(the_geom,SRID=4326;point(112.84506276029482%2022.794633899549254))" # 填完整 Cookie 头内容,例如 CASTGC=...;不要加 Cookie: 前缀。 -COOKIES = "" +COOKIES = "CASTGC=TGT-1071858-toWWSoGzu8ASDB-dF69kh7rTnxZHt1nWd45MsLeTt0lHrzWC8n8Hwz3BjZjGRcIxbRkmas-auth-center-7d87cd5c9d-xd94d" REFERER = "https://nqi.gmcc.net:20443/pro-problem-warehouse-web/" INPUT_CSV = Path(__file__).resolve().parent / "source" / "NRBuildingsPoint.csv" OUTPUT_CSV = Path(__file__).resolve().parent / "output" / "NRBuildingsData.csv"