<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [mapserver-users] Two questions</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Re: two scale bars</FONT>
</P>

<P><FONT SIZE=2>The following works for me in my map template</FONT>
</P>

<P><FONT SIZE=2>&lt;IMG src=&quot;[program]?map=[map]&amp;mapext=[minx]+[miny]+[maxx]+[maxy]&amp;map_scalebar_units=miles&amp;mode=scalebar&quot;&gt;</FONT>
<BR><FONT SIZE=2>&lt;p&gt;</FONT>
<BR><FONT SIZE=2>&lt;IMG src=&quot;[scalebar]&quot;&gt;</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Ivan Paoluzzi [<A HREF="mailto:tesimap@hotmail.com">mailto:tesimap@hotmail.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, October 24, 2002 10:34 AM</FONT>
<BR><FONT SIZE=2>To: mapserver-users@lists.gis.umn.edu</FONT>
<BR><FONT SIZE=2>Subject: [mapserver-users] Two questions</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi all,</FONT>
<BR><FONT SIZE=2>I have 2 questions:</FONT>
</P>

<P><FONT SIZE=2>I) I want to have two scalebar in my mapserver project, first in meters and </FONT>
<BR><FONT SIZE=2>second in feet.</FONT>
<BR><FONT SIZE=2>But I succeed to draw it only one. How do I do to have both?</FONT>
</P>

<P><FONT SIZE=2>This in my scalebar (in meters) declaration:</FONT>
<BR><FONT SIZE=2>SCALEBAR</FONT>
<BR><FONT SIZE=2>&nbsp; SIZE 150 5</FONT>
<BR><FONT SIZE=2>&nbsp; STATUS ON</FONT>
<BR><FONT SIZE=2>&nbsp; STYLE 1</FONT>
<BR><FONT SIZE=2>&nbsp; IMAGECOLOR 255 255 255</FONT>
<BR><FONT SIZE=2>&nbsp; COLOR 0 0 0</FONT>
<BR><FONT SIZE=2>&nbsp; BACKGROUNDCOLOR 0 0 0</FONT>
<BR><FONT SIZE=2>&nbsp; OUTLINECOLOR 0 0 0</FONT>
<BR><FONT SIZE=2>&nbsp; UNITS METERS</FONT>
<BR><FONT SIZE=2>&nbsp; INTERVALS 3</FONT>
<BR><FONT SIZE=2>&nbsp; LABEL</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; COLOR 0 0 0</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; SIZE TINY</FONT>
<BR><FONT SIZE=2>&nbsp; END</FONT>
<BR><FONT SIZE=2>END&nbsp;&nbsp; #scalebar</FONT>
</P>
<BR>

<P><FONT SIZE=2>II) They have told me, in mailing list, that isn't possible to do a JOIN </FONT>
<BR><FONT SIZE=2>with Mapserver 3.5; is it real?</FONT>
<BR><FONT SIZE=2>In effects my JOIN doesn't give no result.</FONT>
<BR><FONT SIZE=2>They heve also told me that i have to 3.3 version to do a JOIN.</FONT>
<BR><FONT SIZE=2>Is there another method to do it?</FONT>
</P>

<P><FONT SIZE=2>This is my layer:</FONT>
<BR><FONT SIZE=2>LAYER</FONT>
<BR><FONT SIZE=2>&nbsp; NAME civici_sed</FONT>
<BR><FONT SIZE=2>&nbsp; TYPE POINT</FONT>
<BR><FONT SIZE=2>&nbsp; STATUS ON</FONT>
<BR><FONT SIZE=2>&nbsp; DATA civici_sed</FONT>
<BR><FONT SIZE=2>&nbsp; CLASSITEM civico</FONT>
<BR><FONT SIZE=2>&nbsp; CLASS</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME &quot;Numeri Civici&quot;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 255 0</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEMPLATE &quot;civici.html&quot;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>JOIN</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>&nbsp; NAME civicijoin</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>&nbsp; TABLE pop.dbf</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>&nbsp; FROM civico&nbsp; #field of civici_sed.dbf</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>&nbsp; TO key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #field of pop.dbf</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>&nbsp; TYPE MULTIPLE</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEMPLATE &quot;civicijoin.html&quot;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>END</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; HEADER &quot;civici_header.html&quot;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; FOOTER &quot;civici_footer.html&quot;</FONT>
<BR><FONT SIZE=2>END</FONT>
</P>
<BR>

<P><FONT SIZE=2>It shows fields of &quot;civici_sed.dbf&quot; but doesn't show the field &quot;key&quot; (a </FONT>
<BR><FONT SIZE=2>field of &quot;pop.dbf&quot;).</FONT>
</P>

<P><FONT SIZE=2>Ivan</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>_________________________________________________________________</FONT>
<BR><FONT SIZE=2>MSN Extra Storage! Hotmail all'ennesima potenza. Provalo!&nbsp; </FONT>
<BR><FONT SIZE=2><A HREF="http://www.msn.it/msnservizi/es/" TARGET="_blank">http://www.msn.it/msnservizi/es/</A></FONT>
</P>

</BODY>
</HTML>