[Talk-GB] pub defined as a relation

Philip Barnes phil at trigpoint.me.uk
Wed Oct 25 12:53:45 UTC 2017


Certainly possible as we move to putting the tags on the outline instead of the building. It is not unusual to have the car park or garden area separated by a road.

Phil (trigpoint) 

On 24 October 2017 17:35:01 BST, Jez Nicholson <jez.nicholson at gmail.com> wrote:
>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

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20171025/1398e6f0/attachment.html>


More information about the Talk-GB mailing list