Hi! I'm using a php script to get node, way and rel from osm. This script use this url:
Now I would to add some tag and not only historic. Can I use a single url or have I to create a query for each tag I need? Thanks, Mk |
You can combine as many queries as you want in a union: http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Union Here's an Overpass Turbo Wizard generated example: http://overpass-turbo.eu/s/hmK Also, note the "raw data directly from Overpass API" option in the Export dialog. You can use Overpass Turbo to test out queries and then quickly get the query as a url. answered 18 Jul '16, 20:58 maxerickson mmm ... ok so my $url become
now, is it possibile so specify ('.$coo['min_lat'].','.$coo['min_lon'].','.$coo['max_lat'].','.$coo['max_lon'].') only time, maybe at the end url? Thanks!
(19 Jul '16, 14:31)
bbg5ne
|