<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=028230314-08062009><FONT face=Arial color=#0000ff size=2>If you
use MapServer to generate the map image, you can directly embed the scalebar in
the map image at the time of creation. </FONT></SPAN></DIV>
<DIV><SPAN class=028230314-08062009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=028230314-08062009><FONT face=Arial color=#0000ff size=2>If
not, you can just make a mode=legend call to MapServer CGI to get a legend
image. </FONT></SPAN></DIV>
<DIV><SPAN class=028230314-08062009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=028230314-08062009><FONT face=Arial color=#0000ff size=2><A
href="http://mapserver.org/mapfile/legend.html">http://mapserver.org/mapfile/legend.html</A></FONT></SPAN></DIV>
<DIV><SPAN class=028230314-08062009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=028230314-08062009><FONT face=Arial color=#0000ff
size=2>David.</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
discuss-bounces@lists.osgeo.org [mailto:discuss-bounces@lists.osgeo.org] <B>On
Behalf Of </B>pere roca ristol<BR><B>Sent:</B> Monday, June 08, 2009 3:38
AM<BR><B>To:</B> discuss@lists.osgeo.org<BR><B>Subject:</B> [OSGeo-Discuss]
Re: adding scalebar to images to be
downloaded<BR><BR></FONT></DIV> I see that MapServer has the
scalebar utility which can be used in command line to generate a scalebar
graphic. <BR> <BR> so I think problem solved. If someone
knows of other tools please let me know.<BR>
thanks,<BR><BR> Pere<BR><BR>
<DIV class=gmail_quote>2009/6/5 pere roca ristol <SPAN dir=ltr><<A
href="mailto:peroc79@gmail.com">peroc79@gmail.com</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
hi all,<BR> 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 <A href="http://edit.csic.es/geo/mapviewer/edit.html"
target=_blank>http://edit.csic.es/geo/mapviewer/edit.html</A> or some videos
<A href="http://edit.csic.es/edit_info/edit_videos.html"
target=_blank>http://edit.csic.es/edit_info/edit_videos.html</A><BR><BR>
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. <BR><BR> some idea? thanks!<BR><FONT
color=#888888> Pere Roca<BR></FONT></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Pere Roca Ristol<BR>Biòleg i especialista GIS<BR>Museo
Nacional de Ciencias Naturales (CSIC)<BR>Visita l'EDIT mapViewer! <BR><A
href="http://edit.csic.es/edit_geo/prototype/edit.html">http://edit.csic.es/edit_geo/prototype/edit.html</A><BR></BLOCKQUOTE></BODY></HTML>