This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Select ways by following a GPX track

1

I have a GPX track of a bike trip which was entirely on asphalt, so I would like to add surface=asphalt on all the ways I used.

From the GPX track, is it possible (for instance in JOSM) to automatically select the nearest ways in OSM? Ideally by taking into account that these must form a valid path as a whole (which hopefully helps disambiguate edge cases).

I would then just need to review that the selection is correct and apply the tag to all these ways.

asked 30 Dec '20, 09:02

Pintoch's gravatar image

Pintoch
31113
accept rate: 0%


One Answer:

1

I think the general term for this is map matching. It is supported by some of the routers that use OSM data, but generally isn't present in editors.

While there have been a few tools that use errors during map matching/navigation to flag potential errors in OSM (MapDust, That Shouldn't be Possible) I'm not aware of any JOSM plugin that will do this.

I think you will have to overlay the GPS trace and select ways manually.

answered 30 Dec '20, 13:12

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

Source code available on GitHub .