Here is an image and the map file we are using ms4w 3.0.3.
We thought the larger grey circle should be drawn in the center of the
label text.
What have we done wrong?
Thanks
Ian
LAYER
DEBUG 5
NAME Test
TYPE annotation
STATUS DEFAULT
FEATURE
POINTS
-122 33
END
TEXT "Some label text"
END
CLASS
LABEL
FONT "arialuni"
TYPE truetype
ENCODING 'UTF-8'
SIZE 14
COLOR 255 255 0
POSITION LR
OFFSET 8 8
STYLE
GEOMTRANSFORM LABELPOLY
COLOR 200 50 50
END
STYLE
GEOMTRANSFORM LABELPNT
SYMBOL 'circle'
COLOR 100 100 100
SIZE 20
END
STYLE
COLOR 255 255 255
SYMBOL 'circle'
SIZE 6
END
END
END
END
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ian
Walberg
Sent: Saturday, December 10, 2011 3:53 PM
To: Brent Fraser
Cc: [email protected]
Subject: RE: [mapserver-users] GEOMTRANSFORM LABELPNT example
Brent,
We copied the example
http://osgeo-org.1803224.n2.nabble.com/GEOMTRANSFORM-labelpnt-location-t
<http://osgeo-org.1803224.n2.nabble.com/GEOMTRANSFORM-labelpnt-location-
t>
d6408065.html.
However we see the GEOMTRANSFORM labelpnt drawing the circle on the
point location not the center of the label text.
Thanks
Ian
-----Original Message-----
From: Brent Fraser [mailto:[email protected]]
<mailto:[mailto:[email protected]]>
Sent: Saturday, December 10, 2011 1:25 PM
To: Ian Walberg
Cc: [email protected]
<mailto:[email protected]>
Subject: RE: [mapserver-users] GEOMTRANSFORM LABELPNT example
Ian,
How are you specifying it in your mapfile?
Brent Fraser
> Steve,
>
> We are still not seeing what we expect, we are testing with the ms4w
> 3.0.3 install, will this work?
>
> Thanks
>
> Ian
>
> -----Original Message-----
> From: [email protected]
<mailto:[email protected]>
> [mailto:[email protected]]
<mailto:[mailto:[email protected]]> On Behalf Of
Stephen
> Woodbridge
> Sent: Saturday, December 10, 2011 7:48 AM
> To: [email protected]
<mailto:[email protected]>
> Subject: Re: [mapserver-users] GEOMTRANSFORM LABELPNT example
>
> On 12/10/2011 10:36 AM, Ian Walberg wrote:
>> Does anyone have an example of the GEOMTRANSFORM LABELPNT?
>>
>> We have been trying this I were expecting the center to be located on
>> the center of the label test border rectangle but we seem to be
>> getting the center as the point location.
>>
>> Any ideas?
>
> Hi Ian,
>
> The label point is the that the label is placed about. The actual
> label position can change relative to the label point based on
> POSITION and other attributes of the label.
>
> I don't have the RFC in front of me but here is a good example to test
> with:
>
> http://osgeo-org.1803224.n2.nabble.com/GEOMTRANSFORM-labelpnt-location
<http://osgeo-org.1803224.n2.nabble.com/GEOMTRANSFORM-labelpnt-location>
> -t
> d6408065.html
>
> Try varying the LABEL POSITION and see how it behaves.
>
> -Steve W
> _______________________________________________
> mapserver-users mailing list
> [email protected]
<mailto:[email protected]>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
<mailto:[email protected]>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>
_______________________________________________
mapserver-users mailing list
[email protected] <mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
<<image001.png>>
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
