- Timestamp:
- 2019-11-20T21:53:15+01:00 (5 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r15528 r15535 1555 1555 <group name="Water" name_context="main group" icon="presets/nautical/waterway_river.svg"> 1556 1556 <group name="Water" name_context="sub group" icon="presets/nautical/waterway_river.svg"> 1557 <item name="Drain" icon="presets/nautical/waterway_drain.svg" type="way" preset_name_label="true"> 1558 <link wiki="Tag:waterway=drain" /> 1559 <space /> 1560 <key key="waterway" value="drain" /> 1561 <optional> 1562 <text key="name" text="Name" /> 1563 <reference ref="waterway" /> 1564 </optional> 1565 </item> <!-- Drain --> 1566 <item name="Ditch" icon="presets/nautical/waterway_ditch.svg" type="way" preset_name_label="true"> 1567 <link wiki="Tag:waterway=ditch" /> 1568 <space /> 1569 <key key="waterway" value="ditch" /> 1570 <optional> 1571 <text key="name" text="Name" /> 1572 <reference ref="waterway" /> 1573 </optional> 1574 </item> <!-- Ditch --> 1557 <item name="River" icon="presets/nautical/waterway_river.svg" type="way" preset_name_label="true"> 1558 <link wiki="Tag:waterway=river" /> 1559 <space /> 1560 <key key="waterway" value="river" /> 1561 <text key="name" text="Name" /> 1562 <optional> 1563 <reference ref="waterway_wikipedia" /> 1564 <check key="lock" text="Lock" disable_off="true" /> 1565 </optional> 1566 <reference ref="water_access" /> 1567 </item> <!-- River --> 1575 1568 <item name="Stream" icon="presets/nautical/waterway_stream.svg" type="way" preset_name_label="true"> 1576 1569 <link wiki="Tag:waterway=stream" /> … … 1583 1576 <reference ref="water_access" /> 1584 1577 </item> <!-- Stream --> 1585 <item name="River" icon="presets/nautical/waterway_river.svg" type="way" preset_name_label="true"> 1586 <link wiki="Tag:waterway=river" /> 1587 <space /> 1588 <key key="waterway" value="river" /> 1589 <text key="name" text="Name" /> 1590 <optional> 1591 <reference ref="waterway_wikipedia" /> 1592 <check key="lock" text="Lock" disable_off="true" /> 1593 </optional> 1594 <reference ref="water_access" /> 1595 </item> <!-- River --> 1578 <item name="Tidal channel" icon="presets/nautical/tidal_channel.svg" type="way" preset_name_label="true"> 1579 <link wiki="Tag:waterway=tidal_channel" /> 1580 <space /> 1581 <key key="waterway" value="tidal_channel" /> 1582 <optional> 1583 <text key="name" text="Name" /> 1584 <check key="salt" text="Salt Water" disable_off="true" /> 1585 <check key="intermittent" text="Intermittent" disable_off="true" /> 1586 <check key="seasonal" text="Seasonal" disable_off="true" /> 1587 <text key="width" text="Width (meters)" /> 1588 <text key="wikipedia" text="Wikipedia" /> 1589 </optional> 1590 </item> <!-- Tidal channel --> 1596 1591 <item name="Canal" icon="presets/nautical/waterway_canal.svg" type="way" preset_name_label="true"> 1597 1592 <link wiki="Tag:waterway=canal" /> … … 1609 1604 <reference ref="water_access" /> 1610 1605 </item> <!-- Canal --> 1606 <item name="Drain" icon="presets/nautical/waterway_drain.svg" type="way" preset_name_label="true"> 1607 <link wiki="Tag:waterway=drain" /> 1608 <space /> 1609 <key key="waterway" value="drain" /> 1610 <optional> 1611 <text key="name" text="Name" /> 1612 <reference ref="waterway" /> 1613 </optional> 1614 </item> <!-- Drain --> 1615 <item name="Ditch" icon="presets/nautical/waterway_ditch.svg" type="way" preset_name_label="true"> 1616 <link wiki="Tag:waterway=ditch" /> 1617 <space /> 1618 <key key="waterway" value="ditch" /> 1619 <optional> 1620 <text key="name" text="Name" /> 1621 <reference ref="waterway" /> 1622 </optional> 1623 </item> <!-- Ditch --> 1611 1624 <separator/> 1612 1625 <item name="Spring" icon="presets/landmark/spring.svg" type="node,closedway" preset_name_label="true"> -
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r15364 r15535 72 72 "(aerialway=j-bar & -oneway=no) | "+ 73 73 "(aerialway=platter & -oneway=no) | "+ 74 "waterway=stream | waterway=river | waterway=ditch | waterway=drain | "+74 "waterway=stream | waterway=river | waterway=ditch | waterway=drain | waterway=tidal_channel | "+ 75 75 "(\"piste:type\"=downhill & -area=yes) | (\"piste:type\"=sled & -area=yes) | (man_made=\"piste:halfpipe\" & -area=yes) | "+ 76 76 "junction=circular | junction=roundabout | (highway=motorway & -oneway=no & -oneway=reversible) | "+ -
trunk/styles/standard/elemstyles.mapcss
r15533 r15535 4579 4579 color: water#0000ff; 4580 4580 } 4581 way[waterway=tidal_channel] { 4582 width: 1; 4583 color: tidal_channel#0000ff; 4584 } 4581 4585 way[waterway=river][intermittent=yes], 4582 4586 area[waterway=riverbank][intermittent=yes], … … 4584 4588 way[waterway=stream][intermittent=yes], 4585 4589 way[waterway=ditch][intermittent=yes], 4586 way[waterway=drain][intermittent=yes] { 4590 way[waterway=drain][intermittent=yes], 4591 way[waterway=tidal_channel][intermittent=yes] { 4587 4592 dashes: 15, 5; 4588 4593 }
Note:
See TracChangeset
for help on using the changeset viewer.