Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
400 commits
Select commit Hold shift + click to select a range
ffcbe9b
Fix pt tests
easbar Aug 29, 2022
fd0a490
Disable flaky test
easbar Aug 29, 2022
468f23a
custom and fastest calcEdgeMillis again: make them actually the same
easbar Aug 30, 2022
f9bd8c5
Validate that osm ids are not negative (#2652)
lukasalexanderweber Aug 30, 2022
5a4078a
Add comment about negative osm ids, code formatting
easbar Aug 30, 2022
8f5c7b2
OSMParsers: don't accept null TagParser
karussell Aug 30, 2022
3b22d49
replace car4wd with roads and a custom_model (#2651)
karussell Aug 30, 2022
9dcc67c
Revert "OSMParsers: don't accept null TagParser"
karussell Aug 31, 2022
a615a6b
Add urban density encoded value to identify built-up areas (#2637)
easbar Aug 31, 2022
dd161dd
Merge branch 'gh-master' into last_changes_gh
Aug 31, 2022
056acbd
Merge branch 'develop' into last_changes_gh
Aug 31, 2022
ddd2b1e
Aug 31, 2022
c9d85e6
Rename Development -> UrbanDensity (#2637)
easbar Aug 31, 2022
c9495bc
Support ";" access delimiter for car access. (#2655)
ratrun Sep 5, 2022
8f982cb
Merge branch 'master' of github.com:graphhopper/graphhopper into last…
HDBandit Sep 8, 2022
abbee4e
map match without graphhopper class (#2657)
easbar Sep 9, 2022
789580c
Solve Viterbi problem with Dijkstra to calculate fewer routes
michaz Sep 10, 2022
d61d0cd
Solve Viterbi problem with Dijkstra to calculate fewer routes
michaz Sep 10, 2022
02cb7e2
use 6.x/6.0 in readme
karussell Sep 13, 2022
9d2b7e6
use 7.0-SNAPSHOT
karussell Sep 13, 2022
1a5c237
use TestUtils in MapMatching tests too
karussell Sep 14, 2022
7adbce5
MapMatching router interface
michaz Sep 17, 2022
cbb8350
announcement
karussell Sep 19, 2022
9fae049
Merge branch '6.x'
karussell Sep 20, 2022
046ff58
fall back to best available algorithm instead of demanding a "hint"
michaz Sep 21, 2022
fb8d1df
Add edge details to /mvt
easbar Sep 20, 2022
6131eb8
Fix /mvt test
easbar Sep 22, 2022
87d8038
All all EVs to /mvt unconditionally, remove details parameter
easbar Sep 22, 2022
a3d6ca1
No longer mention FlagEncoder in profiles.md
easbar Sep 22, 2022
65b70f9
read from GeoJSON export of boundaries.osm (#2658)
karussell Sep 22, 2022
8f6b096
github actions: JDK19 instead of 18
karussell Sep 23, 2022
439bff5
Github is not yet ready, revert "github actions: JDK19 instead of 18"
karussell Sep 23, 2022
5fff1ee
mapmatching: structured and more informative logging
michaz Sep 24, 2022
a73117c
/mvt: return edge details for both directions
easbar Sep 28, 2022
217603c
fix /mvt test
easbar Sep 28, 2022
992ec52
if country overlapp: pick the smaller one; no further warnings for no…
karussell Sep 27, 2022
a56f889
add test github build
easbar Sep 28, 2022
8a4b65c
configurable roads vehicle
karussell Sep 28, 2022
a145855
remove
easbar Sep 28, 2022
62e98dc
trigger measurement
easbar Sep 28, 2022
28b07fa
Cleanup GitHub workflows a bit
easbar Sep 28, 2022
7ef1e87
trigger build
easbar Sep 28, 2022
829753d
use same names for the keys in the EdgeKVStorage (#2661)
karussell Sep 29, 2022
e4f67c3
Move curvature EncodedValue out of MotorcycleTagParser (#2665)
karussell Sep 29, 2022
02046ae
Improve docs regarding encoded values and for now remove misleading d…
karussell Sep 30, 2022
c364f05
Remove gitlab ci
easbar Oct 1, 2022
a558141
slope: percentage, not factor
karussell Sep 30, 2022
881058e
roads vehicle should ignore all barriers like fords
karussell Oct 1, 2022
f003176
bug in EncodedValue for min<0
karussell Oct 3, 2022
c638016
AverageSpeedDetails: prevEdgeId is sometimes outdated
karussell Oct 3, 2022
3fb47d1
matrix sync client: remove unnecessary and incorrect slash after endp…
karussell Oct 4, 2022
7c2c45d
Fix trigger
easbar Oct 4, 2022
ab06d7a
again
easbar Oct 4, 2022
0f29560
again
easbar Oct 4, 2022
8dbf494
again
easbar Oct 4, 2022
a18e811
deprecate graph.flag_encoders and use custom weighting in example con…
karussell Oct 5, 2022
51dc8ab
Remove VehicleTagParser#applyWayTags (#2669)
easbar Oct 5, 2022
5b1c7b2
remove Bike2WeightTagParser (#2668)
karussell Oct 5, 2022
b907cdf
units
michaz Sep 26, 2022
f1fd1d1
Update custom-models.md
karussell Oct 5, 2022
92f6480
Simplify graph.flag_encoders/vehicles check
easbar Oct 6, 2022
fc86257
Provide all intersections with additional information along a route v…
boldtrn Oct 7, 2022
17f50b8
Add branch name to core benchmark trigger
easbar Oct 7, 2022
0aca3cb
Rename OSMTurnRelation to OSMTurnRestriction
easbar Oct 7, 2022
4e93575
Move OSMTurnRestriction, PillarInfo and ConditionalTagInspector to an…
easbar Oct 7, 2022
6df9908
Remove GraphHopperOSM
easbar Oct 7, 2022
1e2c349
fixed bike2.yml, #2668
karussell Oct 7, 2022
19f2757
Remove YAML support for server-side custom models (#2672)
karussell Oct 11, 2022
5580bbc
Replace old with new maps client (#2674)
easbar Oct 14, 2022
3a0f976
Remove bike2 vehicle encoded values
easbar Oct 14, 2022
2b139db
fix critical bug in client-hc for Matrix API
karussell Oct 14, 2022
46f5aca
fix critical bug in client-hc for Matrix API
karussell Oct 14, 2022
8f47310
Update maps: distances in miles and bugfixes
easbar Oct 15, 2022
6b2e6f1
Print warnings for odd restriction relations, handle no_exit, only_u_…
easbar Oct 18, 2022
86d3a3c
Ignore restriction relation members of type location_hint
easbar Oct 18, 2022
99be96a
Revert "Remove bike2 vehicle encoded values"
karussell Oct 19, 2022
fe20c07
Revert "remove Bike2WeightTagParser (#2668)"
karussell Oct 19, 2022
8163b09
Upgrade dropwizard to 2.0.34 (#2682)
easbar Oct 23, 2022
37380c0
Put back pt, isochrone and map-matching clients, #2674
easbar Oct 25, 2022
c943724
Update maps version
easbar Oct 26, 2022
9668e4d
remove (low) maxvisitednodes default for mapmatching #2677
michaz Oct 28, 2022
9df08d7
exception instead of incomplete path when transition not found #2677
michaz Oct 28, 2022
38b9fa6
i18n: updated and new az translation
karussell Oct 31, 2022
2d1beb0
Fix for #2686
karussell Oct 31, 2022
5ace05c
Improve area check precision (#2684)
otbutz Oct 31, 2022
84c1687
Update maps
easbar Oct 31, 2022
aedc0f4
update translation docs #2686
karussell Oct 31, 2022
525a6cd
force max_slope and average_slope to create SlopeCalculator
karussell Nov 1, 2022
f8d3718
remove that motorroad=yes influences speed or is used as highway tag,…
karussell Nov 1, 2022
4fcee79
CurvatureCalculator: if included in tests that don't set artificial tags
karussell Nov 7, 2022
a0862bc
Treat segments tagged as "lcn=yes" the same way as a bicycle route re…
ratrun Nov 8, 2022
b470886
update maps
easbar Nov 9, 2022
4872a0d
Fix rare NPE in map matching
michaz Nov 9, 2022
978956d
Add support for (single) via-way restrictions (#2689)
easbar Nov 10, 2022
03e64da
Remove outdated comment and rule
michaz Nov 10, 2022
b17d84a
Revert "Remove outdated comment and rule"
michaz Nov 11, 2022
ab5a8b2
value can be no for oneway:bicycle but also for cycleway:right:oneway…
karussell Nov 11, 2022
8bc906f
Replace com.wdtinc MVT library with no.ecc (#2698)
easbar Nov 21, 2022
98be79d
Upgrade to JTS 1.19.0, fix #1803
easbar Nov 21, 2022
45be77c
minor
karussell Nov 21, 2022
93a4571
Support ";" access delimiter for bikes (#2676)
ratrun Nov 21, 2022
43eef6d
Update maps, geocoding is disabled now
easbar Nov 21, 2022
32184ed
Remove LegacyProfileResolver (#2679)
karussell Nov 22, 2022
cb0f72c
add comment
easbar Nov 23, 2022
c1dd843
Update README.md
karussell Nov 24, 2022
4b891fe
Copy no.ecc code, remove no.ecc repository, #2698
easbar Nov 24, 2022
6b54329
Create edges even if flags are empty (#2700)
easbar Nov 29, 2022
ff38f3d
Add OSM way ID encoded value (#2701)
easbar Nov 30, 2022
e93f3e7
remove Bike2WeightTagParser again (#2668)
karussell Nov 30, 2022
fa9a09e
Merge tag '6.1' into last_changes_gh
Dec 1, 2022
33403d6
fix changelog #2703
karussell Dec 1, 2022
ef2937f
Use explicit ignore list for highway values during OSM import (#2702)
easbar Dec 3, 2022
97579b6
Revert "Use explicit ignore list for highway values during OSM import…
easbar Dec 3, 2022
9629f4e
split buildEncodingManagerAndOSMParsers method
easbar Dec 3, 2022
daccf5f
Revert "Revert "Use explicit ignore list for highway values during OS…
easbar Dec 3, 2022
b9b1ed4
Revert "Revert "Revert "Use explicit ignore list for highway values d…
easbar Dec 3, 2022
b8e7770
Revert "Revert "Revert "Revert "Use explicit ignore list for highway …
easbar Dec 3, 2022
8a11f70
Allow ignoring vehicle tag parser name
easbar Dec 3, 2022
38e5049
Add tests to demonstrate that moped=yes etc. does not allow driving o…
easbar Dec 4, 2022
4ecbd61
Keep ways tagged as man_made=pier or platform=railway for foot/bike
easbar Dec 4, 2022
b7c4a0e
Footway encoded value (#2707)
easbar Dec 5, 2022
67ffb79
Add ignored highways to benchmark.sh
easbar Dec 5, 2022
c872780
do not throw an error if Java config is used without config file
karussell Dec 7, 2022
a858e65
Revert "do not throw an error if Java config is used without config f…
easbar Dec 8, 2022
03978b8
Revert ignored highways for now
easbar Dec 8, 2022
0930c16
Use GitHub Actions for Maven Central deployment too (#2709)
karussell Dec 9, 2022
3c7349a
include bus into TransportationMode enum, #2710
karussell Dec 13, 2022
61454fb
log the exception, not just the message
michaz Nov 30, 2022
c9c5550
mapmatching: put visited nodes into log event
michaz Dec 13, 2022
1d672f8
github packages: set permissions
karussell Dec 14, 2022
8f9e3a4
open a few things up
michaz Dec 19, 2022
333303b
vehicle -> profile
michaz Dec 29, 2022
d56aa11
remove unused non-private abstract method
michaz Dec 30, 2022
edf87e6
Implement edge-to-edge routing for unidir AStar
michaz Dec 30, 2022
9f442cb
Revert "Revert ignored highways for now"
easbar Jan 2, 2023
8d8dfc6
Fix test
easbar Jan 2, 2023
39d13f8
Put back test (?)
easbar Jan 3, 2023
b1b3815
Rename publish-github-actions.yml
easbar Jan 3, 2023
fe0834f
Enable LM for small benchmark map and A* measurements for small map
easbar Jan 4, 2023
3ca3b50
Remove name, turnCostEnc and getAccess from VehicleTagParser (#2713)
easbar Jan 5, 2023
e8e75df
make CustomWeighting.Parameters public, #2717
karussell Jan 9, 2023
1ea0a66
distance_influence should not get a default value if no value is spec…
karussell Jan 10, 2023
99d822e
comment
karussell Jan 10, 2023
e77378c
make CustomWeighting.Parameters constructor public too, #2717
karussell Jan 10, 2023
71c1356
pt: push back mapdb
michaz Jan 11, 2023
d3255a6
remove hasDistanceInfluence, #2716
karussell Jan 11, 2023
bb3f908
i18n: updated, #2721
karussell Jan 11, 2023
02574f8
cleanup of ElevationProvider, fixes #2642
karussell Jan 12, 2023
7a87164
average_speed path detail: avoid infinity value (or max JS floats) ne…
karussell Jan 12, 2023
49b0dd1
fixup: pt: push back mapdb
michaz Jan 13, 2023
e1e34c2
bug fix for #2716
karussell Jan 14, 2023
7d55f09
Add GH version to client-hc
easbar Jan 16, 2023
4dca77d
Fix
easbar Jan 16, 2023
f2c5e66
make custom areas available in custom models (#2725)
karussell Jan 16, 2023
ea7ad22
set feature.id from feature.properties.id for our countries.geojson, …
karussell Jan 16, 2023
d668b24
getResourceAsStream implicitly creates a FileSystem required when the…
karussell Jan 16, 2023
ad8270f
specially handle "NO_EDGE"; fixes #2723
michaz Jan 17, 2023
cdd131d
Extract method
easbar Jan 17, 2023
1ed4bee
avoid rounding down small speed (#2726)
karussell Jan 18, 2023
2593298
Maxspeed fix (#2727)
karussell Jan 18, 2023
4cc48ab
Do not check if edge flags are empty before handling node tags
easbar Jan 18, 2023
05a79ad
Return void from TagParser#handleWayTags
easbar Jan 18, 2023
3987f50
Remove some explicit edge flag usage
easbar Jan 19, 2023
b602423
EncodingManager: initializer config is only needed when building
easbar Jan 19, 2023
7b4e735
Fix
easbar Jan 19, 2023
174d269
Use EV factory
easbar Jan 19, 2023
2855919
Test access and speed instead of just flags.isEmpty() for foot and bi…
easbar Jan 20, 2023
b411856
i18n: adding no_NO and updating pl_PL while at it (#2730)
OlafFlebbeBosch Jan 25, 2023
76c3484
areas: don't enforce empty properties, use separate check for areaID,…
karussell Jan 26, 2023
137afdd
increase point_hint limit from 100 to 170, fixes #2732
karussell Jan 26, 2023
ae147f2
Moving Bokmål locale to the correct nb_NO (#2731)
OlafFlebbeBosch Jan 26, 2023
b713008
i18n: lexicographical order, #2731
karussell Jan 27, 2023
928c080
support for foot:backward and forward, fixes #2565
karussell Jan 27, 2023
b9805d0
minor docs update
karussell Jan 27, 2023
5faa5cb
move area/EV name check into relevant classes and fix #2735
karussell Jan 27, 2023
10eb600
fix annoying error message if path details are missing
karussell Jan 28, 2023
57ef0cb
remove comment (hmm-lib is no longer used)
karussell Jan 31, 2023
48e84a9
Split vehicle tag parsers into access, speed and priority (#2738)
easbar Jan 31, 2023
b336780
Use multi-threading for subnetwork preparation (#2737)
easbar Jan 31, 2023
de69896
bike: always use 4km/h for railway=platform, discussion in #2728
karussell Jan 31, 2023
b1f2bd7
use custom_models.directory consistent naming regarding custom_areas.…
karussell Feb 1, 2023
adf9046
Report rank (by distance to network) of chosen snaps
michaz Feb 1, 2023
f6b1a1b
Graph speed measurement
easbar Feb 2, 2023
aa71dc2
Remove block area (#2741)
easbar Feb 7, 2023
b8a010e
Make sure waypoints are not removed during path simplification (#2742)
easbar Feb 7, 2023
c6da16f
use FeatureCollection instead of String,Feature Map (#2734)
karussell Feb 8, 2023
f64c57c
fix #2339 (#2736)
karussell Feb 8, 2023
95565fd
removed unused method (Polygon, #2741)
karussell Feb 9, 2023
2e2eba1
more mapmatching statistics
michaz Feb 10, 2023
52cb04e
Remove no-longer existing extraProfiles field from maps config
easbar Feb 12, 2023
4494875
i18n: updated sv_SE (#2748)
OlafFlebbeBosch Feb 13, 2023
a27fb6a
Revert "removed unused method (Polygon, #2741)"
easbar Feb 13, 2023
86665ab
Revert "Remove block area (#2741)"
easbar Feb 13, 2023
b24a3d7
Allow small tolerance for waypoint consistency check, #2742
easbar Feb 13, 2023
3df30f8
handle 'permit' like 'private', fixes #2712 (#2749)
karussell Feb 14, 2023
3910b02
client-hc: add hints to response
easbar Feb 15, 2023
54191a1
PathDetailsBuilderFactory: avoid modifying request
karussell Feb 15, 2023
c4cbcf7
client-hc: return hints as text
easbar Feb 15, 2023
901bdeb
move to more recent java versions
karussell Feb 15, 2023
a36dfaf
Add request transformer hook to RouteResource
easbar Feb 16, 2023
3089ae9
i18n: updated tr and fix typo in nb_NO (#2750)
OlafFlebbeBosch Feb 16, 2023
cb5abf6
minor fix
karussell Feb 16, 2023
b69aa7f
client-hc: use Helper.toObject
easbar Feb 17, 2023
43792ad
readme: use jar from maven central
karussell Feb 17, 2023
c368573
Improve error message when using another vehicle than the ones used f…
easbar Feb 18, 2023
fe9706c
CustomModelParser: more explicit verification of method calls, fixes …
karussell Feb 19, 2023
e63c5f3
remove StringEncodedValue support from custom model due to insufficie…
karussell Feb 19, 2023
d734238
Extend Heading Documentation (#2714)
lukasalexanderweber Feb 21, 2023
8f144d8
Minor changes for heading docs, #2714
easbar Feb 21, 2023
bae8905
Make sure LM approximation is never worse than beeline (#2756)
easbar Feb 21, 2023
6f5e38c
remove hike vehicle (#2759)
karussell Feb 21, 2023
78fe44a
Remove block_area (again) (#2755)
easbar Feb 21, 2023
ffe2088
Fix snap issue (#2752)
karussell Feb 23, 2023
fbec668
Extract createSolver methods
easbar Feb 24, 2023
d9126a6
add parsers only once if multiple bike/foot profiles
karussell Feb 24, 2023
69a1c59
Extract test method
easbar Feb 24, 2023
b2b955d
Allow adding node-based CH for profiles with turn costs
easbar Feb 25, 2023
6bca4de
protected
easbar Feb 25, 2023
f8f6f23
further lower priority for sidewalk=no, especially for highways not i…
karussell Feb 28, 2023
bed3332
fix bug in conditional handling, #1326
karussell Mar 1, 2023
fd2ee36
fix comment
karussell Mar 1, 2023
f23d1ea
clean up custom models and documentation, #2659
karussell Mar 1, 2023
11c3dee
foot vehicle: important fix regarding barrier nodes, bug introduced i…
karussell Mar 2, 2023
9af3978
Revert "Allow adding node-based CH for profiles with turn costs"
easbar Mar 3, 2023
d6b3ff7
fix bike2.json reference in config example
karussell Mar 2, 2023
2ea7fb2
try older maven
karussell Mar 3, 2023
1e71bc5
improve documentation for windows
karussell Mar 3, 2023
70ea1ca
make mvn deploy to Github Actions working again with a special option…
karussell Mar 3, 2023
ac2a3ff
Use way point indices instead of intervals in ResponsePath, #2742
easbar Mar 7, 2023
ddf2fd2
Clarify test: instruction for two-lane (!) u-turn
easbar Mar 7, 2023
2cbea89
make get+setTags of ReaderElement consistent
karussell Mar 7, 2023
d2cb912
fix follow up snap issue (#2769)
karussell Mar 8, 2023
53d87ae
Allow skipping the creation of ReaderNodes/Ways/Relations for pbfs, s…
easbar Mar 8, 2023
b0a129c
Show u-turn instruction for plain u-turns (#2767)
easbar Mar 9, 2023
a0cddbd
7.0 release - change readme
karussell Mar 13, 2023
0cfe445
use 8.0-SNAPSHOT
karussell Mar 13, 2023
735de7a
Add path details for the time, distance and weight of the single legs…
easbar Mar 14, 2023
d1e00d4
A*: set weight of visited path explicitly
easbar Mar 15, 2023
345904b
changelog: set release date
karussell Mar 15, 2023
33859a0
Reuse the polygon BBox (#2685)
otbutz Mar 15, 2023
d781707
Make use of node tags like 'highway' or 'crossing' (#2705)
easbar Mar 16, 2023
dea59e8
changelog
karussell Mar 17, 2023
ce29ab2
pt: remove hardcoded use of FastestWeighting to avoid problems with f…
michaz Mar 19, 2023
0a89987
New "backward_xy" variable notation in custom models (#2760)
karussell Mar 21, 2023
229e4b0
new test regarding the addition order of (bike) VehicleTagParser and …
karussell Mar 22, 2023
74a3ea5
New signature for encoded values and tag parsers (#2740)
easbar Mar 23, 2023
38cc8d8
Add static creators for enum encoded values
easbar Jan 19, 2023
d0cb557
Rename createIntAccess -> createEdgeIntAccess
easbar Mar 23, 2023
56c7941
bike profile should allow reverse oneway roads and set walking speed …
karussell Mar 24, 2023
647622d
Merge branch 'gh-master' into last_changes_gh
Mar 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 15 additions & 14 deletions .github/workflows/push-packages.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
name: Publish to GitHub Packages
name: Build and Test
on: push
jobs:
publish:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
java-version: [ 19, 20-ea ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
java-version: ${{ matrix.java-version }}
distribution: temurin
- name: Cache Maven artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Cache node
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: web-bundle/node
key: ${{ runner.os }}-node-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os}}-node-
- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: web-bundle/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/pom.xml', '**/package.json') }}
restore-keys: |
${{ runner.os}}-node_modules-
- name: Build and publish package
run: |
mvn -B versions:set -DnewVersion=$GITHUB_SHA -DgenerateBackupPoms=false
mvn -B -DskipTests -Pskip-shaded-web-jar -Pskip-tools-jar source:jar deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build ${{ matrix.java-version }}
run: mvn -B clean test

49 changes: 49 additions & 0 deletions .github/workflows/publish-github-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Publish to GitHub Packages

# ignore tags as the untagged commit has the same GITHUB_SHA and would conflict
on:
push:
branches:
- '**'

jobs:
publish:
if: github.repository_owner == 'graphhopper'
runs-on: ubuntu-20.04
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- name: Cache Maven artifacts
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Cache node
uses: actions/cache@v3
with:
path: web-bundle/node
key: ${{ runner.os }}-node-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os}}-node-
- name: Cache node_modules
uses: actions/cache@v3
with:
path: web-bundle/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/pom.xml', '**/package.json') }}
restore-keys: |
${{ runner.os}}-node_modules-
- name: Build and publish package ${{ matrix.java-version }}
# special 'wagon' option due to https://github.com/orgs/community/discussions/49001
run: |
mvn -B versions:set -DnewVersion=$GITHUB_SHA -DgenerateBackupPoms=false
mvn -Dmaven.resolver.transport=wagon -B -DskipTests -Pskip-shaded-web-jar -Pskip-tools-jar source:jar deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58 changes: 58 additions & 0 deletions .github/workflows/publish-maven-central.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Publish to Maven Central

on:
push:
tags:
- '**'

jobs:
maven-central-publish:
if: github.repository_owner == 'graphhopper'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
# feed directly as multi line value
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE

- name: Cache Maven artifacts
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Cache node
uses: actions/cache@v3
with:
path: web-bundle/node
key: ${{ runner.os }}-node-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os}}-node-
- name: Cache node_modules
uses: actions/cache@v3
with:
path: web-bundle/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/pom.xml', '**/package.json') }}
restore-keys: |
${{ runner.os}}-node_modules-
- name: clean install
run: |
mvn -Dkey=$API_KEY clean install -B

- name: Build and publish package to maven central ${{ matrix.java-version }}
run: |
echo "release to maven central"
mvn -B versions:set -DnewVersion=$GITHUB_REF_NAME -DgenerateBackupPoms=false
mvn deploy -P release -DskipTests=true -Dpgp.secretkey=keyring:id=0E2FBADB -B
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
1 change: 1 addition & 0 deletions .github/workflows/remove-old-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
workflow_dispatch:
jobs:
remove-old-artifacts:
if: github.repository_owner == 'graphhopper'
name: Remove old artifacts
runs-on: ubuntu-latest
timeout-minutes: 10 # stop the task if it takes longer
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/trigger-benchmarks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Trigger Benchmarks
on: push
jobs:
trigger_measurement:
if: github.repository_owner == 'graphhopper'
runs-on: ubuntu-22.04
environment: benchmarks
steps:
- name: trigger
run: |
curl -X POST -H "Authorization: token ${{ secrets.BENCHMARKS_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/${{ secrets.BENCHMARKS_REPO }}/dispatches" \
-d '{"event_type":"measurement_core","client_payload":{"core_commit": "'$GITHUB_SHA'", "core_branch": "${{ github.ref_name }}" }}'
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ android/.gradle
local/
local.properties
**/node_modules
*.zip
.DS_Store
/graph-cache
package-lock.json
36 changes: 0 additions & 36 deletions .gitlab-ci.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .travis.yml

This file was deleted.

47 changes: 44 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
### 6.0 [not yet released]
- don't allow cars or motorcycles to use ways tagged with service=emergency_access (#2484)
### 8.0 [not yet released]

- renamed EdgeKVStorage to KVStorage as it is (temporarily) used for node tage too, see #2705
- bike vehicles are now allowed to go in reverse direction of oneways, see custom_models/bike.json #196

### 7.0 [14 Mar 2023]

- access node tags via List instead of Map: List<Map<String, Object>> nodeTags = way.getTag("node_tags", emptyList()), see #2705
- remove StringEncodedValue support from custom model due to insufficient usage/testing
- handle also node_tags in handleWayTags, when extending AbstractAccessParser call handleNodeTags, #2738
- Format of 'areas' in CustomModel changed to 'FeatureCollection'. The old format is deprecated and will be removed in a later version, #2734
- TagParser#handleWayTags no longer returns an IntsRef. We assume it never returned anything other than the input IntsRef.
- there is no longer a default value for the distanceInfluence parameter in custom models sent via client-hc. Previously it was 70. Not setting it explicitly now means the server-side value will be used. getDistanceInfluence can now be null. Server-side profiles with custom weighting now use distance_influence: 0 by default (previously it was 70). see #2716
- there is a new, required 'import.osm.ignored_highways' configuration option that must be used to not increase the graph size and decrease performance for motorized-only routing compared to previous versions, #2702
- new osm_way_id encoded value, #2701
- the parameters vehicle, weighting, edge_based and turn_costs are no longer supported, use the profile parameter instead
- removed motorroad to road_class conversion, #2329
- removed YAML support for custom models on the server-side. Only allow JSON with // comments.
- Bike2WeightTagParser was removed. Use the bike vehicle with a custom model, see custom_models/bike.json
- CurvatureWeighting was removed. Use a custom model with 'curvature' instead, see custom_models/curvature.json (#2665)
- internal keys for EdgeKVStorage changed to contain the street_ prefix like the path details too. Similarly, the
extra_info in the instructions of the API response, see #2661
- subnetwork preparation can now be run in parallel to slightly speed up the base graph import (#2737)
- The block_area parameter was removed. Use custom model areas instead.

### 6.0 [13 Sep 2022]

- Car4WDTagParser was removed. Use the roads vehicle with a custom model, see custom_models/car4wd.json see #2651
- When using a DecimalEncodedValue with useMaximumAsInfinity=true and a single bit of space make sure you always use
Double.POSITIVE_INFINITY to set the value, see #2646
- renamed DouglasPeucker to RamerDouglasPeucker
- path details at via-points are no longer merged, see #2626
- removed the FlagEncoder interface. for example encoder.getAccessEnc() is now encodingManager.getBooleanEncodedValue(
VehicleAccess.key("car")), #2611
- backward incompatible change as instructions and the street_name path detail do no longer contain the ref #2598
- StringIndex is now EdgeKVStorage and can store e.g. byte arrays. String values needs to be limited to 255 bytes before
storing them. See EdgeKVStorage.cutString and #2597.
- the Matrix client changed and users have to adapt the usage, see #2587
- replaced car$access with car_access (and same for <vehicle>$average_speed and <vehicle>$priority)
- don't allow cars or motorcycles to use ways tagged with service=emergency_access (#2484)
- faster flexible routing, especially in conjunction with turn costs (#2571)
- negative OSM Ids are not supported any longer (#2652)
- new urban_density encoded value based on road density calculation (#2637)

### 5.0 [23 Mar 2022]

Expand Down Expand Up @@ -105,7 +146,7 @@
- removed android demo, #1940
- added edge key path detail, #2073
- fixed bug for turn restrictions on bridges/tunnels, #2070
- improved resolution of elevation profiles, 3D Douglas-Peucker and long edge sampling, #1953
- improved resolution of elevation profiles, 3D Ramer-Douglas-Peucker and long edge sampling, #1953

### 1.0 [22 May 2020]

Expand Down
Loading