Refine
This commit is contained in:
@@ -67,6 +67,8 @@ def get_pipe_risk_probability_geometries(name: str) -> dict[str, Any]:
|
|||||||
for record in cur:
|
for record in cur:
|
||||||
id = record[key_pipeId]
|
id = record[key_pipeId]
|
||||||
geom = record[key_geometry]
|
geom = record[key_geometry]
|
||||||
|
print(geom)
|
||||||
|
print(geom['coordinates'])
|
||||||
|
|
||||||
pipe_risk_probability_geometries[id] = {
|
pipe_risk_probability_geometries[id] = {
|
||||||
'start': geom['coordinates'][0],
|
'start': geom['coordinates'][0],
|
||||||
|
|||||||
Reference in New Issue
Block a user