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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
 
/*
Cette requête est générée par l'outil overpass-turbo.
La recherche initiale est 
"Descentes sur les autoroutes en France"
*/
[out:json][timeout:1000];
 
// recherche en France
{{geocodeArea:France}}->.searchArea;
 
// récupération des résultats
 
( 
  way["incline"~"-2.5%|2.5%|-3%|3%|-3.5%|3.5%|-4%|4%|-4.5%|4.5%|-5%|5%|-5.5%|5.5%|-6%|6%|-6.5%|6.5%|-7%|7%|-7.5%|7.5%|-8%|8%"]["highway"="motorway"](area.searchArea);
);
 
// afficher les résultats
out body;
>;
out skel qt;
 
/* feuille de style MapCSS */
{{style:
 
  way [incline=-2.5%], way [incline=2.5%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_2_5.png');
    icon-width: 50;
    icon-height: 44;
  }
 
  way [incline=-3%], way [incline=3%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_3.png');
    icon-width: 50;
    icon-height: 44;
   }
 
  way [incline=-3.5%], way [incline=3.5%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_3_5.png');
    icon-width: 50;
    icon-height: 44;
  }
  
  way [incline=-4%], way [incline=4%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_4.png');
    icon-width: 50;
    icon-height: 44;
  }
  
  way [incline=-4.5%], way [incline=4.5%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_4_5.png');
    icon-width: 50;
    icon-height: 44;
  }
  
  way [incline=-5%], way [incline=5%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_5.png');
    icon-width: 50;
    icon-height: 44;
  }
  
  way [incline=-5.5%], way [incline=5.5%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_5_5.png');
    icon-width: 50;
    icon-height: 44;
  }
  
  way [incline=-6%], way [incline=6%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_6.png');
    icon-width: 50;
    icon-height: 44;
  }
  
  way [incline=-6.5%], way [incline=6.5%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_6_5.png');
    icon-width: 50;
    icon-height: 44;
  }
  
  way [incline=-7%], way [incline=7%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_7.png');
    icon-width: 50;
    icon-height: 44;
  }
  
  way [incline=-7.5%], way [incline=7.5%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_7_5.png');
    icon-width: 50;
    icon-height: 44;
  }
 
  way [incline=-8%], way [incline=8%]{
    icon-image: url('http://regards-sur-la-route.fr/images/sara/signalisation/A16_8.png');
    icon-width: 50;
    icon-height: 44;
  }
 
}}
100 km
Leaflet © OpenStreetMap contributors
1
 
no data loaded yet