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

Léveillé, James James.Leveille at mtq.gouv.qc.ca
Thu Aug 7 04:37:53 PDT 2008


John,
 
the symbol name doesn't match
 
 

______________________________________________________

JAMES LÉVEILLÉ
Service des systèmes de Mission
Direction des technologies de l'information
Ministère des Transports du Québec

5833, boul. Pierre-Bertrand, 2ième étage
Québec (Québec) G2K 1K7
Téléphone:   (418) 380-2005 poste 227
Télécopieur: (418) 644-6653
james.leveille at mtq.gouv.qc.ca <mailto:james.leveille at mtq.gouv.qc.ca> 


 

	-----Message d'origine-----
	De : mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] De la part de John Beck
	Envoyé : 7 août 2008 06:25
	À : mapserver-users at lists.osgeo.org
	Objet : [mapserver-users] drawing a north arrow on a map
	
	
	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/0d067e7d/attachment.htm>


More information about the MapServer-users mailing list