Skip to content

OpenBracketsCH/overpass_snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Overpass Snippets

Info

Warum dieses Repo?

Overpass Abfragen als Snippets

Abfrage auf einen bestimmten Begriff innerhalb eines Tag's

/*
This has been generated by the overpass-turbo Swiss edition.
*/
[out:json];
area["name"="Schweiz/Suisse/Svizzera/Svizra"]->.clip;

(
  nwr[emergency=defibrillator][phone~'41 79 297 93 15']({{bbox}});
);
out center;

Abfrage auf einen bestimmten Tag in einer bestimmten Ortschaft

In diesem Beispiel auf Hydranten in 8625 Gossau

	/*
	This has been generated by the overpass-turbo wizard.
	*/
	[out:json][timeout:25];
	{{geocodeArea:8625 Gossau (ZH)}}->.searchArea;
	// gather results
	(
	  nwr["emergency"="fire_hydrant"](area.searchArea);
	);
	// print results
	out body;
	>;
out skel qt;

Alle Overpass Abfragen für eine Notfallkarte der Feuerwehr

Hier das Beispiel der (https://notfallkarte-gossau.ch/)[Notfallkarte Gossau]

Defis

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
{{geocodeArea:8625 Gossau (ZH)}}->.searchArea;
// gather results
(
  nwr["emergency"="defibrillator"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

Hydranten

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
{{geocodeArea:8625 Gossau (ZH)}}->.searchArea;
// gather results
(
  nwr["emergency"="fire_hydrant"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

Evakuierungs Punkte

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
{{geocodeArea:8625 Gossau (ZH)}}->.searchArea;
// gather results
(
  nwr["emergency"="assembly_point"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

ZSO Sirenen

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
{{geocodeArea:8625 Gossau (ZH)}}->.searchArea;
// gather results
(
  nwr["emergency"="siren](area.searchArea);
);
// print results
out body;
>;
out skel qt;

Standort Feuerwehr

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
{{geocodeArea:8625 Gossau (ZH)}}->.searchArea;
// gather results
(
  nwr["emergency"="fire_station"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

Schlüsselrohre

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
{{geocodeArea:8625 Gossau (ZH)}}->.searchArea;
// gather results
(
  nwr["emergency"="key_depot"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

BMA Anlagen

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
{{geocodeArea:8625 Gossau (ZH)}}->.searchArea;
// gather results
(
  nwr["emergency"="fire_alarm_control_panel"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

Einsatzpläne

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
{{geocodeArea:8625 Gossau (ZH)}}->.searchArea;
// gather results
(
  nwr["emergency:plan"="yes"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

Spezifische Abfragen

Auch in Repositories von OpenBrackets öfters gebraucht.

Feuerwachen im Kanton Zürich

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“amenity=fire_station in CH-ZH”
*/
[out:json][timeout:25];
// fetch area “CH-ZH” to search in
{{geocodeArea:CH-ZH}}->.searchArea;
// gather results
(
  // query part for: “amenity=fire_station”
  node["amenity"="fire_station"](area.searchArea);
  way["amenity"="fire_station"](area.searchArea);
  relation["amenity"="fire_station"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

Helipads

Wiki Seite https://wiki.openstreetmap.org/wiki/DE:Tag:aeroway%3Dhelipad

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“aeroway=helipad in CH”
*/
[out:json][timeout:25];
// fetch area “CH” to search in
(
area["ISO3166-1"="CH"];
)->.searchArea;// gather results
(
  // query part for: “aeroway=helipad”
  node["aeroway"="helipad"](area.searchArea);
  way["aeroway"="helipad"](area.searchArea);
  relation["aeroway"="helipad"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

Hofläden

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
{{geocodeArea:8625 Gossau (ZH)}}->.searchArea;
// gather results
(
  nwr["shop"="farm"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

About

just a collection of useful overpass snippets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published