Skip to content

Support truck (HGV) routing properties #1553

@nvkelso

Description

@nvkelso

tl;dr

See PR #1709 for documentation on what was actually decided.

I'm fine if this is for zooms 14+ only at first? We should generally follow the stripping we added in v1.6.0 depending on the kind of road...

  • Add low_emission_zone polygons to landuse layer.
  • Add properties on existing line geoms in the roads layer:
    • hgv: optional property indicating general truck heavy goods vehicle truck access. See below for list of values.
      values whitelist: no, designated, destination, delivery, local and agricultural.
    • hgv_restriction: optional property indicating limitations to heavy goods vehicle truck access. See below for list of values. Available on both point and line geometries. See also hgv_restriction_shield_text.
      values include: weight (kg), height (cm), length (cm), width (cm), wpa (weight per axle, in kg), kpra (king pin to rear axle leght, in cm), hazmat, other and multiple if more than one.
    • hgv_restriction_shield_text: optional and paired with hgv_restriction points with values like 5.1m. Because the units are different per restriction an abbreviation should be provided. Values in meters can be specified with one decimal precision but value of 5.0m should be given as 5m.
    • toll: optional boolean value indicating whether a fee must be paid by general traffic to travel the feature.
    • toll_hgv: optional boolean value when tool only applies to certain classes of vehicles like heavy good vehicle trucks.
  • Add new hgv_restriction kind points in the roads layer, with following properties:
    • hgv: optional property indicating general truck heavy goods vehicle truck access.
      values whitelist: no, designated, destination, delivery, local and agricultural.
    • hgv_restriction: optional property indicating limitations to heavy goods vehicle truck access. See below for list of values. Available on both point and line geometries. See also hgv_restriction_shield_text.
      values include: weight (kg), height (cm), length (cm), width (cm), wpa (weight per axle, in kg), kpra (king pin to rear axle leght, in cm), hazmat, other and multiple if more than one.
    • hgv_restriction_shield_text: optional and paired with hgv_restriction points with values like 5.1m. Because the units are different per restriction an abbreviation should be provided. Values in meters can be specified with one decimal precision but value of 5.0m should be given as 5m.
    • Possibly update documentation to clarify that hgv_restriction is an allowed kind in the roads layer?

===

Just like we did for Bike Map support, let's add properties on roads layer to parallel what Valhalla sees from OSM for truck_speed and truck_route. There may also be additional properties for height restrictions on bridges and such?

See also:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions