[postgis-commits] svn - r2916 - trunk/doc
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Tue Aug 12 09:42:38 PDT 2008
Author: pramsey
Date: 2008-08-12 09:42:37 -0700 (Tue, 12 Aug 2008)
New Revision: 2916
Modified:
trunk/doc/using_postgis.xml
Log:
move to CLASS/STYLE mapserver 5.X syntax
Modified: trunk/doc/using_postgis.xml
===================================================================
--- trunk/doc/using_postgis.xml 2008-08-04 11:50:16 UTC (rev 2915)
+++ trunk/doc/using_postgis.xml 2008-08-12 16:42:37 UTC (rev 2916)
@@ -1387,14 +1387,17 @@
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</programlisting>
@@ -1658,7 +1661,9 @@
STATUS ON
TYPE LINE
CLASS
- COLOR 0 0 0
+ STYLE
+ COLOR 0 0 0
+ END
END
END</programlisting>
@@ -1689,11 +1694,15 @@
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</programlisting>
@@ -1729,7 +1738,7 @@
COLOR 0 192 0
TYPE truetype
FONT arial
- ENDl
+ END
END
END</programlisting>
More information about the postgis-commits
mailing list