CLASSITEM-Objekt

Michael Schulz mschulz at WEBGIS.DE
Mon Sep 19 08:02:04 EDT 2005


Hi Leopold,

seems you have two classitems defined for the line layer: CLASSITEM 
"BELFZGIV1" and CLASSITEM 'fzgiv'. Maybe that's all.

Cheers, Michael


Leopold Schefcik (MULTIMEDIAPLAN.AT) schrieb:
> hi list,
> 
> I have a layer with polygones and a classitem-object that's working fine.
> 
> I want to make the same with an other layer with lines and when I put in the
> classitem-object it doesn't works anymore.
> 
> Someone has an idea about that?
> 
> Best regards,
> Leopold
> 
> 
> ---------------------------------------
> the working poligone Layer:
> 
> LAYER
>     NAME "Bev_Density"
>     STATUS ON
>     DATA "test_bevdichte3"
>     TYPE POLYGON
>     UNITS METERS
>     SIZEUNITS PIXELS
>     TOLERANCE 0
>     TOLERANCEUNITS PIXELS
>     METADATA
>       "wms_title"    "Bev_Density"
>       "DESCRIPTION"    "Bevoelkerungsdichte"
>       "WMS_SRS"    "EPSG:31287 EPSG:4326 EPSG:31466 EPSG:31467"
>     END
> 	STATUS    DEFAULT
>     CLASSITEM 'Bev_class'
> 
>     CLASS
>        NAME "sehr niedrige Bevölkerungsdichte"
>        EXPRESSION    "1"
>        COLOR         255 227 231
>    	   OUTLINECOLOR 101 79 79
>        SIZE          2
>     END
> ...
> 
> ----------------------------------------------------------
> the same with a line layer - not working (without the classitem object it
> works)
> 
> LAYER
>     NAME "BMVIT_wms_strasse_2010"
>     STATUS ON
>     DATA "strasse_2010_lambert475"
>     TYPE LINE
>     CLASSITEM "BELFZGIV1"
>     UNITS METERS
>     SIZEUNITS PIXELS
>     MINSCALE 1
>     MAXSCALE 5000000
>     TOLERANCE 0
>     TOLERANCEUNITS PIXELS
>     METADATA
>       "wms_title"    "BMVIT_wms_strasse_2010"
>       "DESCRIPTION"    "BMVIT Verkehrsprognose strasse_2010"
>       "WMS_SRS"    "EPSG:31287 EPSG:4326 EPSG:31466 EPSG:31467"
>     END
> 	STATUS    DEFAULT
>     CLASSITEM 'fzgiv'
> 
> 	CLASS
>        NAME "0 bis 3000 KFZ/Tag"
>        EXPRESSION    "1"
>        COLOR         254 225 225
> 	   SIZE          2
>     END
> 


-- 
-----------------------------------------------------------
Michael Schulz                            mschulz at webgis.de

in medias res  Gesellschaft für Informationstechnologie mbH

In den Weihermatten 66              Tel +49 (0)761 556959-5
79108 Freiburg                      Fax +49 (0)761 556959-6

                www.webgis.de / www.zopecms.de
-----------------------------------------------------------
NEU ++ UMN MapServer Hosting ++ http://www.webgis.de ++ NEU
-----------------------------------------------------------



More information about the mapserver-users mailing list