Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Person vehicle types attribute #2877

Merged
merged 11 commits into from
Oct 16, 2023
Merged

Person vehicle types attribute #2877

merged 11 commits into from
Oct 16, 2023

Conversation

rakow
Copy link
Contributor

@rakow rakow commented Oct 16, 2023

Introduces a vehicleTypes attribute in persons and a new PersonVehicleTypes class that allow to store mode specific vehicle types. Use VehicleUtils.insertVehicleTypesIntoAttributes to set this attribute.

This class is similar to the existing PersonVehicles, but instead of the id it allows to store a mode specific vehicle type.
This attribute is completely optional, and the current behavior is not changed, unless this attribute is set. Setting the type explicitly is useful for use-cases where mode specific vehicle types are not sufficient, and the types need to be further differentiated on a per-person basis.

Closes #2801 .

@rakow
Copy link
Contributor Author

rakow commented Oct 16, 2023

@mrieser: I think minibus and dmc contrib are still failing undeterministicly.

@rakow rakow merged commit 3b1b938 into master Oct 16, 2023
48 checks passed
@rakow rakow deleted the person-vehicle-types branch October 16, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Store vehicle type in PersonVehicles
1 participant