[mapserver-users] International characters in text paramater
Espen Isaksen
espen.isaksen at gmail.com
Thu May 29 03:03:55 PDT 2008
Didn't get it to work as it should.
This works:
TEXT "test"
This does not work(no text at all in the map):
TEXT "Lysløype"
If we do this
TEXT ("Lysløype")
mapserver does not understand the ASCII value and prints it out
exactly as typed.
Espen
2008/5/28 Frode Wiseth Jørgensen <frodewj at gmail.com>:
> Hi Espen
>
> Try this:
>
> TEXT "Lysløype"
>
>
>
> FrodeWJ
>
>
>
>
> 2008/5/28 Espen Isaksen <espen.isaksen at gmail.com>:
>>
>> Hi!
>>
>> Tried to find a answer to this but was unable to. I am trying to use
>> Norwegian characters in the text parameter in the class object. I set
>> "Text (Lysløype)" in the map file but this does not work. How can I do
>> this correctly? Example follows:
>>
>>
>> LAYER # Lysloype
>> NAME Lysloype
>> TYPE line
>> STATUS default
>> DATA bygg/lysloype
>> MAXSCALE 20000
>> TRANSPARENCY 80
>> LABELMAXSCALE 2000
>> CLASS
>> STYLE
>> COLOR 255 255 0 # Gul farge.
>> SYMBOL "point_line"
>> SIZE 4
>> END
>>
>> STYLE
>> COLOR 255 255 0 # Gul farge.
>> SYMBOL "normal_line"
>> SIZE 1
>> END
>>
>> TEXT (Lysløpe)
>>
>> LABEL
>> SIZE 7
>> COLOR 255 255 255
>> OUTLINECOLOR 100 100 100
>> ANGLE follow
>> POSITION cc
>> TYPE truetype
>> FONT Verdana_bold
>> MINDISTANCE 1000000
>> PARTIALS false
>> END
>> END
>> END
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
> --
> Frode Wiseth Jørgensen
> +47 99 03 41 42
More information about the MapServer-users
mailing list