Changeset 15093 in josm
- Timestamp:
- 2019-05-18T19:44:52+02:00 (6 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r15092 r15093 1720 1720 <text key="name" text="Name" /> 1721 1721 </item> <!-- Cape --> 1722 <item name="Strait" icon="presets/nautical/strait.svg" type="node,way,closedway,multipolygon" preset_name_label="true"> 1723 <link wiki="Tag:natural=strait" /> 1724 <space /> 1725 <key key="natural" value="strait" /> 1726 <text key="name" text="Name" /> 1727 </item> <!-- Strait --> 1722 1728 </group> <!-- Water --> 1723 1729 <group name="Shipping" icon="presets/nautical/ferry.svg"> -
trunk/src/org/openstreetmap/josm/data/validation/tests/LongSegment.java
r15081 r15093 84 84 85 85 private boolean ignoreWay(Way w) { 86 return visitedWays.contains(w) || w.hasTag("route", "ferry") || w.hasTag("bay", "fjord") ;86 return visitedWays.contains(w) || w.hasTag("route", "ferry") || w.hasTag("bay", "fjord") || w.hasTag("natural", "strait"); 87 87 } 88 88 -
trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java
r15081 r15093 139 139 new UnclosedWaysCheck(1101, "natural", marktr("natural type {0}"), 140 140 new HashSet<>(Arrays.asList("arete", "bay", "cave", "cliff", "coastline", "gorge", "gully", "peak", 141 "ridge", "saddle", " tree", "tree_row", "valley", "volcano"))),141 "ridge", "saddle", "strait", "tree", "tree_row", "valley", "volcano"))), 142 142 143 143 new UnclosedWaysCheck(1102, "landuse", marktr("landuse type {0}")), -
trunk/styles/standard/elemstyles.mapcss
r15092 r15093 4308 4308 set icon_z17; 4309 4309 } 4310 area[natural=strait]:closed { 4311 fill-color: natural#002f00; 4312 } 4313 way[natural=strait] { 4314 width: 2; 4315 color: natural#002f00; 4316 } 4317 node[natural=strait] { 4318 icon-image: "presets/nautical/strait.svg"; 4319 set icon_z17; 4320 } 4310 4321 area[natural=cape], 4311 4322 area[natural=cave_entrance] {
Note:
See TracChangeset
for help on using the changeset viewer.