--- title: 楼宇查询改为轮廓 WKT 内部点 type: fact permalink: main/projects/8e229c96-a83b-4a02-ac40-10a0a9da444e/楼宇查询改为轮廓-wkt-内部点 stable_id: 32425949-118b-40d5-a40f-aa91a88af288 scope: project memory_type: fact project_id: 8e229c96-a83b-4a02-ac40-10a0a9da444e usage_profile_id: 7aee455b-24cc-4008-bdaf-443721e6f939 status: active revision: 1 request_id: fact-buildings-polygon-interior-point created_at: '2026-09-17T01:23:10.773046+00:00' updated_at: '2026-09-17T01:23:10.773046+00:00' tags: - buildings - wkt - polylabel --- 楼宇查询输入改为 source/NRBuildPolygon.csv(UTF-8 BOM,列 WKT + building_id,435327 行,全部 MULTIPOLYGON,含 1966 个重复 building_id)。查询点用 shapely polylabel(面积最大部件,tolerance=外包框最长边/100),within 校验失败回退 representative_point;不用质心/外包框中心(前 2 万条中质心落外 210 条)。全量校验 0 无效 0 落外,约 0.25ms/条。输出新增“输入行号”列,状态“轮廓无效”替代“坐标无效”。requirements-nr-buildings.txt 增加 shapely==2.1.2。旧 source/NRBuildingsPoint.csv 已删除。