Hi there, Suppose I have a request to fetch all ways in a bounding box E.g.
and I need to make the same request in a different location:
Right now, I am querying in two separate requests as I need to know which elements belong to which request. What I want to do it to perform both queries in a single request (to avoid querying the server multiple times which is a bottleneck), but I need to know which found elements belong to which request. For example: I want to call:
Which I want to produce the following result (note the "request" tag):
Is what I want to achieve possible? Or do I need to keep using separate requests. Thanks a lot for the help!
This question is marked "community wiki".
asked 01 Oct '17, 00:43 gmeister41 |
You could inject a marker element: http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#The_make_statement answered 01 Oct '17, 04:36 maxerickson Perfect, this will do the job. Thanks!
(02 Oct '17, 01:42)
gmeister41
|