opentripmodel / otm5-change-requests

Tracking and reporting bugs and change requests of the OTM5 specification.
5 stars 1 forks source link

Road closures #69

Closed filogic closed 1 year ago

filogic commented 1 year ago

Type of request

Is your feature request related to a problem? Currently, there is no consistent way to describe road closures (e.g. in routes). This is a problem when describing planned - or actual road works. Route optimisation engines and planning systems should be able to take into account that a route is (temporary) closed, so it can determine an alternative route.

Describe the solution you'd like Introduction of a new constraint type named accessConstraint which has an enum property describing the accessability of the road: partialClosed, closed, open as depicted below:

{
  "type": "accessConstraint",
  "access": "closed", 
  "description": "2 lanes closed"
}

Note that "access": "open" is the same as not having this constraint at all, so this option might be superfluous.

Describe alternatives you've considered A solution is to use a generic constraint for this:

{
  "type": "genericConstraint",
  "access": "road closed"
}

However, this solution is not able to feed route optimisation engines and planning systems correctly as it does not restricts access to this specific road.

bmeesters commented 1 year ago

Thanks for making one so quickly! I think the current proposal is as discussed and good to add.

bmeesters commented 1 year ago

Discussed and accepted for OTM5.5

bmeesters commented 1 year ago

This is now part of OTM5.5