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

chore: update emissions codes to handle unknown Osm highway tag values #277

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

Nitnelav
Copy link
Collaborator

@Nitnelav Nitnelav commented Nov 12, 2024

The OsmHbefaMapping code in matsim-libs throws a RuntimeException when the road type isn't found in map.
We should write our own class for that at some point but then it could be contributed to matsim-libs directly.
In the mean time, the new class SafeOsmHbefaMapping catches the error and sets a default HBEFA road type.

Probably Fixes eqasim-org/ile-de-france#213

Co-authored-by: @diallitoz

@Nitnelav Nitnelav changed the title Update emissions codes to handle unknown Osm highway tag values chore: update emissions codes to handle unknown Osm highway tag values Nov 12, 2024
@sebhoerl
Copy link
Collaborator

Looks good, ready to merge?

@Nitnelav
Copy link
Collaborator Author

Yes !

@Nitnelav Nitnelav merged commit a0edb7f into eqasim-org:develop Nov 13, 2024
1 check passed
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.

Error when running matsim's emission contrib
2 participants