-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fill may render on wrong side of incomplete multipolygons #1201
Comments
Copied from #1832: The options are
2 and 3 are largely the same. Some issues with them
|
I talked with @zerebubuth and others and the suggestion was to use Also, that period where the current bugs are present only occurs on the first load, when scrolling around the MP will no longer be incomplete. It's more load on the server, but that's a consequence of the data model. The data is necessary to be able to properly edit in the area. |
Wouldn't honoring the "water is on the right side" rule address many of these rendering errors? |
That's for coastlines, not multipolygons. |
On Aug 24, 2014, at 11:06 PM, Paul Norman [email protected] wrote:
I mean as a heuristic when the alternative is guessing. It works for the multipolygon natural=water features in my area where they were originally tagged as coastlines and later converted to water. |
Guessing based on area seems like it would confuse people as it means rendering will change with a way reversal even if it is semantically a non-operation. It'd be nice to know if doing it the right way as suggested in #1201 (comment) would work. |
The rendering issue of broken or incompletely loaded multipolygons could be addressed in the following way: Define additional roles like outer:right and outer:left indicating on which side of the way the multipolygon area is located. The user should not need to add these suffices, but the editor can automatically add or update these, if the multipolygon is complete. This would significantly reduce the impact of broken multipolygons. Being a change of the OSM datastructures this needs to be discussed with the community in case the change is desired. |
I guess much has been written about this issue since 2013. see: The Future of Areas for a current summary. So where things stand right now, iD will always wrongly render certain multipolygons unless we download the entire multipolygon. Some multipolygons are too prohibitively large to download. @slhh's solution of adding tags to indicate which side of the way contains the area could work. (It sounds a bit like Tagging Outlines from the above link, but not exactly). It would definitely upset a lot of people in the OSM community if iD started silently tagging multipolygon member ways with this extra data. That said, we can use Any Tags We Like. I'm kind of inclined to push OSM in this direction and just start doing it. Thoughts @pnorman? |
Don't.
I haven't found this an issue in practice. Do you have data which indicates otherwise? I'd still recommend |
@pnorman I went back and read your comment a bit more carefully. I originally thought we would need to do this background |
Yes, boundaries could be large, and take several seconds. Coastlines don't have relations. I did some numbers, and of the 2 million MP relations
|
The total number of nodes in the MP is more interesting to me than the number of members. That's a better measure of bandwidth and memory cost. |
Yes, but that number is capped at 2000 nodes per member way. It's probably ok. I don't have time this week, but sometime soon I'll try automatically fetching the multipolygons with |
So, @pnorman maybe the more interesting question to ask is how many members these multipolygons max out at. ">5" doesn't sound so scary, but if the max is thousands then we have a problem. Here's an outlier mentioned in IRC: https://www.openstreetmap.org/relation/5989495 |
This way/relation has the tag waterway=polygon and renders incorrectly
The text was updated successfully, but these errors were encountered: