1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
/*
Cette requête est générée par l'outil overpass-turbo.
La recherche initiale est 
“Risques de chutes de pierres ou de présence sur la route de pierres tombées en France”
*/
[out:json][timeout:500];
 
// recherche en France
{{geocodeArea:France}}->.searchArea;
 
// récupération des résultats
 
 // interrogation de “hazard~rock_slide or hazard=falling_rocks” 
( 
  node["hazard"~"rock_slide"](area.searchArea);
  way["hazard"~"rock_slide"](area.searchArea);
  relation["hazard"~"rock_slide"](area.searchArea);
 
  node["hazard"="falling_rocks"](area.searchArea);
  way["hazard"="falling_rocks"](area.searchArea);
  relation["hazard"="falling_rocks"](area.searchArea);
);
 
// afficher les résultats
out center;
 
/* feuille de style MapCSS */
{{style:
 
  node, way, relation {
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A19.png');
    icon-width: 30;
    icon-height: 26
  }
 
}}
100 km
Leaflet © OpenStreetMap contributors
1
 
no data loaded yet