Skip to content

A C# program which automates a few OSM tasks, mainly conflating GRB and OSM

License

Notifications You must be signed in to change notification settings

pietervdvn/OsmBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OsmBot

A C# program which automates a few OSM tasks, mainly conflating GRB and OSM

How to use

  1. If JOSM is open, close it
  2. Run the program with 'dotnet run'; it'll say that the server is running on port 8111 (cd OsmBot/OsmBot; dotnet run)
  3. 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
  4. Once you are satisfied with the regions downloaded, kill the server by returning to the terminal and hitting 'Ctrl+C'
  5. Restart with 'dotnet run`. The program will detect the GRB[0-9]*.osm files and start confloting them.
  6. When the program stops, a bunch of .osc files will be in the directory
  7. Open them all with JOSM, e.g. by dragging them all at the same time into JOSM.
  8. 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)
  9. Hit upload with a decent commit message
  10. Remove the GRB.osm-files. As long as they are present, the program will try to conflate them again
  11. Wait five minutes, to let overpass catch up
  12. Return to the GRB website, hiet 'load OSM data', (wait), 'Filter GRB data', 'Open area in Josm' and 'Export GRB'
  13. Now, the 'leftovers' will be shown into JOSM and can be merged manually

About

A C# program which automates a few OSM tasks, mainly conflating GRB and OSM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published