- Timestamp:
- 2014-11-19T21:18:32+01:00 (10 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r7734 r7735 1765 1765 </item> <!-- Covered Reservoir --> 1766 1766 <separator/> 1767 <item name="Water" icon="presets/water.png" type=" node,closedway,relation" preset_name_label="true">1767 <item name="Water" icon="presets/water.png" type="closedway,relation" preset_name_label="true"> 1768 1768 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=water" 1769 1769 cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:natural=water" … … 1837 1837 <text key="name" text="Name" /> 1838 1838 </item> <!-- Mud --> 1839 <item name="Beach" icon="presets/beach.png" type=" node,closedway,relation" preset_name_label="true">1839 <item name="Beach" icon="presets/beach.png" type="closedway,relation" preset_name_label="true"> 1840 1840 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=beach" 1841 1841 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=beach" … … 7003 7003 </optional> 7004 7004 </item> <!-- Tree Row --> 7005 <item name="Wood" icon=" presets/landuse.png" type="closedway,relation" preset_name_label="true">7005 <item name="Wood" icon="styles/standard/misc/landmark/trees.png" type="closedway,relation" preset_name_label="true"> 7006 7006 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=wood" 7007 7007 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=wood" … … 7029 7029 <reference ref="leaf" /> 7030 7030 </item> <!-- Forest --> 7031 <item name="Grassland" icon=" presets/landuse.png" type="closedway,relation" preset_name_label="true">7031 <item name="Grassland" icon="styles/standard/misc/landuse/meadow.svg" type="closedway,relation" preset_name_label="true"> 7032 7032 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=grassland" 7033 7033 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=grassland" … … 7056 7056 </item> <!-- Nature Reserve --> 7057 7057 <separator/> 7058 <item name="Scree" icon="presets/empty.png" type=" node,closedway,relation" preset_name_label="true">7058 <item name="Scree" icon="presets/empty.png" type="closedway,relation" preset_name_label="true"> 7059 7059 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=scree" 7060 7060 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=scree" … … 7068 7068 <text key="name" text="Name" /> 7069 7069 </item> <!-- Scree --> 7070 <item name="Fell" icon="presets/empty.png" type=" node,closedway,relation" preset_name_label="true">7070 <item name="Fell" icon="presets/empty.png" type="closedway,relation" preset_name_label="true"> 7071 7071 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=fell" 7072 7072 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=fell" … … 7079 7079 <text key="name" text="Name" /> 7080 7080 </item> <!-- Fell --> 7081 <item name="Scrub" icon="presets/scrub.svg" type=" node,closedway,relation" preset_name_label="true">7081 <item name="Scrub" icon="presets/scrub.svg" type="closedway,relation" preset_name_label="true"> 7082 7082 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=scrub" 7083 7083 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=scrub" … … 7095 7095 </optional> 7096 7096 </item> <!-- Scrub --> 7097 <item name="Heath" icon="presets/empty.png" type=" node,closedway,relation" preset_name_label="true">7097 <item name="Heath" icon="presets/empty.png" type="closedway,relation" preset_name_label="true"> 7098 7098 <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=heath" 7099 7099 bg.href="http://wiki.openstreetmap.org/wiki/Bg:Tag:natural=heath" -
trunk/data/validator/geometry.mapcss
r7707 r7735 1 /* {0} on a node */1 /* {0} on a node, should be a way */ 2 2 node[oneway], 3 3 node[bridge?], 4 node[landuse],5 4 node[sidewalk], 6 node[source:outline] { 7 throwWarning: tr("{0} on a node", "{0.key}"); 5 node[natural=coastline], 6 node[natural=ridge], 7 node[natural=tree_row] { 8 throwWarning: tr("{0} on a node. Should be used on a way.", "{0.key}"); 8 9 assertMatch: "node oneway=-1"; 9 10 assertNoMatch: "way oneway=-1"; … … 12 13 } 13 14 14 node[natural=wood] { 15 throwOther: tr("{0} on a node. Should be drawn as an area", "{0.tag}"); 15 /* {0} on a node, should be an area; see ticket #10679 */ 16 node[landuse], 17 node[natural=scree], 18 node[natural=scrub], 19 node[natural=fell], 20 node[natural=heath], 21 node[natural=wood], 22 node[natural=grassland], 23 node[natural=wetland], 24 node[natural=water], 25 node[natural=mud], 26 node[natural=beach], 27 node[natural=sand], 28 node[natural=wood], 29 node[natural=bare_rock], 30 node[waterway=riverbank], 31 node[source:outline] { 32 throwWarning: tr("{0} on a node. Should be drawn as an area.", "{0.tag}"); 16 33 } 17 34 -
trunk/styles/standard/elemstyles.mapcss
r7729 r7735 3754 3754 text: auto; 3755 3755 } 3756 way[natural=ridge] { 3757 width: 1; 3758 color: natural#002f00; 3759 } 3756 3760 area[natural=scree] { 3757 3761 fill-color: natural#002f00; 3758 3762 } 3759 node[natural=scree] {3760 icon-image: "misc/no_icon.png";3761 set icon_z17;3762 text: auto;3763 }3764 3763 area[natural=scrub] { 3765 3764 fill-color: scrub#007000; 3766 3765 } 3767 node[natural=scrub] {3768 icon-image: "presets/scrub.svg";3769 set icon_z17;3770 text: auto;3771 }3772 3766 area[natural=fell] { 3773 3767 fill-color: natural#002f00; 3774 3768 } 3775 node[natural=fell] {3776 icon-image: "misc/no_icon.png";3777 set icon_z17;3778 text: auto;3779 }3780 3769 area[natural=heath] { 3781 3770 fill-color: heath#ffffc0; 3782 }3783 node[natural=heath] {3784 icon-image: "misc/no_icon.png";3785 set icon_z17;3786 text: auto;3787 3771 } 3788 3772 way[natural=tree_row] { … … 3790 3774 color: woodarea#008000; 3791 3775 } 3792 node[natural=tree_row] {3793 icon-image: "misc/no_icon.png";3794 set icon_z17;3795 text: auto;3796 }3797 3776 area[natural=wood] { 3798 3777 fill-color: woodarea#008000; 3799 3778 } 3800 node[natural=wood] {3801 icon-image: "misc/landmark/trees.png";3802 set icon_z17;3803 text: auto;3804 }3805 3779 area[natural=grassland] { 3806 3780 fill-color: green#b1e0c2; 3807 3781 } 3808 node[natural=grassland] {3809 icon-image: "misc/deprecated.png";3810 set icon_z17;3811 text: auto;3812 }3813 3782 area[natural=wetland] { 3814 3783 fill-color: marsh#4f4ff3; 3815 3784 } 3816 node[natural=wetland] {3817 icon-image: "misc/no_icon.png";3818 set icon_z17;3819 text: auto;3820 }3821 3785 area[natural=water] { 3822 3786 fill-color: water#0000ff; 3823 }3824 node[natural=water] {3825 icon-image: "nautical/water.png";3826 set icon_z17;3827 text: auto;3828 3787 } 3829 3788 way[natural=coastline] { … … 3831 3790 color: water#0000ff; 3832 3791 } 3833 node[natural=coastline] {3834 icon-image: "misc/coastline.png";3835 set icon_z17;3836 text: auto;3837 }3838 3792 area[natural=mud] { 3839 3793 fill-color: mud#cba762; 3840 3794 } 3841 node[natural=mud] {3842 icon-image: "misc/mud.png";3843 set icon_z17;3844 text: auto;3845 }3846 3795 area[natural=beach] { 3847 3796 fill-color: beach#f8dba2; 3848 3797 } 3849 node[natural=beach] {3850 icon-image: "misc/beach.png";3851 set icon_z17;3852 text: auto;3853 }3854 3798 area[natural=sand] { 3855 3799 fill-color: sand#f8dba2; 3856 3800 } 3857 node[natural=sand] { 3801 area[natural=bare_rock] { 3802 fill-color: bare_rock#f8f8c7; 3803 } 3804 area[natural=stone] { 3805 fill-color: stone#f8f8c7; 3806 } 3807 node[natural=stone] { 3858 3808 icon-image: "misc/no_icon.png"; 3859 3809 set icon_z17; … … 3861 3811 } 3862 3812 area[natural=bay], 3863 area[natural=land],3864 3813 area[natural=cave_entrance] { 3865 3814 fill-color: natural#002f00; … … 3867 3816 node[natural=bay] { 3868 3817 icon-image: "misc/bay.png"; 3869 set icon_z17;3870 text: auto;3871 }3872 node[natural=land] {3873 icon-image: "misc/no_icon.png";3874 3818 set icon_z17; 3875 3819 text: auto; … … 3902 3846 text: auto; 3903 3847 } 3904 3848 node[natural=scree], 3849 node[natural=scrub], 3850 node[natural=fell], 3851 node[natural=heath], 3852 node[natural=tree_row], 3853 node[natural=wood], 3854 node[natural=grassland], 3855 node[natural=wetland], 3856 node[natural=water], 3857 node[natural=coastline], 3858 node[natural=mud], 3859 node[natural=beach], 3860 node[natural=sand], 3861 node[natural=land], 3862 node[natural=bare_rock], 3863 node[natural=ridge] { 3864 icon-image: "misc/deprecated.png"; 3865 set icon_z17; 3866 text: auto; 3867 } 3905 3868 /*****************/ 3906 3869 /* waterway tags */
Note:
See TracChangeset
for help on using the changeset viewer.