Changeset 15081 in josm
- Timestamp:
- 2019-05-17T21:21:36+02:00 (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r15075 r15081 1703 1703 </optional> 1704 1704 </item> <!-- Beach --> 1705 <item name="Bay" icon="presets/nautical/bay.svg" type="node,closedway,multipolygon" preset_name_label="true"> 1705 <item name="Bay" icon="presets/nautical/bay.svg" type="node,way,closedway,multipolygon" preset_name_label="true"> 1706 1706 <link wiki="Tag:natural=bay" /> 1707 1707 <label text="An area of water mostly surrounded by land but with level connection to the ocean or a lake." /> … … 1709 1709 <key key="natural" value="bay" /> 1710 1710 <text key="name" text="Name" /> 1711 <optional> 1712 <check key="bay" text="Fjord" value_on="fjord" disable_off="true" /> 1713 </optional> 1711 1714 </item> <!-- Bay --> 1712 1715 <item name="Cape" icon="presets/nautical/cape.svg" type="node,closedway,multipolygon" preset_name_label="true"> -
trunk/src/org/openstreetmap/josm/data/validation/tests/LongSegment.java
r12846 r15081 84 84 85 85 private boolean ignoreWay(Way w) { 86 return visitedWays.contains(w) || w.hasTag("route", "ferry"); 86 return visitedWays.contains(w) || w.hasTag("route", "ferry") || w.hasTag("bay", "fjord"); 87 87 } 88 88 -
trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java
r14735 r15081 138 138 // duplicate warnings 139 139 new UnclosedWaysCheck(1101, "natural", marktr("natural type {0}"), 140 new HashSet<>(Arrays.asList("arete", "cave", "cliff", "coastline", "gorge", "gully", "peak", 140 new HashSet<>(Arrays.asList("arete", "bay", "cave", "cliff", "coastline", "gorge", "gully", "peak", 141 141 "ridge", "saddle", "tree", "tree_row", "valley", "volcano"))), 142 142 -
trunk/styles/standard/elemstyles.mapcss
r15066 r15081 4293 4293 set icon_z17; 4294 4294 } 4295 area[natural=bay], 4295 area[natural=bay]:closed { 4296 fill-color: natural#002f00; 4297 } 4298 way[natural=bay] { 4299 width: 2; 4300 color: natural#002f00; 4301 } 4302 node[natural=bay] { 4303 icon-image: "presets/nautical/bay.svg"; 4304 set icon_z17; 4305 } 4296 4306 area[natural=cape], 4297 4307 area[natural=cave_entrance] { 4298 4308 fill-color: natural#002f00; 4299 4309 } 4300 node[natural=bay] {4301 icon-image: "presets/nautical/bay.svg";4302 set icon_z17;4303 }4304 4310 node[natural=cape] { 4305 4311 icon-image: "presets/nautical/cape.svg"; 4306 4312 set icon_z17; 4307 4313 } 4314 node[natural=cave_entrance] { 4315 icon-image: "presets/landmark/cave_entrance.svg"; 4316 set icon_z17; 4317 } 4308 4318 area[natural=reef] { 4309 4319 fill-color: reef#80c9ff; … … 4311 4321 node[natural=reef] { 4312 4322 icon-image: "presets/landmark/reef.svg"; 4313 set icon_z17;4314 }4315 node[natural=cave_entrance] {4316 icon-image: "presets/landmark/cave_entrance.svg";4317 4323 set icon_z17; 4318 4324 }
Note:
See TracChangeset
for help on using the changeset viewer.