dil_bert Posted September 24, 2020 Share Posted September 24, 2020 for a little (!) project i need to have the data (in DB ) and the maps- this request delivers the Map [timeout:600]; area["ISO3166-1"="BR"]->.brazil; area["ISO3166-1"="AR"]->.argentina; area["ISO3166-1"="VE"]->.venezuela; area["ISO3166-1"="PE"]->.peru; area["ISO3166-1"="CL"]->.chile; /* more areas..*/ ( nwr[amenity=hospital](area.brazil); nwr[amenity=hospital](area.argentina); nwr[amenity=hospital](area.venezuela); nwr[amenity=hospital](area.peru); nwr[amenity=hospital](area.chile); /* other queries... */ ); out center; this request delivers the data; [out:csv(::id,::type,::lon, ::lat, "name","addr:postcode","addr:city","addr:street","addr:housenumber","contact:website"," contact:email=*")][timeout:600]; area["ISO3166-1"="BR"]->.brazil; area["ISO3166-1"="AR"]->.argentina; area["ISO3166-1"="VE"]->.venezuela; area["ISO3166-1"="PE"]->.peru; area["ISO3166-1"="CL"]->.chile; /* more areas..*/ ( nwr[amenity=hospital](area.brazil); nwr[amenity=hospital](area.argentina); nwr[amenity=hospital](area.venezuela); nwr[amenity=hospital](area.peru); nwr[amenity=hospital](area.chile); /* other queries... */ ); out center; question how to achive that i get back both data -set with the request via overpass-turbo.eu Quote Link to comment https://forums.phpfreaks.com/topic/311517-getting-back-both-the-map-and-the-data-from-a-request-via-overpass-turboeu/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.