[Mapserver-users] OGR + DGN CLASS Definition
Tyler Mitchell
tjmitchell at riverside.bc.ca
Mon Jun 28 08:19:51 PDT 2004
You probably can't use STYLEITEM "AUTO" and also define your own style
classes.
Have you tried removing STYLEITEM? Also be sure to test that your class
is valid by using it against data that you know works. From looking at
your example, SIZE 20, probably doesn't do anything. Since a "symbol" is
not defined to draw this with, I'm pretty sure you'll still only get a 1
pixel wide line.
Tyler
mapserver-users-admin at lists.gis.umn.edu wrote on 06/28/2004 06:00:24 AM:
> 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
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list