[mapserver-users] problem with TRUETYPE and GEOMTRANSFORM 'labelpoly': wrong calculation by mapserver ?
Lime, Steve D (MNIT)
Steve.Lime at state.mn.us
Thu Feb 21 11:42:00 PST 2013
Oliver: Any chance you can create a test case and a ticket?
Steve
_______________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Oliver Christen [oliver.christen at camptocamp.com]
Sent: Thursday, February 21, 2013 8:40 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] problem with TRUETYPE and GEOMTRANSFORM 'labelpoly': wrong calculation by mapserver ?
hello dear mailinglist
Im having a strange result when using a TRUETYPE symbol used as LABEL,
with a GEOMTRANSFORM 'labelpoly' to give some background color of my symbol,
the background polygon created by the GEOMTRANSFORM 'labelpoly' is
smaller than my symbol, ending in a not so great result, as seen on this
example:
http://dev.camptocamp.com/files/mapserver/test_train_symbol.png
also, the OUTLINECOLOR show some color inside the symbol, something I
dont understand at all.
if someone could possibly tell me how to adjust the labelpoly size and
explain me the OUTLINECOLOR behavior in this case, I would be very grateful.
here is the CLASS used to render that layer:
CLASS
LABEL
TYPE TRUETYPE
FONT HPMDRG
SIZE 20
ANTIALIAS TRUE
COLOR 0 51 153 # dark blue
OUTLINECOLOR 255 0 0 # red, just for testing, I dont understand
why there is an outline inside the symbol
STYLE
GEOMTRANSFORM 'labelpoly'
COLOR 0 255 255 # background cyan rectangle, not the correct size
END
POSITION cc
END
TEXT "1"
END
Im using mapserver 6.3.0 on debian
thank you for reading this,
best regards
Oliver
--
Camptocamp SA
Oliver Christen
PSE A
CH-1015 Lausanne
www.camptocamp.com
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list