Change default value of transportation_name's network attribute

pull/185/head
jirik 2017-03-15 11:10:06 +01:00
rodzic 6b523a5e0a
commit c026da1324
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -13,7 +13,7 @@ RETURNS TABLE(osm_id bigint, geometry geometry, name text, name_en text, ref tex
when network is not null when network is not null
then network::text then network::text
when length(coalesce(ref, ''))>0 when length(coalesce(ref, ''))>0
then 'motorway' then 'road'
end as network, end as network,
highway_class(highway) AS class highway_class(highway) AS class
FROM ( FROM (

Wyświetl plik

@ -25,7 +25,7 @@ layer:
- ca-transcanada - ca-transcanada
- gb-motorway - gb-motorway
- gb-trunk - gb-trunk
- motorway (default) - road (default)
class: class:
description: | description: |
Distinguish between more and less important roads. Distinguish between more and less important roads.