Return points from gis_pipe

This commit is contained in:
DingZQ
2025-04-26 23:49:30 +08:00
parent 01be4ce1c4
commit b8dcec9349

View File

@@ -75,8 +75,7 @@ def get_pipe_risk_probability_geometries(name: str) -> dict[str, Any]:
geom = json.loads(record[key_geometry])
pipe_risk_probability_geometries[id] = {
'start': geom['coordinates'][0],
'end': geom['coordinates'][1]
'points': geom['coordinates']
}
for col in record: