[OSM-talk] Overpass area query gives results outside area...

Jean-Marc Liotier jm at liotier.org
Fri Nov 8 18:31:39 UTC 2013


On 11/08/2013 04:58 PM, Fabian Schmidt wrote:
>
> Am 08.11.13 schrieb Jean-Marc Liotier:
>
>> To return multiple types of objects, this works:
>>
>> area[name="Senegal"];
>> (
>>  node(area)[name="Fatick"];<;
>>  way(area)[name="Fatick"];<;
>>  rel(area)[name="Fatick"];<;
>>  area(area)[name="Fatick"];<;
>> );
>> out;
>
> I would expect the area() to be a subset of way() and rel(), so you
> wouldn't need to add it to the query?
>

That is also what I thought... But somehow it is not the case - closed
ways are treated differently.




More information about the talk mailing list