The following figure illustrates an example of transit rendered from the data.
Figure 1. Sample Transit in Tokyo
The layer content is defined as follows.
Layer name: transit
Geometry types: polygon, line
This layer contains information about transit polygons for station platforms and includes transit lines such as light_rail, subway, train, funicular, monorail, and aerial. Transit line features start appearing at zoom 7 and higher while platform polygons are added at zoom 14 and higher. Features having the same line geometry, kind, and kind_detail are consolidated, so all transit routes, their colors, and color names are stored in all_ref, all_colour, and all_text_colour properties, respectively.
Transit Properties (common)
The following properties are used to define a transit feature.
id - This is an ID used internally within HERE.
kind - This can be one of the options listed below.
sort_rank - This property contains a suggestion in which order to render features. The value is an integer where smaller numbers suggest that features should be "behind" features with larger numbers.
kind_detail - This property maps a kind value to more specific information about the transit feature. Available only on lines. For possible values, see the kind_detail list below.
min_zoom - This property indicates a suggested minimum zoom at which the feature should become visible. Available only on lines.
all_ref - All routes that are valid on this line. This is given as semicolon-separated reference values - for example, all_ref="RE1;RE2". Available only on lines.
all_ref:* - All localized reference values - for example, all_ref:en="Keihin-Tohoku Line;Yamanote Line" for English and all_ref:ja="京浜東北線;山手線" for Japanese. Language variants are identified by an ISO 639-1 two-letter language code.
all_colour - All colors representing the routes that are valid on this line. This is given as semicolon-separated hex values - for example all_colour="#FFFFFF;#000000", that are matched with those of all_ref in the given order. See all_ref above. That is the #FFFFFF color is matched with the RE1 route, and the #000000 color is matched with the RE2 route. Available only on lines.
all_text_colour - All colors to draw the text of reference values of the routes that are valid on this line. This is given the same way as all_colour described above. Available only on lines.
all_operator - All operator ids of the routes that are valid on this line. This is given as semicolon-separated values - for example all_operator=n7zDE:4p;n7zDE:5N, that matched with those of all_ref in the given order. That is the n7zDE:4p operator id is matched with the RE1 route, and the n7zDE:5N operator id is matched with the RE2 route. Available only on lines.
Transit kind and sort_rank Values for Certain Areas in core
The following list of kind and sort_rank values is only applicable for some regions of the world within the core layer parameter. For more information about the different layers available in the HERE Vector Tile API, see Layer Parameter.
Below are these kind and the corresponding sort_rank values within the core layer parameter for Japan:
railway_station_platform - 385
subway_station_platform - 385
Transit kind_detail Values for Certain Areas in core
The following list of kind_detail values is only applicable for some regions of the world within the core layer parameter. For more information about the layer parameters available in the HERE Vector Tile API, see Layer Parameter.
Below are these kind_detail values ordered by sort_rank within the core layer parameter for Japan:
tram - 429 (for light_rail kind)
funicular - 430 (for funicular kind)
monorail - 431 (for monorail kind)
subway - 432 (for subway kind)
suburban - 433 (for light_rail kind)
regional - 435 (for regional railroads with train kind)
intercity - 436 (for intercity railroads with train kind)
high_speed - 437 (for high-speed railroads with train kind)