diff --git a/layers/transportation_name/name.sql b/layers/transportation_name/name.sql new file mode 100644 index 00000000..14bacc71 --- /dev/null +++ b/layers/transportation_name/name.sql @@ -0,0 +1,7 @@ +DO $$ +BEGIN + update osm_highway_linestring SET tags = slice_language_tags(tags) || get_basic_names(tags, geometry); + update osm_railway_linestring SET tags = slice_language_tags(tags) || get_basic_names(tags, geometry); + update osm_aerialway_linestring SET tags = slice_language_tags(tags) || get_basic_names(tags, geometry); + update osm_shipway_linestring SET tags = slice_language_tags(tags) || get_basic_names(tags, geometry); +END $$; diff --git a/layers/transportation_name/transportation_name.yaml b/layers/transportation_name/transportation_name.yaml index 263032c2..d4a4b473 100644 --- a/layers/transportation_name/transportation_name.yaml +++ b/layers/transportation_name/transportation_name.yaml @@ -76,6 +76,7 @@ layer: srid: 900913 query: (SELECT geometry, name, name_en, name_de, {name_languages}, ref, ref_length, network::text, class::text, subclass, layer, level, indoor FROM layer_transportation_name(!bbox!, z(!scale_denominator!))) AS t schema: + - ./name.sql - ./network_type.sql - ./update_route_member.sql - ./update_transportation_name.sql