]> granicus.if.org Git - postgis/commitdiff
Change to mapserver 5 syntax
authorPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 12 Aug 2008 16:46:35 +0000 (16:46 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 12 Aug 2008 16:46:35 +0000 (16:46 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/1.3@2917 b70326c6-7e19-0410-871a-916f4a2858ee

doc/postgis.xml

index cca520b50015ad73890f51e23f317a0fc6380389..01e145d5e3dd536e0f9898c84569c086bd754b74 100644 (file)
@@ -2174,14 +2174,17 @@ gid  | name         | area
   CLASS 
     # Make the superhighways brighter and 2 pixels wide
     EXPRESSION ([numlanes] &gt;= 6) 
-    COLOR 255 22 22 
-    SYMBOL &quot;solid&quot; 
-    SIZE 2 
+    STYLE
+      COLOR 255 22 22 
+      WIDTH 2 
+    END
   END 
   CLASS 
     # All the rest are darker and only 1 pixel wide 
     EXPRESSION ([numlanes] &lt; 6) 
-    COLOR 205 92 82
+    STYLE
+      COLOR 205 92 82
+    END
   END 
 END</programlisting>
 
@@ -2478,8 +2481,10 @@ LAYER
   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 @@ END</programlisting>
       COLOR 0 192 0 
       TYPE truetype 
       FONT arial
-    ENDl
+    END
   END 
 END</programlisting>