Skip to content

Commit

Permalink
feat: classify ways tagged with surface=cement as surface type "Con…
Browse files Browse the repository at this point in the history
…crete"

According to OSM wiki `surface=cement` is often used, by mistake, instead of `surface=concrete`.
  • Loading branch information
aoles committed May 22, 2024
1 parent ee86cd3 commit db68a9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static SurfaceType getFromString(String surface) {
case "paved" -> SurfaceType.PAVED;
case "unpaved", "woodchips", "rock", "rocks", "stone", "shells", "salt" -> SurfaceType.UNPAVED;
case "asphalt", "chipseal", "bitmac", "tarmac" -> SurfaceType.ASPHALT;
case "concrete" -> SurfaceType.CONCRETE;
case "concrete", "cement" -> SurfaceType.CONCRETE;
case "paving_stones", "paved_stones", "sett", "cobblestone", "unhewn_cobblestone", "bricks", "brick" -> SurfaceType.PAVING_STONE;
case "metal" -> SurfaceType.METAL;
case "wood" -> SurfaceType.WOOD;
Expand Down

0 comments on commit db68a9c

Please sign in to comment.