Skip to content

Remove FlagEncoder.getAnnotation - #1811

Merged
karussell merged 6 commits into
masterfrom
refactor_getannotation
Dec 4, 2019
Merged

karussell merged 6 commits into
masterfrom
refactor_getannotation

Conversation

@karussell

@karussell karussell commented Dec 2, 2019 •

Copy link
Copy Markdown
Member

This removes the method and also a bit the ability to customize such annotations, but if this is really needed we can introduce it later. (There will follow up channges where we add warnings for fords and tolls.)

When multiple bike vehicles are used, this change will also reduce bit usage by 8 bits as it does no longer store the way type and paved/unpaved boolean in a separate EncodedValue but relies on RoadClass and could rely on Surface.

It also introduces a "ford warning" in all cases, so that we can switch defaults to handle #236 later (not in this PR)

@karussell karussell added this to the 1.0 milestone Dec 2, 2019
@karussell
karussell merged commit daa5b9c into master Dec 4, 2019
karussell added a commit that referenced this pull request Dec 4, 2019
karussell added a commit that referenced this pull request Dec 5, 2019
* more instruction annotations

* fix bug introduced in #1811

* avoid too many changes in i18n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant