XAPI: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
K (XAPI Services)
K (XAPI Services)
 
(6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 9: Zeile 9:
  
 
Laufende XAPI-Beispiele mit Webservices der HSR:
 
Laufende XAPI-Beispiele mit Webservices der HSR:
* "XAPI-to-Map" vom PostGIS-Terminal (Daten vom Vorabend): http://labs.geometa.info/postgisterminal/?xapi=node*%5Btourism=zoo%5D
+
* "XAPI-to-Map" vom PostGIS-Terminal (Schweizer Daten vom Vorabend): http://labs.geometa.info/postgisterminal/?xapi=node*%5Btourism=zoo%5D
 
* OpenStreetMap-in-a-Box der HSR (Schweiz, veraltete Daten vom 2011): http://geometa.hsr.ch/xapi/api/0.6/*%5Btourism=zoo%5D
 
* OpenStreetMap-in-a-Box der HSR (Schweiz, veraltete Daten vom 2011): http://geometa.hsr.ch/xapi/api/0.6/*%5Btourism=zoo%5D
  
 
Laufende XAPI-Beispiele mit Webservices:
 
Laufende XAPI-Beispiele mit Webservices:
* Overpass: http://wiki.openstreetmap.org/wiki/Overpass_API
+
* OpenStreetMap CH (Schweizer Daten, im Sommer 2 im Winter 1 hinter GMT auf dem OSM Planet): http://xapi.openstreetmap.ch:8080/xapi/api/0.6/*%5Btourism=zoo%5D, bzw. http://osm.xiala.net:8080/xapi/api/0.6/*%5Btourism=zoo%5D (Dank an Beni mit xiala.net)  
* OpenStreetMap CH (ca. 2h hinter OSM Planet): http://xapi.openstreetmap.ch/xapi/api/0.6/*%5Btourism=zoo%5D (Dank an Beni mit xiala.net)
+
* Overpass XAPI (weltweit): http://www.overpass-api.de/api/xapi?node%5Btourism=zoo%5D%5Bbbox=5.943,45.935,10.612,47.731%5D
* Overpass XAPI (weltweit): http://www.overpass-api.de/api/xapi?node%tourism=zoo%5D%5Bbbox=5.943,45.935,10.612,47.731%5D
+
* OSM2WEB (weltweit): http://www.gis-hosting.lu/osm2web/export/points/tourism/zoo.geojson?bbox=5.943,45.935,10.612,47.731&srid=4326
* MapQuest (weltweit): http://open.mapquestapi.com/xapi/api/0.6/*%tourism=zoo%5D%5Bbbox=5.943,45.935,10.612,47.731%5D
 
 
* Weitere:
 
* Weitere:
** (J)XAPI Frontend 0.2 [http://openstreetmap.us/uixapi/xapi.html XAPI Helper Webtool on openstreetmap.us]
 
 
** [http://open.mapquestapi.com/xapi/ XAPI Helper Webtool from Mapquest]
 
** [http://open.mapquestapi.com/xapi/ XAPI Helper Webtool from Mapquest]
 
** jXAPI (weltweit): http://jxapi.openstreetmap.org/xapi/api/0.6/*%5Btourism=zoo%5D%5Bbbox=5.943,45.935,10.612,47.731%5D
 
** jXAPI (weltweit): http://jxapi.openstreetmap.org/xapi/api/0.6/*%5Btourism=zoo%5D%5Bbbox=5.943,45.935,10.612,47.731%5D
 +
** MapQuest (weltweit): http://open.mapquestapi.com/xapi/api/0.6/*%5Btourism=zoo%5D%5Bbbox=5.943,45.935,10.612,47.731%5D
 +
** (J)XAPI Frontend 0.2 [http://openstreetmap.us/uixapi/xapi.html XAPI Helper Webtool on openstreetmap.us]
  
 
Defunct/unusable:
 
Defunct/unusable:
Zeile 31: Zeile 31:
 
# Projekt '[http://wiki.openstreetmap.org/wiki/Xapi#Java JXAPI]': [https://github.com/iandees/xapi-servlet Source] - Reimplementation als Java Servlet mit PostgreSQL by Ian Dees => [https://github.com/iandees/xapi-servlet XAPI-Servlet]
 
# Projekt '[http://wiki.openstreetmap.org/wiki/Xapi#Java JXAPI]': [https://github.com/iandees/xapi-servlet Source] - Reimplementation als Java Servlet mit PostgreSQL by Ian Dees => [https://github.com/iandees/xapi-servlet XAPI-Servlet]
 
# Projekt '[https://github.com/slomo/osm-spline-xapi osm-spline-xapi]' - Reimplementation in serverside JavaScript mit PostGIS.
 
# Projekt '[https://github.com/slomo/osm-spline-xapi osm-spline-xapi]' - Reimplementation in serverside JavaScript mit PostGIS.
# Projekt [[PostGIS-Terminal#XAPI-to-Map|XAPI-to-Map]]
+
# Projekt [[PostGIS-Terminal#XAPI-to-Map|XAPI-to-Map]] (HSR)
 +
# Projekt [http://wiki.openstreetmap.org/wiki/Overpass_API Overpass]
  
 
== Dokumentation ==
 
== Dokumentation ==

Aktuelle Version vom 17. Dezember 2012, 03:34 Uhr

XAPI ('zappy') X API zur OpenStreetMap-Datenbank. Ein Webservice mit einfachen Query-Möglichkeiten, der eine OSM XML-Datei zurückgibt. Recht beliebter OSM-Webservice aber immer wieder überlastet.

Siehe auch:


XAPI Services

Laufende XAPI-Beispiele mit Webservices der HSR:

Laufende XAPI-Beispiele mit Webservices:

Defunct/unusable:

XAPI Projekte

  1. Projekt 'XAPI - The original': Mumps und GT.M (no comment...!?!)
  2. Projekt 'JXAPI': Source - Reimplementation als Java Servlet mit PostgreSQL by Ian Dees => XAPI-Servlet
  3. Projekt 'osm-spline-xapi' - Reimplementation in serverside JavaScript mit PostGIS.
  4. Projekt XAPI-to-Map (HSR)
  5. Projekt Overpass

Dokumentation

Beispiele

Beliebt:

Häufige Anfragen gemäss Logs:

  • *[amenity=*]
  • *[highway=bus_stop]
  • *[shop=*]
  • *[tourism=*]
  • node[railway=station]
  • relation[type=restriction]

 Use e.g. http://osm.xiala.net:8080/xapi/api/0.6 for a <xapi_service_url>:
 <xapi_service_url>/node[tourism=zoo]
 <xapi_service_url>/*[highway=bus_stop][bbox=5.943,45.935,10.612,47.731]
 <xapi_service_url>/node[amenity=hospital]
 <xapi_service_url>/node[natural=peak]
 <xapi_service_url>/*[power_source=nuclear]
 <xapi_service_url>/node[amenity=*][bbox=5.943,45.935,10.612,47.731] 
 <xapi_service_url>/*[seamark:type=signal_station_warning]
 <xapi_service_url>/*[amenity=*][bbox=8.420,47.072,9.088,47.431]
 <xapi_service_url>/*[shop=*][bbox=8.420,47.072,9.088,47.431]
 <xapi_service_url>/*[tourism=*][bbox=8.420,47.072,9.088,47.431]
 <xapi_service_url>/node[railway=station][bbox=8.420,47.072,9.088,47.431]
 <xapi_service_url>/relation[type=restriction][bbox=8.420,47.072,9.088,47.431]