Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.166 Beiträge
 
Delphi 12 Athens
 
#4

AW: Overpass-API-Request als JSON

  Alt 18. Mai 2020, 14:16
[GOOGLE]overpass-api out:json[/GOOGLE] -> https://gis.stackexchange.com/questi...rpass-api-call

Zitat:
You can't get a JSON result from the XAPI-compatibility endpoint. Instead, use the standard Overpass API (“interpreter”) endpoint and put the [out:json]; at the very start of your ql query:
Code:
https://www.overpass-api.de/api/interpreter?data=[out:json];node[highway=speed_camera](43.46669501043081,-5.708215989569187,43.588927989569186,-5.605835010430813);out%20meta;
(note the different ordering of the bbox coordinates compared to the xapi request!)
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests

Geändert von himitsu (18. Mai 2020 um 14:31 Uhr)
  Mit Zitat antworten Zitat