up lat lon

This commit is contained in:
Tykayn 2024-10-17 18:21:55 +02:00 committed by tykayn
parent 1ff6935153
commit 78c7ae4e46
2 changed files with 530 additions and 77 deletions

File diff suppressed because it is too large Load Diff

View File

@ -39,7 +39,10 @@ for article in articles:
"adresse": adresse, "adresse": adresse,
"telephone": telephone "telephone": telephone
}, },
"geometry": geometry.__geo_interface__ "geometry":{
"coordinates": [latitude,longitude],
"type":"Point"
}
} }
antennes.append(antenne) antennes.append(antenne)
@ -48,4 +51,4 @@ for article in articles:
gdf = gpd.GeoDataFrame(antennes) gdf = gpd.GeoDataFrame(antennes)
# Exporter le GeoDataFrame au format GeoJSON # Exporter le GeoDataFrame au format GeoJSON
gdf.to_file("antennes_planning_familial.geojson", driver="GeoJSON") gdf.to_file("antennes_planning_familial.json", driver="GeoJSON")