How can I select multiple ways by their OSM id using the overpass API?
The above query only includes the data about the second way. Link. asked 31 Jul '15, 16:07 CrazyDave2345 |
For those arriving here via an internet search, this is quicker way to do it now:
answered 22 Jul '18, 14:16 DaveF |
Found it for myself this way: [out:json];way(104178011);out tags;way(18916837);out tags; answered 31 Jul '15, 16:36 CrazyDave2345 1
Another solution is to use a union, using parentheses: (way(104178011);way(18916837);); Not important for simple output, but unions are useful for more complicated scripts.
(31 Jul '15, 17:59)
maxerickson
@macerickson Yeah its more formal and stuff.
(31 Jul '15, 22:16)
CrazyDave2345
|