Example of Union query in new Overpass QL language
Пример запроса с Union на новом языке Overpass QL.
[maxsize:1073741824]
[out:xml]
[timeout:900]
;
(way
["railway"~"rail"]
["service"!="spur"]
["service"!="yard"]
["service"!="siding"]
({{bbox}});>;
)->.a;
(node
["railway"="station"]
({{bbox}});>;
)->.b;
(.a; .b;) ->.c;
.c out meta qt;
{{style: /* this is the MapCSS stylesheet */
node
{ fill-color:gray; }
node[railway=station]
{ color:black; fill-color:gray; text: name; }
way
{ color:brown; fill-color:brown; }
}}
http://overpass-turbo.eu/s/6o1
Пример запроса с Union на новом языке Overpass QL.
[maxsize:1073741824]
[out:xml]
[timeout:900]
;
(way
["railway"~"rail"]
["service"!="spur"]
["service"!="yard"]
["service"!="siding"]
({{bbox}});>;
)->.a;
(node
["railway"="station"]
({{bbox}});>;
)->.b;
(.a; .b;) ->.c;
.c out meta qt;
{{style: /* this is the MapCSS stylesheet */
node
{ fill-color:gray; }
node[railway=station]
{ color:black; fill-color:gray; text: name; }
way
{ color:brown; fill-color:brown; }
}}
http://overpass-turbo.eu/s/6o1
Комментариев нет:
Отправить комментарий