Skip to content

Commit c803c1e

Browse files
authored
Merge branch 'master' into road-bike-speeds
2 parents a1874af + 59e7c4c commit c803c1e

File tree

129 files changed

+4595
-2401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+4595
-2401
lines changed

.github/workflows/project_automation.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ jobs:
1212
Handle_event:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: takb/project-board@master
15+
- name: run project board action
16+
uses: takb/project-board@master
17+
env:
18+
PROJECT_AUTOMATION: ${{ secrets.PROJECT_AUTOMATION }}
19+
if: env.PROJECT_AUTOMATION != null
1620
with:
1721
token: "${{ secrets.PROJECT_AUTOMATION }}"
1822
owner: "GIScience"
1923
repo: "openrouteservice"
2024
project: "16"
2125
columnbylabel: '{":bug: bug": "Priority"}'
22-
ignorecolumnnames: "Priority,Assigned,In progress,Review,Awaiting release,Done"
26+
ignorecolumnnames: "Priority,Assigned,In progress,Review,Awaiting release,Done"

.github/workflows/run_maven_tests.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# This workflow will build a Java project with Maven
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+
name: Java CI with Maven
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
run_tests:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 11
23+
- name: Cache SonarCloud packages
24+
uses: actions/cache@v1
25+
with:
26+
path: ~/.sonar/cache
27+
key: ${{ runner.os }}-sonar
28+
restore-keys: ${{ runner.os }}-sonar
29+
- name: Cache Maven packages
30+
uses: actions/cache@v2
31+
with:
32+
path: ~/.m2
33+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
34+
restore-keys: ${{ runner.os }}-m2
35+
- name: Copy app.config for API test
36+
run: cp ./openrouteservice-api-tests/conf/app.config.test ./openrouteservice/src/main/resources/app.config
37+
- name: Test, build, run API tests
38+
run: mvn -B -f openrouteservice/pom.xml verify jacoco:report
39+
- name: run SonarLint checks
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
43+
if: env.SONAR_TOKEN != null
44+
run: mvn -B -f openrouteservice/pom.xml org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
45+
- name: Rocket.Chat Notification
46+
uses: RocketChat/[email protected]
47+
env:
48+
ROCKETCHAT_WEBHOOK: ${{ secrets.ROCKETCHAT_WEBHOOK }}
49+
if: env.ROCKETCHAT_WEBHOOK != null
50+
with:
51+
type: ${{ job.status }}
52+
job_name: '*ORS CI Test*'
53+
token: ${{ secrets.PROJECT_AUTOMATION }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ openrouteservice/src/main/resources/app.config*
2323
docker/elevation_cache
2424
docker/conf
2525

26+
# Ignore ors.run file
27+
*ors.run
28+
2629
app.config.local
2730
cgiar_provider/
2831
graphs/

.travis.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 155 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,140 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55

6+
<!--
7+
This is how a Changelog entry should look like:
8+
9+
## [version] - YYYY-MM-DD
10+
11+
### Added
12+
- for new features.
13+
### Changed
14+
- existing functionality.
15+
### Deprecated
16+
- soon-to-be removed features.
17+
### Removed
18+
- now removed features.
19+
### Fixed
20+
- any bug.
21+
### Security
22+
- in case of vulnerabilities. (Use for vulnerability fixes)
23+
24+
RELEASING:
25+
1. Change Unreleased to new release number
26+
2. Add today's Date
27+
3. Change unreleased link to compare new release:
28+
[unreleased]: https://github.com/GIScience/openrouteservice/compare/vnew...HEAD
29+
4. Add new compare link below
30+
[new]: https://github.com/GIScience/openrouteservice/compare/vlast...vnew
31+
5. Git tag release commit with vX.X.X to enable links
32+
6. Double check issue links are valid
33+
7. Bump version in pom.xml
34+
-->
35+
636
## [Unreleased]
37+
### Changed
38+
- Improved road bike average speed to be faster on cycleways and slower on bad road surface or certain road types such as footways.
39+
40+
## [6.5.0] - 2021-05-17
741
### Added
8-
- New fast isochrone algorithm based on preprocessed data
42+
- Time-dependent core-based routing algorithms
43+
- Option to disable edge-based routing in core for a single weighting ([#928](https://github.com/GIScience/openrouteservice/issues/928))
44+
### Changed
45+
- Speed values falling below encoder's resolution are consequently stored as lowest possible non-zero value rather than being rounded to zero together with setting access to the corresponding edges to false ([#944](https://github.com/GIScience/openrouteservice/issues/944))
946
### Fixed
47+
- Do not consider ill-defined "maxspeed = 0" OSM tags ([#940](https://github.com/GIScience/openrouteservice/issues/940))
48+
- Use JSON definitions of country-specific speed limits ([#939](https://github.com/GIScience/openrouteservice/issues/939))
49+
- Config file parameter to set the number of active landmarks for core routing ([#930](https://github.com/GIScience/openrouteservice/issues/930))
50+
- Make sure A* with beeline approximation is used as default fallback algorithm ([#926](https://github.com/GIScience/openrouteservice/issues/926))
51+
- Prioritize graph build date over data date in routing request ([#925](https://github.com/GIScience/openrouteservice/issues/925))
52+
- Correct package declaration of BoundingBoxFactoryTest ([#933](https://github.com/GIScience/openrouteservice/issues/933))
53+
- Some corrections to Hungarian language support (thanks to [debyos](https://github.com/debyos))
54+
55+
## [6.4.3] - 2021-04-28
1056
### Changed
11-
### Deprecated
57+
- Reduced unnecessary warning messages caused by spring output stream handling ([#899](https://github.com/GIScience/openrouteservice/issues/899)
58+
### Fixed
59+
- Changed fast isochrone calculation behavior for multiple ranges
60+
61+
## [6.4.2] - 2021-04-21
62+
### Added
63+
- Allow to disable OSM conditional access and speed encoders via parameter in config file
64+
- Turkish language support (thanks to [kucar17](https://github.com/kucar17) for the translation)
65+
### Changed
66+
- app.config.sample HGV profile has now same settings regarding speed calculation as public API ([#806](https://github.com/GIScience/openrouteservice/issues/806))
67+
### Fixed
68+
- Concurrency bug in core edge filters which caused crashes during CALT graph preparation ([#905](https://github.com/GIScience/openrouteservice/issues/905))
69+
- Fixed isochrones range documentation ([#882](https://github.com/GIScience/openrouteservice/issues/676))
70+
- Updated installation instructions and usage to reflect v2 api ([#744](https://github.com/GIScience/openrouteservice/issues/744))
71+
- Fixed isochrones algorithm selection for location_type parameter ([#676](https://github.com/GIScience/openrouteservice/issues/676))
72+
- Updated link to client translations in readme
73+
74+
## [6.4.1] - 2021-03-31
75+
### Fixed
76+
- Fixed incorrect matrix response documentation ([#873](https://github.com/GIScience/openrouteservice/issues/873))
77+
- Fixed incorrect indexing of waypoints for consecutive identical coordinates ([#762](https://github.com/GIScience/openrouteservice/issues/762))
78+
- Changed isochrone polygon calculation to use more buffering
79+
80+
## [6.4.0] - 2021-03-26
81+
### Added
82+
- API endpoint "centrality" to calculate [betweenness centrality](https://en.wikipedia.org/wiki/Betweenness_centrality) values for nodes inside a given bounding box. Centrality is calculated using Brandes' algorithm.
83+
- Support for turn restrictions with core-based routing algorithms
84+
### Changed
85+
- Use Querygraph and virtual nodes for isochrone calculation in the same manner as in routing
86+
- Remove Isochrones v1 api tests
87+
### Fixed
88+
- Fixed calculation of route distance limits with skipped segments ([#814](https://github.com/GIScience/openrouteservice/issues/814))
89+
- Fixed missing segment distance and duration ([#695](https://github.com/GIScience/openrouteservice/issues/695))
90+
- Fixed no response when asking for isochrone intersections ([#675](https://github.com/GIScience/openrouteservice/issues/675))
91+
- Fixed continue_straight option with no bearing on CH-enabled profiles
92+
93+
## [6.3.6] - 2021-02-02
94+
### Fixed
95+
- Expand coordinates of all previous limit polygons before adding to new builder to prevent break-in on long polygon edges
96+
97+
## [6.3.5] - 2021-01-28
98+
### Added
99+
- Output run file to signal completion of graph building/loading at init time
100+
### Fixed
101+
- Define behavior for first container start with existing app.config
102+
103+
## [6.3.4] - 2021-01-19
104+
### Changed
105+
- Overhaul of Contour creation for fast isochrones. Fixing unexpected behaviour for border edges.
106+
107+
## [6.3.3] - 2021-01-15
108+
### Fixed
109+
- Updated CGIAR URL in GH (see GH fork [#35](https://github.com/GIScience/graphhopper/pull/35))
110+
111+
## [6.3.2] - 2020-12-14
112+
### Added
113+
- Prototype of time-dependent routing with A*, which takes into account OSM conditional access restrictions and speed limits
114+
- Japanese language support ([#811](https://github.com/GIScience/openrouteservice/pull/811), thanks to [higa4](https://github.com/higa4) for the translation)
115+
### Changed
116+
- Added performance improvement for fast isochrones in active cell calculation
117+
### Fixed
118+
- Stabilize geometry for small isochrones with small intervals
119+
- Updated dependencies
120+
121+
## [6.3.1] - 2020-10-20
122+
### Fixed
123+
- Updated documentation for running in Docker ([#798](https://github.com/GIScience/openrouteservice/issues/798))
124+
- Handle invalid combination of HillIndexStorage without elevation ([#683](https://github.com/GIScience/openrouteservice/issues/683))
125+
- Enabled turning off elevation data handling for profiles
126+
- Fixed a bug in fast isochrones preprocessing
127+
128+
## [6.3.0] - 2020-09-14
129+
### Added
130+
- New fast isochrone algorithm based on preprocessed data
131+
### Fixed
132+
- Fixed handling of invalid extra info requests ([#795](https://github.com/GIScience/openrouteservice/issues/795))
12133

13134
## [6.2.1] - 2020-08-13
14135
### Added
15136
- Check whether routing points are within different countries before routing and break if they are and all borders should be avoided
16137
### Fixed
17138
- Updated Docker process to use Java 11 ([#777](https://github.com/GIScience/openrouteservice/issues/777))
18139
- Correctly resolve routing profile categories when initializing core edge filters in preprocessing ([#785](https://github.com/GIScience/openrouteservice/issues/785))
19-
### Changed
20-
- Improved road bike average speed to be faster on cycleways and slower on bad road surface or certain road types such as footways.
21-
### Deprecated
22140

23141
## [6.2.0] - 2020-07-15
24142
### Added
@@ -58,7 +176,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
58176
- Enable CH and Core-ALT preprocessing with recommended weighting for all profiles.
59177
- Refactor wheelchair builder
60178
- Running a Docker container will now create a `app.config` on the host machine, so it's now usable from Dockerhub
61-
### Deprecated
62179

63180
## [6.1.0] - 2020-03-06
64181
### Added
@@ -80,7 +197,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
80197
- Make Docker setup more flexible wrt customizations ([#627](https://github.com/GIScience/openrouteservice/issues/627))
81198
- Updated GraphHopper to newer version (0.13)
82199
- Give more details to green and quiet routing API descriptions ([#632](https://github.com/GIScience/openrouteservice/issues/632))
83-
### Deprecated
84200

85201
## [6.0.0] - 2019-12-03
86202
### Added
@@ -127,7 +243,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
127243
- Removed obsolete storages ([#536](https://github.com/GIScience/openrouteservice/issues/536))
128244
- Refactor fallback to preprocessing-independent algorithm for certain routing request params
129245
- Removed some landmark sets as default from app.config.sample
130-
### Deprecated
131246

132247
## [5.0.1] - 2019-04-08
133248
### Added
@@ -153,7 +268,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
153268
- Removed the code that was inserted for the prototype traffic weightings as it was not used and made GH updates more complicated.
154269

155270

156-
## [5.0] - 2019-02-25
271+
## [5.0.0] - 2019-02-25
157272
### Added
158273
- Updated api code to use the Spring framework, with the v2 api being added ([Issue #233](https://github.com/GIScience/openrouteservice/issues/233))
159274
- Added support for ISO 3166-1 Alpha-2 / Alpha-3 codes for routing directions option avoid_countries ([Issue #195](https://github.com/GIScience/openrouteservice/issues/195))
@@ -170,7 +285,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
170285
- Added /directions as an endpoint for routing ([Issue #384](https://github.com/GIScience/openrouteservice/issues/384))
171286
- Removed the following avoid features: pavedroads, unpavedroads, tunnels, tracks and hills, as well as the option to set maximum speed; for cycling and walking profiles the option to specify difficulty settings such as fitness level and maximum steepness ([issue #396](https://github.com/GIScience/openrouteservice/issues/396))
172287
- Updated pom to always build ors.war ([Issue #432](https://github.com/GIScience/openrouteservice/issues/432))
173-
### Deprecated
174288

175289
## [4.7.2] - 2018-12-10
176290
### Added
@@ -188,7 +302,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
188302
- Updated checks on pedestrian way filter for access restrictions
189303
### Changed
190304
- Allowed access for cars and hgvs on access=destination roads ([Issue #342](https://github.com/GIScience/openrouteservice/issues/342))
191-
### Deprecated
192305

193306
## [4.7.1] - 2018-10-24
194307
### Added
@@ -204,9 +317,8 @@ Added area_units for isochrones API as units being misleading ([Issue #272](http
204317
- Changed app.config.sample for docker to consider split profiles ([Issue #320](https://github.com/GIScience/openrouteservice/issues/320))
205318
- Changed minor information in pom.xml
206319
- Updated API test starting coordinates to be on a road ([Issue #328](https://github.com/GIScience/openrouteservice/issues/328))
207-
### Deprecated
208320

209-
## [4.7] - 2018-10-10
321+
## [4.7.0] - 2018-10-10
210322
### Added
211323
- Removed locations code as this will be handled by openpoiservice in the future ([Issue #120](https://github.com/GIScience/openrouteservice/issues/120))
212324
- Removed Geocoding code as this will be handled by the geocoder service rather than within ORS
@@ -265,7 +377,7 @@ are attached to roads. ([Issue #162](https://github.com/GIScience/openrouteservi
265377
- Updated the error response for geocding when no address found ([Issue #134](https://github.com/GIScience/openrouteservice/issues/134))
266378

267379

268-
## [4.5] - 2018-02-27
380+
## [4.5.0] - 2018-02-27
269381
### Added
270382
- Functionality has been added to restrict routes so that they do not cross all borders, controlled borders, or the borders of specific countries ([Issue #41](https://github.com/GIScience/openrouteservice/issues/41))
271383
- Added GeoJson export for routing exports ([Issue #54](https://github.com/GIScience/openrouteservice/issues/54))
@@ -327,11 +439,32 @@ are attached to roads. ([Issue #162](https://github.com/GIScience/openrouteservi
327439
- Fix bug in RPHAST when location lies on a oneway road.
328440
- Consider turn restrictions if optimized=false is passed.
329441

330-
### Changed
331-
-
332-
333-
### Removed
334-
-
335-
336-
### Deprecated
337-
-
442+
[unreleased]: https://github.com/GIScience/openrouteservice/compare/v6.5.0...HEAD
443+
[6.5.0]: https://github.com/GIScience/openrouteservice/compare/v6.4.3...v6.5.0
444+
[6.4.3]: https://github.com/GIScience/openrouteservice/compare/v6.4.2...v6.4.3
445+
[6.4.2]: https://github.com/GIScience/openrouteservice/compare/v6.4.1...v6.4.2
446+
[6.4.1]: https://github.com/GIScience/openrouteservice/compare/v6.4.0...v6.4.1
447+
[6.4.0]: https://github.com/GIScience/openrouteservice/compare/v6.3.6...v6.4.0
448+
[6.3.6]: https://github.com/GIScience/openrouteservice/compare/v6.3.5...v6.3.6
449+
[6.3.5]: https://github.com/GIScience/openrouteservice/compare/v6.3.4...v6.3.5
450+
[6.3.4]: https://github.com/GIScience/openrouteservice/compare/v6.3.3...v6.3.4
451+
[6.3.3]: https://github.com/GIScience/openrouteservice/compare/v6.3.2...v6.3.3
452+
[6.3.2]: https://github.com/GIScience/openrouteservice/compare/v6.3.1...v6.3.2
453+
[6.3.1]: https://github.com/GIScience/openrouteservice/compare/v6.3.0...v6.3.1
454+
[6.3.0]: https://github.com/GIScience/openrouteservice/compare/v6.2.1...v6.3.0
455+
[6.2.1]: https://github.com/GIScience/openrouteservice/compare/v6.2.0...v6.2.1
456+
[6.2.0]: https://github.com/GIScience/openrouteservice/compare/v6.1.1...v6.2.0
457+
[6.1.1]: https://github.com/GIScience/openrouteservice/compare/v6.1.0...v6.1.1
458+
[6.1.0]: https://github.com/GIScience/openrouteservice/compare/v6.0.0...v6.1.0
459+
[6.0.0]: https://github.com/GIScience/openrouteservice/compare/v5.0.2...v6.0.0
460+
[5.0.2]: https://github.com/GIScience/openrouteservice/compare/v5.0.1...v5.0.2
461+
[5.0.1]: https://github.com/GIScience/openrouteservice/compare/5.0.0...v5.0.1
462+
[5.0.0]: https://github.com/GIScience/openrouteservice/compare/v4.7.2...5.0.0
463+
[4.7.2]: https://github.com/GIScience/openrouteservice/compare/4.7.1...v4.7.2
464+
[4.7.1]: https://github.com/GIScience/openrouteservice/compare/4.7.0...4.7.1
465+
[4.7.0]: https://github.com/GIScience/openrouteservice/compare/4.5.1...4.7.0
466+
[4.5.1]: https://github.com/GIScience/openrouteservice/compare/4.5.0...4.5.1
467+
[4.5.0]: https://github.com/GIScience/openrouteservice/compare/4.4.2...4.5.0
468+
[4.4.2]: https://github.com/GIScience/openrouteservice/compare/4.4.1...4.4.2
469+
[4.4.1]: https://github.com/GIScience/openrouteservice/compare/4.4.0...4.4.1
470+
[4.4.0]: https://github.com/GIScience/openrouteservice/compare/4.3.0...4.4.0

CONTRIBUTE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ We'd like all pull requests to adhere to the following rules:
6767
```
6868
git checkout my-new-feat
6969
git stash
70-
git rebase development
70+
git rebase master
7171
git stash pop
7272
```
7373

0 commit comments

Comments
 (0)