brouter/brouter-core
simdens 2f1422352e
Add "DIVIDE" command and new "maxslope" and "maxslopecost" parameters (#642)
* Added 'DIV' expression for profiles

* Added 'uphillmaxbuffercost' and 'downhillmaxbuffercost' parameter. This makes it possible to penalize very steep path sections

* Added 'div by zero' check in BExpression.java DIV command

* Simplify maxbuffercostdiv logic

* Added documentation about new features

* Fix typo

* Rename new DIV command

* Redesign the new commands
- Allow to set both the maxslope and the maxslopecost in the way context separately for uphill and downhill
- New names for the new commands that better reflect what they actually do

* Adapt the profile developers guide to the latest changes

* Improve wording

---------

Co-authored-by: quaelnix <122357328+quaelnix@users.noreply.github.com>
2024-01-17 16:34:52 +01:00
..
src Add "DIVIDE" command and new "maxslope" and "maxslopecost" parameters (#642) 2024-01-17 16:34:52 +01:00
.gitignore Switched build system to gradle 2020-05-24 16:46:04 +02:00
build.gradle Cleanup testcases (split, dependencies, assertions) 2022-10-23 10:51:02 +02:00