[mapserver-users] Symbol Style Angle Seems Incorrect (MapServer 5.0.2)

David Martin David at itbeyond.com.au
Sun Dec 28 19:55:12 PST 2008


Hi,

 

Using MapServer 5.0.2

 

I am using a database bind for a SYMBOL Style Angle however I am finding
that the ANGLE show appears to be out and rendering backwards ie: ANGLE
10 is sloping a little to the left not right and angle 350 is sloping to
the right. I am using a symbol made up of a | char as below:

 

SYMBOL

    NAME 'landingground'

    TYPE TRUETYPE

    CHARACTER "|"

    FONT ARIAL

    POSITION CC

END

 

Showing on a map using 

CLASS

NAME 'Landing Ground'

EXPRESSION /3/

                STYLE

                SYMBOL 'circle'

                SIZE 10

                MAXSIZE 18

                MINSIZE 10

                COLOR 255 0 0

END

STYLE

                SYMBOL 'circle'

                SIZE 9

                MAXSIZE 17

                MINSIZE 9

                COLOR 255 255 255

END          

STYLE 

                SYMBOL 'landingground'

                SIZE 5

                MAXSIZE 12

                MINSIZE 5 

                COLOR 255 0 0 

                ANGLE [ORIENTATN] # supplied from ShapeFile

                ANTIALIAS TRUE 

            END

END

 

When I render this URL: 

http://mt1.exploroz.com/iMapPlot/GetMapTile.aspx?reload=1&key=test&mode=
map&map_imagetype=png&mapext=13523695.804194272+-3421332.5005978127+1352
6141.78909896+-3418886.5156931253&imgext=13523695.804194272+-3421332.500
5978127+13526141.78909896+-3418886.5156931253&map_size=256+256&imgx=128&
imgy=128&imgxy=256+256

 

(One of the tiles for my OL system) - showing an Airport defined at
ANGLE 321 you will see the Airstrip sloping to the right when it should
be mirrored and sloping to the left.

 

Any one else seen this or have a fix?

Regards
David Martin

________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081229/2a798177/attachment.htm>


More information about the MapServer-users mailing list