A web application for matching French National Building Registry (RNB) data with OpenStreetMap buildings and generating OSM files with RNB tags.
This tool helps update OpenStreetMap data with official French building data by:
- Matching RNB buildings with existing OSM buildings
- Generating OSM XML files with RNB tags for reliable matches
- Providing a web interface to select cities and export data
- Create a
.envfile with database credentials:
POSTGRES_USER=your_user
POSTGRES_PASSWORD=your_password
POSTGRES_DB=rnb_osm- Launch the application:
docker-compose up- Access the web interface at http://localhost:5000
- Install dependencies:
pip install -r requirements.txt-
Set up PostgreSQL with PostGIS extension
-
Configure environment variables and run:
python run.py run- Visit http://localhost:5000
- Select a department and city
- Click "Exporter" to download the OSM file with RNB tags
- Python 3.13+
- PostgreSQL with PostGIS
- Docker (optional)