forked from graphhopper/graphhopper
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag '8.0' into osm-reader-callbacks-8.0
- Loading branch information
Showing
537 changed files
with
23,770 additions
and
11,619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
root = true | ||
|
||
# https://github.com/graphhopper/graphhopper/blob/master/CONTRIBUTING.md#code-formatting | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 100 | ||
tab_width = 4 | ||
|
||
[*.java] | ||
ij_continuation_indent_size = 8 | ||
ij_formatter_off_tag = @formatter:off | ||
ij_formatter_on_tag = @formatter:on | ||
ij_formatter_tags_enabled = true | ||
ij_smart_tabs = false | ||
ij_visual_guides = none | ||
ij_wrap_on_typing = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,53 @@ jobs: | |
|
||
steps: | ||
- name: Remove old artifacts | ||
uses: c-hive/gha-remove-artifacts@v1 | ||
uses: c-hive/gha-remove-artifacts@v1.3.0 | ||
with: | ||
age: '11 months' | ||
skip-tags: true | ||
skip-recent: 10 | ||
skip-recent: 300 | ||
|
||
remove-old-artifacts-2: | ||
if: github.repository_owner == 'graphhopper' | ||
name: Remove old artifacts | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 # stop the task if it takes longer | ||
|
||
steps: | ||
- name: Remove old artifacts 2.1 | ||
uses: actions/[email protected] | ||
with: | ||
package-name: matrix | ||
package-type: maven | ||
min-versions-to-keep: 300 | ||
|
||
- name: Remove old artifacts 2.2 | ||
uses: actions/[email protected] | ||
with: | ||
package-name: com.graphhopper.graphhopper-matrix | ||
package-type: maven | ||
min-versions-to-keep: 300 | ||
|
||
- name: Remove old artifacts 2.3 | ||
uses: actions/[email protected] | ||
with: | ||
package-name: graphhopper-matrix | ||
package-type: maven | ||
min-versions-to-keep: 300 | ||
|
||
remove-old-artifacts-3: | ||
if: github.repository_owner == 'graphhopper' | ||
name: Remove old artifacts 3 | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 # stop the task if it takes longer | ||
|
||
steps: | ||
- name: Remove old artifacts 3.1 | ||
uses: SmartsquareGmbH/[email protected] | ||
with: | ||
names: | | ||
matrix | ||
com.graphhopper.graphhopper-matrix | ||
graphhopper-matrix | ||
type: maven | ||
keep: 300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,17 @@ | ||
// this is a heavily customized model used to benchmark routing with a custom weighting | ||
{ | ||
"speed": [ | ||
{ | ||
"if": "road_class == MOTORWAY", | ||
"multiply_by": "0.85" | ||
}, | ||
{ | ||
"else_if": "road_class == PRIMARY", | ||
"multiply_by": "0.9" | ||
}, | ||
{ | ||
"if": "true", | ||
"limit_to": "110" | ||
} | ||
{ "if": "road_class == MOTORWAY", "multiply_by": "0.85" }, | ||
{ "else_if": "road_class == PRIMARY", "multiply_by": "0.9" }, | ||
{ "if": "true", "limit_to": "110" } | ||
], | ||
"priority": [ | ||
{ | ||
"if": "max_height < 3.8", | ||
"multiply_by": "0" | ||
}, | ||
{ | ||
"if": "max_width < 2.5", | ||
"multiply_by": "0" | ||
}, | ||
{ | ||
"if": "road_class == PRIMARY", | ||
"multiply_by": "0.5" | ||
}, | ||
{ | ||
"else_if": "road_class != MOTORWAY", | ||
"multiply_by": "0.9" | ||
}, | ||
{ | ||
"if": "toll != NO", | ||
"multiply_by": "0.5" | ||
}, | ||
{ | ||
"if": "hazmat == NO", | ||
"multiply_by": "0" | ||
} | ||
{ "if": "road_access == PRIVATE", "multiply_by": "0" }, | ||
{ "if": "max_height < 3.8", "multiply_by": "0" }, | ||
{ "if": "max_width < 2.5", "multiply_by": "0" }, | ||
{ "if": "road_class == PRIMARY", "multiply_by": "0.5" }, | ||
{ "else_if": "road_class != MOTORWAY", "multiply_by": "0.9" }, | ||
{ "if": "toll != NO", "multiply_by": "0.5" }, | ||
{ "if": "hazmat == NO", "multiply_by": "0" } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.