New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes must zoom OUT to edit #9391
Comments
I see the point. However, this is not something that can be fixed in iD. The cause for this is a limitation of OSM API v0.6's iD already tries to mitigate this issue by requesting a little bit more than just the area one is mapping in.1 But ways in OSM could technically have very long distances between their nodes (in some extreme examples they are dozens of kilometers apart). It's just not feasible for iD to increase the request by a large enough buffer to never miss any features. I think it is reasonable to assume that mappers interested in mapping potentially long or large features will automatically zoom out far (or pan around) enough to see the respective features properly (e.g. in this example, to check how the intersection between the railway line and the road is mapped) before starting to draw in the apparently missing features. This works as long as the nodes are reasonably spaced out on the mapped data (which is the case in this example). Otherwise, I'd recommend to map a few intermediate vertices on the affected ways. To sum this up: Yes, this is a nuisance and can be confusing for mappers. However, it would need to be fixed outside of iD on the OSM API side.2 Footnotes
|
Indeed, mappers might get used to zooming out a little further to make sure they're seeing all the stuff. And then one day there's something with even wider spaced nodes, so they might think that must not be mapped yet.. Another interesting thing is the carto renderer. That always gets all the stuff no matter if the nodes are in the screen or not. Maybe some software theorems could be borrowed from it into the API... |
openstreetmap-carto ingests the entire planet file rather than extracting a small bbox to render. There is prior art out there, for example in the Overpass API and tools like Osmium for generating extracts, but @tyrasd is right that the OSM API won’t be able to solve this problem until the next major version. |
We are used to seeing the words "zoom in to edit".
But sometimes one must in fact "zoom out to edit"!
(Else yes one can edit, but at one's own risk...)
Here the railroad data doesn't arrive on to the map:
https://www.openstreetmap.org/edit#map=19/42.20668/-87.83946
Only now it does:
https://www.openstreetmap.org/edit#map=18/42.20668/-87.83946
The text was updated successfully, but these errors were encountered: