NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

There is such village: http://www.openstreetmap.org/node/337512354

I want to get all relationships of this village.
In order to get it, I do request: http://overpass-api.de/api/interpreter?data=node(337512354);is_in;out;

In this file the top one area record shows:
<area id="2430719979">
<tag k="name" v="Пересіка"/>
<tag k="place" v="village"/>
</area>

The page of this area (way) is: http://www.openstreetmap.org/way/30719979 As we can see, on this page there are no any tags at all.

My questions:
1. Where\why does overpass take <area id="2430719979"> tag name\tag place </area> from?
2. How\where to fix this? (Remove this tags as this way should not have those tags)

asked 07 Jun '16, 08:14

bear_ukraine's gravatar image

bear_ukraine
41336
accept rate: 0%

edited 07 Jun '16, 08:22


Tags are not inherited from relation 6258680 to way 30719979.

This looks like a bug to me, as tags for areas and way are not consistent. That's even the case if I take the area creation timestamp as [date:...] value.

The issue is that way 30719979 used to be a valid way, but in the meantime, the way is just a line (rather than an area). The tags are retained from the last time, the way was still an area.

[date:"2016-05-06T05:51:02Z"];way(30719979);out geom meta;

Can you please file an issue on Github for it.

permanent link

answered 07 Jun '16, 09:26

mmd's gravatar image

mmd
5.7k15388
accept rate: 37%

edited 07 Jun '16, 09:27

Way 30719979 is part of relation 6258680. I guess that's where Overpass API is retrieving this information from.

Areas are an extension of Overpass API. They are constructed using the areas.osm3s script. Since they don't exist in OSM there is no way for you to "fix" this. But if you think something is wrong with a generated area then you can create a GitHub issue.

permanent link

answered 07 Jun '16, 08:57

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×483

question asked: 07 Jun '16, 08:14

question was seen: 2,238 times

last updated: 07 Jun '16, 09:27

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum