Return points from gis_pipe
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user