We are using OSM for village-level mapping, and it shows dotted lines wherever the route doesn’t exist in OSM. Is there a way to update these roads in bulk using any programming method?
Hello - can you link to somewhere “it shows dotted lines wherever the route doesn’t exist in OSM”? That way more people will be able to help you.
I’ve attached the screenshots where it shows the dotted line while in OSM. Please let me know if this helps.
What website is that a screenshot from?
Please refer to this url.
The URL provided, https://map.project-osrm.org/, is related to the Open Source Routing Machine (OSRM), which is an open-source project that provides fast routing services using data from OpenStreetMap (OSM).
Right - with a bit of searching we can find out the location and the URL for it in OSM - it is https://www.openstreetmap.org/#map=15/24.82209/72.92995. As has already been said, OSM doesn’t have much data there. There’s just the road to the village, not any of the roads and paths within the village.
If you had highly accurate digitised information for the roads etc. in the village, then yes - there is a process that you can follow. Note that it is not primarily a programming task - you will have to check with the community that the licence is suitable, and that the data quality is OK, etc., as set out in that wiki page.
However I suspect that that question is somewhat moot - here is Digar within the iD editor - I suspect you don’t have that level of detail. The way that these things typically added to OSM is manually, through one of the editors available on the site. That’s how the village that I live in in the UK was added, and that’s the case in most other places around the world.
I needed a bit time to understand what was meant with these “dotted lines” - as far as i understand it, its just what OSRM uses to show that there is no way close to the target, the beeline.
I agree with SomeoneElse, the fastest way in my opinion would be to draw the streets and buildings from aerial image and then walk through there with the an app like StreetComplete (Android) or Every Door to add information and notes with pictures to add stuff that is not possible to see at the aerial imagery.
Its a bit advanced, but with JOSM and the “BuildingsTools”-Plugin drawing of buildings should be fast as well. Drawing streets should also be quick for someone who knows the layout of such an village.
Additional Links:
In OSM: OpenStreetMap
Route with OSRM OpenStreetMap Routing with Open Source Routing Machine
Hi Negreheb and someoneElse,
Thanks for the information. I’ll review this and will update you if I have any doubts.
Currently, we can edit and update road maps in OSM using OSM edit access. While we are doing this, it’s a time-consuming task, especially since we need to update the entire Indian village road network. We aim to automate this process and update the OSM .osm
or .pbf
file types dynamically using a program or code.
Please make sure you follow the Import Guidelines (found at Import/Guidelines - OpenStreetMap Wiki ) to make sure everything is alright.
Otherwise you run the risk that everything is getting reverted and your work will be in vain.
Sure I’ll double check before importing
Hi Tushar, as folks here pointed out, these are places where we have roads missing, we have to draw those ways. There might be some pmgsy data available which you can refer to, but quality of the data is not good enough to import. rapid might have ai generated data for this, but if you are using it to add data to osm, please check each road manually, because of data quality issues with it.
you can also talk to other mappers from India on osmindia group on telegram/matrix/xmpp