On 08-06-16 21:24, Marc Gemis wrote: > I wonder how I can express this with an Overpass Query, especially > when the amenity is mapped as a point in the separately mapped > building.
Something like this: ql: node({{bbox}})[amenity];is_in; (way[building](pivot);>;);out; or my prefered xml notation: <!-- Find amenity's in buildings (or on the edge) --> {{key=amenity}} {{val=fast_food}} <osm-script> <query into="_" type="node"> <bbox-query {{bbox}}/> <has-kv k="{{key}}" v="{{val}}"/> </query> <coord-query from="_" into="_" lat="" lon=""/> <union into="_"> <query into="_" type="way"> <has-kv k="building" modv="" v=""/> <pivot from="_" into="_"/> </query> <recurse from="_" into="_" type="down"/> </union> <print e="" from="_" geometry="skeleton" limit="" mode="body" n="" order="id" s="" w=""/> </osm-script> http://overpass-turbo.eu/s/gHI Still wondering why it comes back with a building in the airport but not a visible node inside it, but this seems to work. Glenn > > There are some other aspects that we do not cover with the current > tagging: seating, only take away, more restaurant-like (e.g. also > serving steaks) and probably other aspects. (inspired by what Sander > wrote recently as comment on some diary entry). I feel like we are indeed missing tags to further detail this. We could expand on the cuisine tag is that is an options(or logic) like cuisine:seating=15 cusine:takeaway=yes Just freewheeling here. Glenn > > regards > > m > > On Wed, Jun 8, 2016 at 5:19 PM, joost schouppe <joost.schou...@gmail.com> > wrote: >> Well, I didn't consider shed because the wiki definition is clearly >> something else "a structure in a back garden or on an allotment that is used >> for storage, hobbies, or as a workshop". >> >> I really don't care at all about how it is rendered. I just want Mark to be >> able to make an update of his fritures umap, only this time with a choice >> between all fritures and only the real frietkot. >> >> >> _______________________________________________ >> Talk-be mailing list >> Talk-be@openstreetmap.org >> https://lists.openstreetmap.org/listinfo/talk-be >> > > _______________________________________________ > Talk-be mailing list > Talk-be@openstreetmap.org > https://lists.openstreetmap.org/listinfo/talk-be > _______________________________________________ Talk-be mailing list Talk-be@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-be