Skip to content

Commit

Permalink
feat: add surface tag value "soil"
Browse files Browse the repository at this point in the history
Ways labelled with OSM tag `surface` set to "soil" are classified as surface type "Dirt" rather than "Unknown".
  • Loading branch information
aoles committed May 22, 2024
1 parent 5b1078e commit ee86cd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static SurfaceType getFromString(String surface) {
case "wood" -> SurfaceType.WOOD;
case "compacted", "pebblestone" -> SurfaceType.COMPACTED_GRAVEL;
case "gravel", "fine_gravel" -> SurfaceType.GRAVEL;
case "dirt", "earth" -> SurfaceType.DIRT;
case "dirt", "earth", "soil" -> SurfaceType.DIRT;
case "ground", "mud" -> SurfaceType.GROUND;
case "ice", "snow" -> SurfaceType.ICE;
case "sand" -> SurfaceType.SAND;
Expand Down

0 comments on commit ee86cd3

Please sign in to comment.