Add new layer to serve highway=motorway_junction nodes (#1119)
This PR adds a layer for `highway=motorway_junction` features. This implementation of highway exits in the transportation_name layer add to the existing layer table structure, and renames the internal column name from "construction" (which was already overloaded with non-construction usages) to "subclass", which will be less confusing to future developers. The string 'junction' is used as the universal sub-class for highway exits. A new documentation PR has been opened at openmaptiles/www.openmaptiles.org#69 to reflect these changes in the documentation.
This commit is contained in:
committed by
GitHub
parent
8d91cb3d94
commit
79c2ec929d
@@ -55,11 +55,13 @@ layer:
|
||||
- raceway_construction
|
||||
- rail
|
||||
- transit
|
||||
- motorway_junction
|
||||
subclass:
|
||||
description: |
|
||||
Distinguish more specific classes of path:
|
||||
Subclass is value of the
|
||||
[`highway`](http://wiki.openstreetmap.org/wiki/Key:highway) (for paths).
|
||||
[`highway`](http://wiki.openstreetmap.org/wiki/Key:highway) (for paths),
|
||||
and "junction" for [`motorway junctions`](http://wiki.openstreetmap.org/wiki/Tag:highway=motorway_junction).
|
||||
values:
|
||||
- pedestrian
|
||||
- path
|
||||
@@ -69,6 +71,7 @@ layer:
|
||||
- bridleway
|
||||
- corridor
|
||||
- platform
|
||||
- junction
|
||||
brunnel:
|
||||
description: |
|
||||
Mark whether way is a bridge, a tunnel or a ford.
|
||||
@@ -96,6 +99,7 @@ layer:
|
||||
query: (SELECT geometry, name, name_en, name_de, {name_languages}, ref, ref_length, network::text, class::text, subclass, brunnel, layer, level, indoor FROM layer_transportation_name(!bbox!, z(!scale_denominator!))) AS t
|
||||
schema:
|
||||
- ./network_type.sql
|
||||
- ./highway_classification.sql
|
||||
- ./update_route_member.sql
|
||||
- ./update_transportation_name.sql
|
||||
- ./transportation_name.sql
|
||||
|
||||
Reference in New Issue
Block a user