graphhopper / graphhopper/custom-model-editor

Add some missing features

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
2
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- [ ] negative numbers in operator expressions like `max_speed * -0.2`
- [ ] encoded value expressions like `.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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.