[postgis-commits] svn - r2917 - branches/1.3/doc

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Tue Aug 12 09:46:35 PDT 2008


Author: pramsey
Date: 2008-08-12 09:46:35 -0700 (Tue, 12 Aug 2008)
New Revision: 2917

Modified:
   branches/1.3/doc/postgis.xml
Log:
Change to mapserver 5 syntax


Modified: branches/1.3/doc/postgis.xml
===================================================================
--- branches/1.3/doc/postgis.xml	2008-08-12 16:42:37 UTC (rev 2916)
+++ branches/1.3/doc/postgis.xml	2008-08-12 16:46:35 UTC (rev 2917)
@@ -2174,14 +2174,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>
 
@@ -2478,8 +2481,10 @@
   CLASSITEM road_type 
   CLASS 
     EXPRESSION &quot;highway&quot; 
-    SIZE 2 
-    COLOR 255 0 0  
+    STYLE
+      WIDTH 2 
+      COLOR 255 0 0  
+    END
   END 
   CLASS  
     COLOR 0 0 0 
@@ -2518,7 +2523,7 @@
       COLOR 0 192 0 
       TYPE truetype 
       FONT arial
-    ENDl
+    END
   END 
 END</programlisting>
 



More information about the postgis-commits mailing list