[OSGeo-Discuss] Re: adding scalebar to images to be downloaded

Fawcett, David David.Fawcett at state.mn.us
Mon Jun 8 07:11:37 PDT 2009


If you use MapServer to generate the map image, you can directly embed the scalebar in the map image at the time of creation.  
 
If not, you can just make a mode=legend call to MapServer CGI to get a legend image.  
 
http://mapserver.org/mapfile/legend.html
 
David.

	-----Original Message-----
	From: discuss-bounces at lists.osgeo.org [mailto:discuss-bounces at lists.osgeo.org] On Behalf Of pere roca ristol
	Sent: Monday, June 08, 2009 3:38 AM
	To: discuss at lists.osgeo.org
	Subject: [OSGeo-Discuss] Re: adding scalebar to images to be downloaded
	
	
	   I see that MapServer has the scalebar utility which can be used in command line to generate a scalebar graphic. 
	 
	   so I think problem solved. If someone knows of other tools please let me know.
	   thanks,
	
	   Pere
	
	
	2009/6/5 pere roca ristol <peroc79 at gmail.com>
	

		  hi all,
		  I have a webmapping application that generates map images to download in different formats and resolutions, with the legend and so on. You can see it in http://edit.csic.es/geo/mapviewer/edit.html or some videos http://edit.csic.es/edit_info/edit_videos.html
		
		  I wonder how I can add a scalebar to the image to be downloaded? as the images to download (ImageMagick) are processed in PHP it should be a server-side solution. 
		
		  some idea? thanks!
		  Pere Roca
		




	-- 
	Pere Roca Ristol
	BiĆ²leg i especialista GIS
	Museo Nacional de Ciencias Naturales (CSIC)
	Visita l'EDIT mapViewer! 
	http://edit.csic.es/edit_geo/prototype/edit.html
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/discuss/attachments/20090608/bdf355e1/attachment-0002.html>


More information about the Discuss mailing list