[Chameleon] Label Size error

Paul Spencer pspencer at dmsolutions.ca
Mon Dec 19 13:31:16 EST 2005


Mariette,

you'll probably have better luck with this question on the mapserver- 
users mailing list.  The only hint I can offer is that you might need  
to identify the label as truetype somehow.

Cheers

Paul

On 19-Dec-05, at 12:59 PM, Mariette wrote:

> Greetings,
>
> I am having an issue with Label Font Sizes. You can see in the Map  
> file excerpt below the two commented out lines.
>
> The minute I allow these lines to go thru I get an internal server  
> error, otherwise everything is running smoothly.
>
>
> LAYER
>
>   NAME "Contour"
>
>   STATUS ON
>
>   TYPE LINE
>
>   GROUP "Legend"
>
>   DATA "DT3_CONTOURS"
>
>   CLASSITEM "DXF_LAYER"
>
>   LABELITEM "ELEV"
>
>   CLASS
>
>     NAME "Contour_25m"
>
>     EXPRESSION "LFCI"
>
>     KEYIMAGE "C:\ms4w\apps\Lunenburg\htdocs\images\Con_25.gif"
>
>     STYLE
>
>       COLOR 164 121 22
>
>       SYMBOL "line"
>
>       SIZE 2
>
>     END
>
>     LABEL
>
>       COLOR 164 121 22
>
>       SHADOWCOLOR 218 218 218
>
>       SHADOWSIZE 2 2
>
>       FONT arial-bold
>
>  #     SIZE 8
>
>       POSITION CC
>
>       PARTIALS FALSE
>
>       MINDISTANCE 300
>
>       BUFFER 4
>
>     END
>
>   END
>
>   CLASS
>
>     NAME "Contour_5m"
>
>     EXPRESSION "LFCO"
>
>     KEYIMAGE "C:\ms4w\apps\Lunenburg\htdocs\images\Con_5.gif"
>
>     STYLE
>
>       COLOR 221 168 64
>
>       SYMBOL "line"
>
>       SIZE 1
>
>     END
>
>     LABEL
>
>       COLOR 164 121 22
>
>       SHADOWCOLOR 218 218 218
>
>       SHADOWSIZE 2 2
>
>       FONT arial-bold
>
> #      SIZE 12
>
>       POSITION CC
>
>       PARTIALS FALSE
>
>       MINDISTANCE 300
>
>       BUFFER 4
>
>     END
>
>   END
>
>   PROJECTION
>
>     "init=epsg:2038"
>
>   END
>
> END
>
> I just updated to the most recent Chameleon and ms4w, this problem  
> was not occuring beforehand.
>
> Would this classifiy as a bug,
>
>
> Thank You
>
> ********************************
>
> Mariette Hachey
>
> GIS Technologist
>
> GeoNet Technologies Inc.
>
> Box 22, Suite 211
>
> 90 University Ave
>
> Charlottetown, PE
>
> Canada, C1A 4K9
>
>
> ********************************
>
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the Chameleon mailing list