The intention was for the grey circle to be drawn at the computed label point. 
The most common use case is drawing a marker with associated text and you don't 
want them to overlap. If you do want them to overlap, use case would be 
labeling a highway shield then you must use POSITION CC.

Steve

From: [email protected] 
[mailto:[email protected]] On Behalf Of Ian Walberg
Sent: Sunday, December 11, 2011 1:51 AM
To: [email protected]
Subject: RE: [mapserver-users] GEOMTRANSFORM LABELPNT example




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





[cid:[email protected]]





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

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

> -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

> _______________________________________________

> mapserver-users mailing list

> [email protected]<mailto:[email protected]>

> 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

<<inline: image001.png>>

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to