[mapserver-users] problem with Portuguese idiom

Štepán Kafka 2 stepan.kafka at centrum.cz
Thu Oct 25 07:33:45 PDT 2001


I had have the same problem with punctuation. The quickest solution is:

- using truetype fonts,
- using UNICODE characters for labeling map (I use extra column with UNICODE
coding for labeling in the attribute table).

Stepan Kafka

> -----Pùvodní zpráva-----
> Od: owner-mapserver-users at lists.gis.umn.edu
> [mailto:owner-mapserver-users at lists.gis.umn.edu]za uživatele Eduardo
> Patto Kanegae
> Odesláno: 25. øíjna 2001 1:40
> Komu: mapserver-users at lists.gis.umn.edu
> Pøedmìt: Re: [mapserver-users] problem with Portuguese idiom
>
>
> default font....
>
> this is my map file
>
> NAME sp # prefixo das imagens temporarias geradas
> EXTENT -53.110 -25.310 -44.162 -19.785 # limites do shp
> SIZE 600 600 # dimensoes da imagem
> SHAPEPATH "D:\InetPub\websites\ekanegae\mapserver\shp" # caminho para os
> SHPs
> IMAGECOLOR 255 255 255
> TRANSPARENT OFF # gerar GIF transparente
>
> WEB
>   HEADER "../demo_header.html"
>   TEMPLATE "../demo.html"
>   FOOTER "../demo_footer.html"
>   MINSCALE 10
>   MAXSCALE 1550000000
>   IMAGEPATH "D:\Inetpub\wwwroot\ms_demo\tmp\"
>   IMAGEURL "/ms_demo/tmp/"
>   # LOG "demo.log"
> END
>
> QUERYMAP
>   SIZE 200 200
>   STATUS ON
>   STYLE HILITE
>   COLOR 255 0 0
> END
>
> LEGEND
>   KEYSIZE 18 12
>   LABEL
>     TYPE BITMAP
>     SIZE MEDIUM
>     COLOR 0 0 89
>   END
>   STATUS ON
> END
>
>
> LAYER # inicia um objeto Layer
>  NAME "municipios" # nome do Layer
>  DATA sp # nome do SHP sem extensao
>  STATUS DEFAULT # se nenhum layer for invocado, este ja vem ativo como
> PADRAO
>  TYPE POLYGON # tipo de layer(poligono,line,ponto...)
>  CLASS # define uma classe para representar o layer
>   COLOR 255 250 192 # cor do layer
>   OUTLINECOLOR 0 0 0 # cor do contorno do layer
>  END # finaliza definicao de classe
> END # finaliza definicao do layer
>
> LAYER # inicia layer
>  NAME "municipios"
>  TYPE ANNOTATION
>  DATA sp
>  STATUS ON
>  LABELITEM "NMUN"
>  CLASSITEM "NMUN"
>  LABELMAXSCALE 5000000
>  CLASS # inicia classe
>   EXPRESSION /./
>   COLOR -1 -1 -1
>   LABEL
>    COLOR 0 0 0
>    SHADOWCOLOR 255 255 255
>    SHADOWSIZE 0 0
>    TYPE BITMAP
>    SIZE TINY
>    POSITION CC
>    PARTIALS FALSE
>    BUFFER 2
>   END # finaliza label
>  END # finaliza classe
> END # finaliza layer
> END # fim do map file
>
>
>
> ----- Original Message -----
> From: "Stephen Lime" <steve.lime at dnr.state.mn.us>
> To: <lists at ekanegae.com.br>; <mapserver-users at lists.gis.umn.edu>
> Sent: Wednesday, October 24, 2001 6:53 PM
> Subject: Re: [mapserver-users] problem with Portuguese idiom
>
>
> > What type of font are you using?
> >
> > Stephen Lime
> > Data & Applications Manager
> >
> > Minnesota DNR
> > 500 Lafayette Road
> > St. Paul, MN 55155
> > 651-297-2937
> >
> > >>> "Eduardo Patto Kanegae" <lists at ekanegae.com.br> 10/23/01 04:50PM >>>
> > i'm trying to display as annotation layer , the names of cities of Sao
> Paulo state of Brasil
> >
> > but when the name of city is something like "Sao Paulo" or "Ribeirao
> Preto" or "Paulínea"...
> >
> > it only displays "SA  PAULO" or "RIBEIR O PRETO" or "PAUL NEA"
> >
> > does it has a way to contour this or is it better i change
> field values on
> the .DBF?
> >
> >
>
>




More information about the MapServer-users mailing list