From: Paul Ramsey Date: Tue, 12 Aug 2008 16:42:37 +0000 (+0000) Subject: move to CLASS/STYLE mapserver 5.X syntax X-Git-Tag: 1.4.0b1~786 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3e8c216690344361d99f67f8f0b9f5e1fac86ba;p=postgis move to CLASS/STYLE mapserver 5.X syntax git-svn-id: http://svn.osgeo.org/postgis/trunk@2916 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/using_postgis.xml b/doc/using_postgis.xml index a6e28a5bf..90d8a1eeb 100644 --- a/doc/using_postgis.xml +++ b/doc/using_postgis.xml @@ -1387,14 +1387,17 @@ gid | name | area CLASS # Make the superhighways brighter and 2 pixels wide EXPRESSION ([numlanes] >= 6) - COLOR 255 22 22 - SYMBOL "solid" - SIZE 2 + STYLE + COLOR 255 22 22 + WIDTH 2 + END END CLASS # All the rest are darker and only 1 pixel wide EXPRESSION ([numlanes] < 6) - COLOR 205 92 82 + STYLE + COLOR 205 92 82 + END END END @@ -1658,7 +1661,9 @@ postgis# VACUUM ANALYZE; -- For PGSQL >= 8.0 STATUS ON TYPE LINE CLASS - COLOR 0 0 0 + STYLE + COLOR 0 0 0 + END END END @@ -1689,11 +1694,15 @@ LAYER CLASSITEM road_type CLASS EXPRESSION "highway" - SIZE 2 - COLOR 255 0 0 + STYLE + WIDTH 2 + COLOR 255 0 0 + END END CLASS - COLOR 0 0 0 + STYLE + COLOR 0 0 0 + END END END @@ -1729,7 +1738,7 @@ END COLOR 0 192 0 TYPE truetype FONT arial - ENDl + END END END