[mapserver-users] drawing a north arrow on a map

John Beck beckjoh at knology.net
Thu Aug 7 06:25:28 EDT 2008


Dear list,
I'm hoping someone can help me.
 Following the instructions in the wiki, I am trying to add a north
 arrow to a map. I've got a basic north arrow image (north.gif),
I've added a pixmap symbol referencing it, and I've added a layer to the
map.However, the GIF never shows. I've tried this in both a mapscript
app and the basic Itasca demo, same result. I know there is nothing
wrong with the GIF or symbol definition. I found one solution in 
which a empty STYLE object that was needed but I am not sure how to implement.
Can anyone help?

> >   SYMBOL #North Arrow
> >     NAME "northarrow1"
> >     TYPE pixmap
> >     IMAGE "north.gif"
> >   END
> >
> >     LAYER
> >         NAME "North Arrow"
> >         STATUS DEFAULT
> >         TRANSFORM FALSE
> >         TYPE POINT
> >         FEATURE
> >           POINTS 250 250 END
> >         END
> >         CLASS
> >             SYMBOL 'north'
> >         END
> >   END
> >
> > Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080807/3f769418/attachment.html


More information about the mapserver-users mailing list