[mapserver-users] RE: HI

Özgür Arslan ozgurarslan81 at hotmail.com
Tue Mar 20 23:31:51 EDT 2012


Hi All,

I am working on a project and I am trying to split a roads layer called gtroads. Roads layer should be split into two classes “Expressway” and “Primary highway” based on the “TYPE” field. How can I split the layer? Could someone help me about the problem? Thanks. The code line like below:

LAYER
    NAME 'gtroads'
    TYPE LINE
    DUMP false
  EXTENT -143.208273 40.614882 -50.461099 84.297613
    DATA '../Data/gtroads.shp'
    METADATA
      'ows_title' 'gtroads'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=longlat'
    'datum=WGS84'
    'no_defs'
    END
    CLASS
       NAME 'gtroads' 
       STYLE
         WIDTH 3.5 
         COLOR 0 0 0
       END
    END
  END
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120321/62037c37/attachment.html


More information about the mapserver-users mailing list