I suppose this is not to actually edit Openstreetmap, but some kind of experiment or research?
I think you can possibly edit the data in a .pbf file using Osmium, it may involve coding. Regards, Yves
Le 29 janvier 2023 21:30:08 GMT+01:00, Tsolmongerel Orkhonselenge otsolmon@yahoo.com a écrit :
Dear OpenStreetMap group of Switzerland,I have the following workflow in the mind:1. Finding shortest paths using Open Source Routing Machine in canton Bern using osm.pbf file of Switzerland.2. Now I would like to edit some of the roads as not passable (i.e. either access=no or maxspeed=0) for vehicle routing. Since I have the IDs of the roads, I will do this edit automatically in shapefile of the roads layer from openstreetmap.3. Using the edited shapefile of the roads, I would like to create again the switzerland.osm.pbf file. My question is, which software I should use to create osm.pbf file from edited shapefile or shapefiles? I hope to hear from you soon. Thank you, Tsolmon