Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Resolve all Relations not working #1449

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

Resolve all Relations not working #1449

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: richardbrinkman[at]hotmail.com
[Submitted to the original trac issue database at 9.28pm, Thursday, 8th January 2009]

On the download page there is a checkbox "Resolve all relations". This is supposed to download all the relations in the selected area. However, it only downloads those relations for which all the members are in the area. If, for instance, you have a large cycle route crossing half the country, you will not be able to see/edit that relation, unless you download half the country. I really would like that all the roads of any relation that crosses/starts/ends in the downloaded area are downloaded. (Or if that is to much download at once, a way to show/edit a partially downloaded relation).

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 4.42pm, Friday, 9th January 2009]

Actually, "Resolve all relations" is supposed to download all the members of the relations that intersects (API-wise) with the bounding box being downloaded, e.g. if you download an area with part of a country border, it should download the complete border (assuming it is a relation, of course).

Is it how you understand it? If so, could you provide an example where it does not work.

Note that the API do not download a relation if the requested bounding box is completely inside the relation.

@openstreetmap-trac
Copy link
Author

Author: richardbrinkman[at]hotmail.com
[Added to the original trac issue at 11.39am, Saturday, 10th January 2009]

Take for instance the LF3 cycleway from Maastricht to Arnhem (well it has been mapped uptill Nijmegen, yet). If I download the piece near Nijmegen (http://openstreetmap.org/?lat=51.81036&lon=5.87083&zoom=15&layers=00B0FTF, make sure to view the Cycleway map to see the LF3), only that piece is being downloaded. I don't get the other roads nor do I get the bounding box that normally surrounds the ways in a relation.
My guess is that only ways that intersect the downloading area are downloaded in full, not relations that intersect.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 5.56pm, Saturday, 10th January 2009]

Err... I'm completely wrong.

Actually "Resolve all relations" was meant to download relations within relations.
By implementing this, I flawed the code completely.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 7.25pm, Saturday, 10th January 2009]

(In [13134]) FIX : Make "Resolve Relations" work as intended (fixes #1449)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant