Jump to content

Oha80

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Oha80

  1. I had a similar problem, but I could figured out somehow. In my project I want to get switches around in 1 km of one specific railway stations, in overpass-turbo I run this: node[uic_ref="5516147"]->.allomas;node(around.allomas:1000)[railway~"(switch|railway_crossing)"];out; So with php I get data in xml like this: $xml = simplexml_load_string(file_get_contents('https://overpass-api.de/api/interpreter?data=node[uic_ref="'.$uic_ref.'"]->.allomas;node(around.allomas:1000)[railway~"(switch|railway_crossing)"];out;')); After that I could parse the xml. In my opinion xml is more expedient than csv.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.