[UMN_MAPSERVER_USERS] Character issue with GetMap and SLD

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Fri Mar 24 09:05:40 EST 2006


Assefa,

This was exactly it.  I contact the admin of this WMS, got the font list
from them (the font we were using wasn't in their setup), applied one of
the fonts supplied, and everything worked.

The real solution here would be to have OGC:WMS w/SLD GetCapabilities
output report on what fonts are supported.  Next OGC meeting :)

..Tom




>Tom,
>
>  Is it possible that the font list does not coinatin the font that you
>are trying to use ? From your sld, when applying it to the layer, the
>resulting font name set will be  Arial-bold-italic. If that is not
>available in the font.txt, the defaut fall-back is to use the pixmap
.fonts which might explain the problem.
>Later,

Kralidis,Tom [Burlington] wrote:
> Hi,
>
> I can do the following GetMap against this WMS:
>
>
http://atlas.gc.ca/cgi-bin/atlaswms_en?request=GetMap&service=WMS&SRS=EP
>
SG:42304&bbox=1796748.1308543,135121.79091266,1912040.0504417,264131.088
> 38773&layers=places_labels_2m&version=1.1.1
>
> ..with no issues (NB: MapServer is powering this WMS).
>
> When I try to apply the following SLD:
>
> http://devgeo.cciw.ca/ms_tmp/k.sld
>
> ...to a GetMap request:
>
>
http://atlas.gc.ca/cgi-bin/atlaswms_en?request=GetMap&service=WMS&SRS=EP
>
SG:42304&bbox=1796748.1308543,135121.79091266,1912040.0504417,264131.088
>
38773&layers=places_labels_2m&version=1.1.1&sld=http://devgeo.cciw.ca/ms
> _tmp/k.sld
>
> The accented characters on the annotations are malformed.
>
> Any suggestions?
>
> Thanks
>
> ..Tom
>


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at ...
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list