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

Add some missing features #3

Open
4 tasks
easbar opened this issue Jun 29, 2022 · 0 comments
Open
4 tasks

Add some missing features #3

easbar opened this issue Jun 29, 2022 · 0 comments

Comments

@easbar
Copy link
Member

easbar commented Jun 29, 2022

  • negative numbers in operator expressions like max_speed * -0.2
  • encoded value expressions like <ev>.ordinal() and edge.getDistance() (both numeric)
  • some math functions like Math.abs/sqrt
  • boolean encoded value-like expressions like edge.getName().contains("xyz")

See here what is allowed on the server side: https://github.com/graphhopper/graphhopper/blob/2140131ec079e21b7e7f05865a3b77913b0d9acc/core/src/main/java/com/graphhopper/routing/weighting/custom/ConditionalExpressionVisitor.java#L41-L42

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

No branches or pull requests

1 participant