Hi,

With a XAPI API I'd like to make following query types (operators/predicates):
1) OR query: Example "[amenity=restaurant] OR [tourism=office]"
2. NOT query: Example "NOT [cuisine=pizza]"

What could be a suitable syntax for doing this?
My suggestions:
1a) ?xapi=node[amenity=restaurant]|[tourism=office]
or 1b) ?xapi=node[amenity=restaurant]|node[tourism=office]
2) ?xapi=-node[cuisine=pizza]

Or did I miss something in
http://wiki.openstreetmap.org/wiki/XAPI#Tag_Predicates ?

Yours, Stefan

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to