Benutzer-Werkzeuge

Webseiten-Werkzeuge


gisinternals

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
gisinternals [2026/03/24 22:20]
admin
gisinternals [2026/03/31 18:00] (aktuell)
jango
Zeile 1: Zeile 1:
-[[https://www.gisinternals.com/query.html?content=filelist&file=release-1929-gdal-3-12-1-mapserver-8-6-0.zip]]+[[OpenStreetMap]]-Tool 
 + 
 +GDAL [[https://www.gisinternals.com/query.html?content=filelist&file=release-1929-gdal-3-12-1-mapserver-8-6-0.zip]]
  
 <code> <code>
-ogrinfo.exe C:\chroot\xampp\htdocs\at.pmtiles poi+ogrinfo at.pmtiles 
 +ogrinfo.exe at.pmtiles poi -so 
 +ogrinfo.exe at.pmtiles -dialect SQLite -sql "SELECT DISTINCT class FROM poi" 
 +ogrinfo.exe at.pmtiles -dialect SQLite -sql "SELECT DISTINCT class FROM poi" -feature -json 
 + 
 +ogrinfo.exe at.pmtiles building -so
 </code> </code>
  
Zeile 15: Zeile 22:
  
 ogr2ogr.exe -f GeoJSON -t_srs EPSG:4326 bus.geojson austria.osm.pbf points -sql "SELECT * FROM points WHERE highway = 'bus_stop'" -dialect sqlite ogr2ogr.exe -f GeoJSON -t_srs EPSG:4326 bus.geojson austria.osm.pbf points -sql "SELECT * FROM points WHERE highway = 'bus_stop'" -dialect sqlite
 +</code>
 +
 +<code>
 +ogr2ogr -f GeoJSON buildings.geojson input.osm.pbf multipolygons -where "building IS NOT NULL"
 +</code>
 +
 +<code>
 +# supermarkets
 +ogr2ogr -f GeoJSON supermarkets.geojson wien.osm.pbf points -where "other_tags LIKE '%\"shop\"=>\"supermarket\"%'
 +# Restaurants
 +ogr2ogr -f GeoJSON restaurant.geojson wien.osm.pbf points -sql "SELECT * FROM points WHERE other_tags LIKE '%\"amenity\"=>\"restaurant\"%'" -dialect sqlite
 +</code>
 +
 +<code>
 +ogr2ogr -f GeoJSON bus-stops.geojson wien.osm.pbf points -where "highway = 'bus_stop' OR (other_tags LIKE '%\"bus\"=>\"yes\"%' AND (other_tags LIKE '%\"public_transport\"=>\"platform\"%' OR other_tags LIKE '%\"public_transport\"=>\"stop_position\"%'))"
 +
 +ogr2ogr -f GeoJSON tram-stops.geojson wien.osm.pbf points -where "(other_tags LIKE '%\"tram\"=>\"yes\"%' AND (other_tags LIKE '%\"public_transport\"=>\"platform\"%' OR other_tags LIKE '%\"public_transport\"=>\"stop_position\"%'))"
 +
 +# nur ubahn stationen
 +ogr2ogr -f GeoJSON subway-stops.geojson wien.osm.pbf points -where "(other_tags LIKE '%\"subway\"=>\"yes\"%' AND (other_tags NOT LIKE '%\"public_transport\"=>\"platform\"%' AND other_tags NOT LIKE '%\"public_transport\"=>\"stop_position\"%'))"
 +
 +# ubahn stationen und bahnsteige extra
 +ogr2ogr -f GeoJSON subway-stops.geojson wien.osm.pbf points -where "(other_tags LIKE '%\"subway\"=>\"yes\"%' AND (other_tags LIKE '%\"public_transport\"=>\"platform\"%' OR other_tags LIKE '%\"public_transport\"=>\"stop_position\"%'))"
 +
 +# nur train stationen
 +ogr2ogr -f GeoJSON train-stops.geojson wien.osm.pbf points -where "(other_tags LIKE '%\"train\"=>\"yes\"%' AND (other_tags NOT LIKE '%\"public_transport\"=>\"platform\"%' AND other_tags NOT LIKE '%\"public_transport\"=>\"stop_position\"%'))
 +
 +# train stationen + bahnsteige extra
 +ogr2ogr -f GeoJSON train-stops.geojson wien.osm.pbf points -where "(other_tags LIKE '%\"train\"=>\"yes\"%' AND (other_tags LIKE '%\"public_transport\"=>\"platform\"%' OR other_tags LIKE '%\"public_transport\"=>\"stop_position\"%'))"
 </code> </code>
gisinternals.1774387219.txt.gz · Zuletzt geändert: 2026/03/24 22:20 von admin