[MAPSERVER-USERS] drawing a north arrow on a map

Ritesh Ambastha group.ritesh at gmail.com
Thu Aug 7 07:05:14 EDT 2008


Use the proper symbol name as: 

Layer
----style
-------symbol 'symbol_name'
----end
end

regards,
Ritesh

fastturtle wrote:
> 
> 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.
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 

-- 
View this message in context: http://www.nabble.com/drawing-a-north-arrow-on-a-map-tp18867640p18868108.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list