A C# program which automates a few OSM tasks, mainly conflating GRB and OSM
- If JOSM is open, close it
- Run the program with 'dotnet run'; it'll say that the server is running on port 8111 (
cd OsmBot/OsmBot; dotnet run
) - Open the GRB import website. Zoom around, hit the 'Filter GRB' button and 'Export GRB'. The server mimics JOSM remote, but will save the GRB data to 'GRB0.osm', 'GRB1.osm', ... instead
- Once you are satisfied with the regions downloaded, kill the server by returning to the terminal and hitting 'Ctrl+C'
- Restart with 'dotnet run`. The program will detect the GRB[0-9]*.osm files and start confloting them.
- When the program stops, a bunch of .osc files will be in the directory
- Open them all with JOSM, e.g. by dragging them all at the same time into JOSM.
- Each changeset will be loaded as a layer. Select them all, rightclick and hit
merge
. (If merge is not visible, enable 'advanced mode' in settings) - Hit upload with a decent commit message
- Remove the
GRB.osm
-files. As long as they are present, the program will try to conflate them again - Wait five minutes, to let overpass catch up
- Return to the GRB website, hiet 'load OSM data', (wait), 'Filter GRB data', 'Open area in Josm' and 'Export GRB'
- Now, the 'leftovers' will be shown into JOSM and can be merged manually