Skip to content
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

OSM object version on areas #677

Open
maxerickson opened this issue Oct 3, 2022 · 4 comments
Open

OSM object version on areas #677

maxerickson opened this issue Oct 3, 2022 · 4 comments
Labels

Comments

@maxerickson
Copy link

A question on the OSM US Slack arose out of the name of an area falling out of sync with the source relation. Querying for a id based tag that hadn't changed worked as expected, querying by name returned no areas.

Would it break anything to add the version of the source object as an attribute in the xml?

Then there is a least a bread crumb for debugging a seeming inconsistency.

@matkoniecz
Copy link

matkoniecz commented Oct 3, 2022

On looking at it again:

screen16

is answering what is going on (sorry for image but as this appears as popup there is no way to copy text)


Slack question was:

Any idea why

area['name'='województwo podkarpackie']->.searchArea;
(
node['wikipedia'](area.searchArea);
);
out body;
>;
out skel qt;

fails when

[timeout:2550];
area[wikidata=Q54175]->.searchArea;
(
node['wikipedia'](area.searchArea);
);
out body;
>;
out skel qt;

works?

Both try to use https://www.openstreetmap.org/relation/130957 area

@mmd-osm
Copy link
Contributor

mmd-osm commented Oct 3, 2022

Out of date areas seems to be an operational issue affecting both production instances.

The xml response should return the exact timestamp of the areas. You can use this information to find out how the relation looked back then.

@mmd-osm
Copy link
Contributor

mmd-osm commented Oct 3, 2022

[date:"2022-07-20T11:06:24Z"];
rel(130957);
out tags;

would be the respective query. If I'm not completely mistaken, the very first character in the name field was changed to a lowercase character in the meantime.

@drolbr
Copy link
Owner

drolbr commented Oct 6, 2022

Out of date areas seems to be an operational issue affecting both production instances.

The xml response should return the exact timestamp of the areas. You can use this information to find out how the relation looked back then.

I'm sorry, I missed that issue. Fixed now.

@drolbr drolbr added the task label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants