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-boun...@lists.osgeo.org
[mailto:discuss-boun...@lists.osgeo.org] On Behalf Of pere roca ristol
Sent: Monday, June 08, 2009 3:38 AM
To: discuss@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
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
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss