I was working on importing some speed-bumps in my local area and wanted to ask for advice.
I have the coordinates where the bump should be along each of those segments.
If I create a new node using those coordinates and tag it with “traffic_calming=bump”, is that enough for it to be considered “on the road”?
I’m planning to validate everything manually in JOSM before uploading, but I wanted to know the best practice beforehand.
No, it needs to be added to the road’s way to be recognized as belonging to the road. Otherwise, as far as any data consumer is concerned, it’s just a random point that has nothing to do with anything else. (And I’d imagine this would likely produce a validator warning as well, because there’s not really any reason a speed bump would not be part of a way representing the road it’s on.) The solution is simple in JOSM: with both the node and the road’s way selected, Move Node onto Way (keyboard shortcut N). If the distance between the two is too far on the screen, it won’t work; in that case, simply zoom out enough that the node and the way appear nearly in the same spot (I think the default threshold is 10 pixels). This will move the node onto the way without changing its geometry.
If I understood correctly, your approach is more manual
What I’m aiming for, though, is to automate the process.
I want to place those nodes using an automated workflow into the OSM network (and eventually upload them).
So I’m trying to figure out the best way to insert those nodes into existing ways or at least align them properly, all in a script-based process.
Any pointers on that front would be super helpful!
Yes, I have read the guidelines and I’m trying to make sure I do this right before uploading anything.
I plan to upload about 5 nodes initially to see how it goes, so no worries about a big import just yet.
The document template is ready, and I’ve already talked to my local community.