- josm-custom.jar: patched JOSM (fix #14666, highlights
wall=no
, allow unglueing multiple nodes at once) - josm-init.jos: automatically opens Strava and BDOrtho IGN on JOSM startup
- plugins: patched plugins for a better conflation workflow
- todo.jar: add "Mark as selected" button and multilayers support
- conflation.jar: zoom on problem if any
- desktop: better desktop integration
- josm-mime.xml: mime types (.jos, .joz, .osm) to be opened with JOSM
- icons
- josm.desktop.in: JOSM desktop entry
- tools
- osm-cadastre-generate-import.sh: generate buildings from cadastre for given cities
- osm-cadastre-stats.sh: number of buildings imported per year for given cities
- osm-cadastre-umap-csv2geojson.py: convert CSV to GeoJSON format so that it can be used on UMap for instance
Installation de JOSM et des plugins patchés :
mkdir -p $HOME/.local/share/{applications,mime/packages,icons,JOSM/plugins}
sed "s|PWD|$PWD|g" desktop/josm.desktop.in > $HOME/.local/share/applications/josm.desktop
ln -sr desktop/josm-mime.xml $HOME/.local/share/mime/packages
ln -sr desktop/icons/* $HOME/.local/share/icons
update-mime-database $HOME/.local/share/mime
ln -srf plugins/* $HOME/.local/share/JOSM/plugins
Supposons que l'on souhaite mettre à jour le cadastre de Upie, code insee 26358 :
- Vérification de l'état du cadastre dans OSM :
./tools/osm-cadastre-stats.sh Upie
Treatment done! Summary:
1NSEE NOM COUNT DATE ASSOCIATEDSTREET
26358 Upie 1805 2017 0
Ici le dernier import date de 2017, donc il est déjà à jour. Supposons qu'il ne le soit pas.
-
Génération du bâti depuis http://cadastre.openstreetmap.fr/ (cela prend plusieurs minutes, selon la taille de la commune) :
./tools/osm-cadastre-generate-import.sh 26358
-
Ouverture des fichiers CL358-UPIE-houses-prediction_segmente.osm et CL358-UPIE-houses-simplifie.osm dans JOSM via nautilus.
-
Voir le guide complet pour la suite ou le guide vidéo…