-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Download all members of relations in the background #6656
Comments
@quincylvania |
I don't think this is a good idea, because the advantage is small, and it would lead to iD being slower for many people, especially those with older computers. |
iD could do things like validate the continuity of large multipolygons, boundaries, and routes, as well as completely render relations. The usefulness of this depends on each individual mapper's needs.
We wouldn't ship this if it makes iD slower. We'd have to figure out how to download and merge data without stalling iD on the main thread. I'm thinking about this issue as more of a long-term goal than an immediate concern. It makes sense that a modern editing tool should have all relevant data available to the editor instead of them needing to worry about what's downloaded and what's not. |
#1201 (comment) suggests
|
@pnorman As you also mentioned in the comment, this call can run into issues with very large relations. For performance, iD really needs to exercise more granular control over how many members are getting fetched at once. |
Is it how many are getting fetched at once, or how many are added to iD's graph? The former would surprise me - is there much difference between requesting 500 ways 4 times or requesting 2000 ways once? |
I'm honestly not sure off the top of my head. I'm thinking about other optimizations. The |
It's useful to have all members of a relation readily accessible, such as when zooming out to show the full extent of the relation. Rather than making the user manually download members (#5420), iD should automatically start downloading the full relation in the background once part of it is loaded for a tile. We might have to limit this by the number of members a relation has.
The text was updated successfully, but these errors were encountered: