[Mapserver-users] OGR + DGN CLASS Definition

Winkler, Viola v.winkler at geotec.de
Mon Jun 28 09:00:24 EDT 2004


Hallo List,

I work with an dgn file in the mapserver by using STYLEITEM 'AUTO'. It
works fine. But I want to know how I could change the Styles (color,
size) manually. Does anybody knows it????? My Layerdefinition is seen
next. The Definitions in the ClassReference are dummies. They don't work
like in a layer with shapefile.

Viola

LAYER
    STATUS On
    #GROUP DGN
    CONNECTIONTYPE OGR
    CONNECTION
"C:/Inetpub/wwwroot/Projekte/03021_TZB/data/bahntrasse2dV7.dgn"
    NAME "Bahntrasse"
    TYPE Line
    TOLERANCE 10
    STYLEITEM "AUTO"
     METADATA
     WMS_TITLE "Trassierungsentwurf Stand: 24.04.03"
     WMS_SRS "EPSG:2398"
     WMS_GROUP_TITLE "OGR-DGN Test Files"
   END
    PROJECTION
      "init=epsg:2398"
    END
    
    
    CLASS
    #    EXPRESSION /./
    #    NAME ''
	COLOR 255 103 102
	SIZE 20
    END
    DUMP TRUE
    
  END




More information about the mapserver-users mailing list