With the following query:

out geom;

I get the Manhattan area according to the relation 8398124. The output is a relation with member elements (with geometries) that determine the area shape.

However, there is also a member with role="label", using XML output:

<member type="node" ref="357644127" role="label" lat="40.7896239" lon="-73.9598939"/>

This member confuses the result processing tools, creating an additional geometry object (point). Is there a way to filter these area labels out?

1 Answer 1


Please see my answer in How to filter relation members in Overpass

Query would be:

out geom;
  • The extra point is gone, but the problem with this approach is that the area is represented by multiple geometries. The approach in the question has the whole area represented by a single MultiPolygon. For my use case, it's one step forward, two steps back :)
    – Fido
    Jan 2, 2023 at 15:13
  • I'm sorry, you need to roll you own post-processing, then. Overpass can't help in this case.
    – mmd
    Jan 2, 2023 at 16:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.