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 

        -----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.
        2009/6/5 pere roca ristol <pero...@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 
                  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! 

Discuss mailing list

Reply via email to