// Workers AI · dad joke modeWhat did Mungbere say to its date? Bean there.
Mungbere | |
|---|---|
| Coordinates: 2°37′36″N 28°30′20″E / 2.62667°N 28.50556°E | |
| Country | Democratic Republic of the Congo |
| Province | Haut-Uele |
| Territory | Watsa |
| Chiefdom | Andobi |
| Climate | Aw |
Mungbere is a small town in Haut-Uele province, in the north of the Democratic Republic of Congo.
Transport
[edit]It was served by the terminal of a now non-operational 600 mm (1 ft 11+5⁄8 in) narrow gauge railway from Bumba, known as the Vicicongo line.
See also
[edit]References
[edit]External links
[edit]
MungbereMap/ │ ├── main.py ├── data/ │ ├── villages.geojson │ ├── localites.geojson │ ├── groupements.geojson │ ├── rivieres.geojson │ └── routes.geojson ├── images/ └── output/ import folium import geopandas as gpd
- Coordonnées approximatives du centre de Mungbere
latitude = 2.63 longitude = 30.67
- Création de la carte
carte = folium.Map(
location=[latitude, longitude], zoom_start=12, tiles="OpenStreetMap"
)
- -----------------------------
- Fonction d'ajout d'une couche
- -----------------------------
def ajouter_couche(fichier, nom, couleur):
try:
gdf = gpd.read_file(fichier)
folium.GeoJson(
gdf,
name=nom,
style_function=lambda x: {
"fillColor": couleur,
"color": couleur,
"weight": 2,
"fillOpacity": 0.2
}
).add_to(carte)
except Exception as e:
print(f"Erreur : {nom}")
print(e)
- -----------------------------
- Chargement des couches
- -----------------------------
ajouter_couche("data/villages.geojson",
"Villages",
"blue")
ajouter_couche("data/localites.geojson",
"Localités",
"green")
ajouter_couche("data/groupements.geojson",
"Groupements",
"orange")
ajouter_couche("data/rivieres.geojson",
"Rivières",
"cyan")
ajouter_couche("data/routes.geojson",
"Routes",
"black")
- Contrôle des couches
folium.LayerControl().add_to(carte)
- Sauvegarde
carte.save("output/Mungbere.html")
print("Carte créée avec succès.")
{ "type":"FeatureCollection",
"features":[
{ "type":"Feature",
"properties":{ "Nom":"Mungbere Centre" },
"geometry":{ "type":"Point",
"coordinates":[30.670,2.630]
} },
{ "type":"Feature",
"properties":{ "Nom":"Village A" },
"geometry":{ "type":"Point",
"coordinates":[30.690,2.650]
} }
]
}