Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
It is possible to create a TransitAccessibilityMapRouting object with an invalid value for locationGeojson. The validation method does not validate that the location is a valid geojson object, and neither does the getAttributesOrDefault function in TransitAccessibilityMapCalculator.ts file.
This is made obvious when calling those methods from the Transition API.
It may be the same for the corresponding origin/destination routing attributes. We should check it at the same time.
It is possible to create a
TransitAccessibilityMapRouting
object with an invalid value forlocationGeojson
. The validation method does not validate that the location is a valid geojson object, and neither does thegetAttributesOrDefault
function inTransitAccessibilityMapCalculator.ts
file.This is made obvious when calling those methods from the Transition API.
It may be the same for the corresponding origin/destination routing attributes. We should check it at the same time.