localgov_france_datagouv_wdc
Adds an "Add to a directory" operation to waste disposal centers
(déchèteries) imported from Data.gouv.fr, turning them into LocalGov directory venues in one click.
The import itself is delegated to the Data.gouv.fr Dataset - Waste Disposal Centers module
Use case
Your municipality wants a page listing the 5–10 waste disposal centers (in French: "déchèteries") near your city.
Install this module, import the
SINOE dataset,
select the relevant centers from the admin listing, and click
"Add to a directory". Each center becomes a directory venue with its address,
GPS coordinates, and phone number already filled in.
The module ships with a ready-made directory channel - "Déchèteries proche de
ma ville" so you can get started immediately.
How it works
- A geo entity is created from the center's address and GPS coordinates.
- A directory venue node is prepopulated with the center's name, phone, and
location. - You review the form and save - the venue is published and appears in the
directory.
Admin pages
Page Path Waste disposal center listing /admin/content/datagouv/wdc Add to a directory (per center) /admin/content/datagouv/wdc/{id}/add-to-directoryThe "Add to a directory" action appears as an operation link on each center
in the listing.
Translation
French translations are included in translations/. All admin labels,
permissions, and status messages are translated.
Dependencies
- Data.gouv.fr Dataset - Waste Disposal Centers
- LocalGov Directories
(venues and locations) - LocalGov Geo (address
entities)