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
 
// Quelle: https://forum.openstreetmap.org/viewtopic.php?id=58165
 
{{nominatimArea:"Bayern"}}
(._; )->.boundaryarea;
 
way["ref"="A 9"]
  (area.boundaryarea);
    node(w)[highway=milestone]
 
      
// "gerade" Werte mit xx0.0 (270.0/32.0)
    [distance~"5.[0]"]
      
// Werte mit .0 oder .5 (295.0/295.5)
/*  [distance~"\\.[05]"]*/      
 
// Werte OHNE Nachkommastelle ("295")
/*  [distance~"^[0-9]{3}$"] */
 
// "Krumme" Nachkommastellen (295.32)
/*  [distance~"\\.([^05]|[05][0-9]+)"] */
 
// milestone OHNE distance
/*    [!"distance"] */
 
 
;(._;>;); out meta;
 
{{style:    node {text:distance;}   }}
 
 
5 km
Leaflet © OpenStreetMap contributors
1
 
no data loaded yet