Skip to content

introduce required/default encoded values - #1805

Merged
karussell merged 3 commits into
masterfrom
default_ev
Nov 29, 2019
Merged

karussell merged 3 commits into
masterfrom
default_ev

Conversation

@karussell

@karussell karussell commented Nov 26, 2019 •

Copy link
Copy Markdown
Member

This PR basically moves all the current intermediate code into the build method making the EncodingManager.Builder a real builder. It is no longer required to know the order in which the different parsers should be added.

And it adds some EncodedValues if not yet existing. This will make it easier to handle instruction calculation like #990. Certainly some EncodedValues should still stay optional but having road_class and max_speed is important for calculating the instructions of all different travel modes.

This PR also removes the no longer necessary method GHUtility.addDefaultEncodedValues.

Now, if elevation is enabled the elevation interpolation is done without further configuration, ie. some tests needed minor changes.

@karussell karussell added this to the 1.0 milestone Nov 26, 2019
@karussell
karussell merged commit 9dc4e01 into master Nov 29, 2019
@karussell karussell changed the title introduce required encoded values introduce required/default encoded values Jan 24, 2020
@karussell karussell mentioned this pull request Apr 29, 2020
58 of 71 tasks
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