Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6710b63

Browse files
committed
bike prio parser: removed unused unpavedSurfaceTags
1 parentb4d5320 commit6710b63

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

‎core/src/main/java/com/graphhopper/routing/util/parsers/BikeCommonPriorityParser.java‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ public abstract class BikeCommonPriorityParser implements TagParser {
2525
protectedfinalHashSet<String>pushingSectionsHighways =newHashSet<>();
2626
protectedfinalSet<String>preferHighwayTags =newHashSet<>();
2727
protectedfinalMap<String,PriorityCode>avoidHighwayTags =newHashMap<>();
28-
protectedfinalSet<String>unpavedSurfaceTags =newHashSet<>();
29-
3028
protectedfinalDecimalEncodedValueavgSpeedEnc;
3129
protectedfinalDecimalEncodedValuepriorityEnc;
3230
// Car speed limit which switches the preference from UNCHANGED to AVOID_IF_POSSIBLE
@@ -45,21 +43,6 @@ protected BikeCommonPriorityParser(DecimalEncodedValue priorityEnc, DecimalEncod
4543
addPushingSection("steps");
4644
addPushingSection("platform");
4745

48-
unpavedSurfaceTags.add("unpaved");
49-
unpavedSurfaceTags.add("gravel");
50-
unpavedSurfaceTags.add("ground");
51-
unpavedSurfaceTags.add("dirt");
52-
unpavedSurfaceTags.add("grass");
53-
unpavedSurfaceTags.add("compacted");
54-
unpavedSurfaceTags.add("earth");
55-
unpavedSurfaceTags.add("fine_gravel");
56-
unpavedSurfaceTags.add("grass_paver");
57-
unpavedSurfaceTags.add("ice");
58-
unpavedSurfaceTags.add("mud");
59-
unpavedSurfaceTags.add("salt");
60-
unpavedSurfaceTags.add("sand");
61-
unpavedSurfaceTags.add("wood");
62-
6346
avoidHighwayTags.put("motorway",REACH_DESTINATION);
6447
avoidHighwayTags.put("motorway_link",REACH_DESTINATION);
6548
avoidHighwayTags.put("trunk",REACH_DESTINATION);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp