Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Mungbere

Mungbere
Mungbere is located in Democratic Republic of the Congo
Mungbere
Mungbere
Location in Democratic Republic of the Congo
Coordinates: 2°37′36″N 28°30′20″E / 2.62667°N 28.50556°E / 2.62667; 28.50556
CountryDemocratic Republic of the Congo
ProvinceHaut-Uele
TerritoryWatsa
ChiefdomAndobi
ClimateAw

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+58 in) narrow gauge railway from Bumba, known as the Vicicongo line.

See also

[edit]

References

[edit]
[edit]


MungbereMap/ │ ├── main.py ├── data/ │ ├── villages.geojson │ ├── localites.geojson │ ├── groupements.geojson │ ├── rivieres.geojson │ └── routes.geojson ├── images/ └── output/ import folium import geopandas as gpd

  1. Coordonnées approximatives du centre de Mungbere

latitude = 2.63 longitude = 30.67

  1. Création de la carte

carte = folium.Map(

   location=[latitude, longitude],
   zoom_start=12,
   tiles="OpenStreetMap"

)

  1. -----------------------------
  2. Fonction d'ajout d'une couche
  3. -----------------------------

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)
  1. -----------------------------
  2. Chargement des couches
  3. -----------------------------

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")
  1. Contrôle des couches

folium.LayerControl().add_to(carte)

  1. 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]

} }

]

}