[Talk-GB] pub defined as a relation

Jez Nicholson jez.nicholson at gmail.com
Tue Oct 24 16:35:01 UTC 2017


Just preparing an Overpass query for the OSM workshop I am running in
Brighton. Naturally I queried pubs....then wondered whether I need bother
with relations....and found http://www.openstreetmap.org/relation/3216899

Seems a bit of a sledgehammer to crack a nut.

While i'm here, can anyone tell me why http://overpass-turbo.eu/s/szG does
not return nodes and ways-and-their-nodes? It is very similar to the
example

area[name="Brighton and Hove"][admin_level=6];
(
  node(area)[amenity=pub];
  way(area)[amenity=pub];
);
(._;>;);
out body;

- Jez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20171024/c8b7a43d/attachment.html>


More information about the Talk-GB mailing list