overpass query: some stations don't have a meta node
This commit is contained in:
parent
b33c00f1c3
commit
783bf8859a
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ app AppData{..} request respond = mkAnswer >>= (respond . toResponse)
|
||||||
_ -> do
|
_ -> do
|
||||||
let overpassQuery = " \
|
let overpassQuery = " \
|
||||||
\[out:csv(::type, ::id, ref, local_ref, level, layer;false)][timeout:25];\n\
|
\[out:csv(::type, ::id, ref, local_ref, level, layer;false)][timeout:25];\n\
|
||||||
\node[~\"railway:ref|railway:ref:parent\"~\"^"<>encodeUtf8 (unRil100 ril100)<>"$\"][operator~\"^(DB |Deutsch)\"];\n\
|
\nwr[~\"railway:ref|railway:ref:parent\"~\"^"<>encodeUtf8 (unRil100 ril100)<>"$\"][operator~\"^(DB|Deutsch)\"];\n\
|
||||||
\rel[public_transport~\"stop_area|stop_area_group\"](bn) -> .a;\n\
|
\(._;rel[public_transport~\"stop_area|stop_area_group\"](bn);) -> .a;\n\
|
||||||
\rel[public_transport~\"stop_area|stop_area_group\"](br.a) -> .b;\n\
|
\rel[public_transport~\"stop_area|stop_area_group\"](br.a) -> .b;\n\
|
||||||
\(.a;.b;);\n\
|
\(.a;.b;);\n\
|
||||||
\nwr[railway=platform](>>);\n\
|
\nwr[railway=platform](>>);\n\
|
||||||
|
|
Loading…
Reference in a new issue