Overpass API: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
K
K
Zeile 1: Zeile 1:
 
'''Overpass API - Gefilterter Download von [[OpenStreetMap]]-Daten in der nativen Struktur Nodes, Ways, Relations.'''
 
'''Overpass API - Gefilterter Download von [[OpenStreetMap]]-Daten in der nativen Struktur Nodes, Ways, Relations.'''
  
Einstieg:
+
Overpass Turbo Services (interaktive Webapp):  
* >> '''"Offizielles" Handbuch zur Overpass API: https://dev.overpass-api.de/overpass-doc/de/ <<'''
+
* '''>> Weltweit: http://overpass-turbo.eu/ <<'''
* "Learn Overpass": http://osmlab.github.io/learnoverpass//en/
+
* Deutschland: http://overpass-api.de/  
* Getting Started with Overpass Turbo (2020): https://nixintel.info/osint-tools/getting-started-with-overpass-turbo-part-1/
+
* Schweiz: http://overpass-turbo.osm.ch/
* Tutorial: https://osm-queries.ldodds.com/tutorial/index.html
 
* Blog: https://dev.overpass-api.de/blog/
 
  
 
Overpass QL Query Beispiele:  
 
Overpass QL Query Beispiele:  
Zeile 13: Zeile 11:
 
* https://osm-queries.ldodds.com/for-local-mappers/index.html
 
* https://osm-queries.ldodds.com/for-local-mappers/index.html
  
Overpass Turbo Services (interaktive Webapp):  
+
Prompt für '''>> ChatGPT & Co. <<''' (Copy & Paste und ersetze "user query"):
* '''>> Weltweit: http://overpass-turbo.eu/ <<'''
+
<pre>
* Deutschland: http://overpass-api.de/  
+
Convert the following natural language query into valid Overpass QL syntax for use on [Overpass Turbo](https://overpass-turbo.eu/):
* Schweiz: http://overpass-turbo.osm.ch/
+
 
 +
**Natural Language Query:**
 +
<<Insert user query here>>.
 +
 
 +
**Requirements:**
 +
- The output must adhere to this [EBNF specification](https://gist.githubusercontent.com/sfkeller/43800cd64014d17c55e40fa5e877fd6a/raw/3410bd8817e47c86e5695388a96ba1db5c0630a7/Overpass_QL_EBNF_v0.2_ChatGPT_generated.txt).
 +
- Use appropriate tags from the [OpenStreetMap Wiki](https://wiki.openstreetmap.org/wiki/DE:How_to_map_a).
 +
- Prefer geocoding with `geocodeArea` over `area["name"=...]`.
 +
- Prefer `nwr` (nodes, ways, relations).
 +
- Choose JSON output with center coordinates (`out center`).
 +
</pre>
 +
 
 +
* Beispiele für "user queries":
 +
** All restaurants including fast_food in Rapperswil-Jona
 +
** All bars around 3000 meters from the adress "Bahnhof Rapperswil-Jona"
 +
** All restaurants within 3000 meters of a public stop
 +
** All restaurants in Kanton Glarus within 200 meters of public transport stops (station, bus_stop, tram_stop, funicular)
 +
 
 +
 
 +
Einstieg in Overpass QL und API:
 +
* >> '''"Offizielles" Handbuch zur Overpass API: https://dev.overpass-api.de/overpass-doc/de/ <<'''
 +
* "Learn Overpass": http://osmlab.github.io/learnoverpass//en/
 +
* Getting Started with Overpass Turbo (2020): https://nixintel.info/osint-tools/getting-started-with-overpass-turbo-part-1/
 +
* Tutorial: https://osm-queries.ldodds.com/tutorial/index.html
 +
* Blog: https://dev.overpass-api.de/blog/
  
 
Overpass QL Language Documentation:  
 
Overpass QL Language Documentation:  

Version vom 15. September 2024, 23:31 Uhr

Overpass API - Gefilterter Download von OpenStreetMap-Daten in der nativen Struktur Nodes, Ways, Relations.

Overpass Turbo Services (interaktive Webapp):

Overpass QL Query Beispiele:

Prompt für >> ChatGPT & Co. << (Copy & Paste und ersetze "user query"):

Convert the following natural language query into valid Overpass QL syntax for use on [Overpass Turbo](https://overpass-turbo.eu/):

**Natural Language Query:**
<<Insert user query here>>.

**Requirements:**
- The output must adhere to this [EBNF specification](https://gist.githubusercontent.com/sfkeller/43800cd64014d17c55e40fa5e877fd6a/raw/3410bd8817e47c86e5695388a96ba1db5c0630a7/Overpass_QL_EBNF_v0.2_ChatGPT_generated.txt).
- Use appropriate tags from the [OpenStreetMap Wiki](https://wiki.openstreetmap.org/wiki/DE:How_to_map_a).
- Prefer geocoding with `geocodeArea` over `area["name"=...]`.
- Prefer `nwr` (nodes, ways, relations).
- Choose JSON output with center coordinates (`out center`).
  • Beispiele für "user queries":
    • All restaurants including fast_food in Rapperswil-Jona
    • All bars around 3000 meters from the adress "Bahnhof Rapperswil-Jona"
    • All restaurants within 3000 meters of a public stop
    • All restaurants in Kanton Glarus within 200 meters of public transport stops (station, bus_stop, tram_stop, funicular)


Einstieg in Overpass QL und API:

Overpass QL Language Documentation:

Support:

Siehe auch: