<!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 6.0.6487.1">
<TITLE>RE: [Cartoweb-users] Query in layer with CLASS</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hello,</FONT>
</P>
<P><FONT SIZE=2>Sorry but i don't very understand what you would say.</FONT>
<BR><FONT SIZE=2>I have set the TEMPLATE "foo" in each class but nothing change .</FONT>
</P>
<P><FONT SIZE=2>And for the problem about the reference map i don't know if i must use a factor scale of so, if i must set SIZE X Y for the map and one more time for the REFERENCE.</FONT></P>
<P><FONT SIZE=2>Is there someone that could explain that </FONT>
</P>
<P><FONT SIZE=2>Here is a part of my mapfile</FONT>
</P>
<P><FONT SIZE=2>MAP</FONT>
<BR><FONT SIZE=2> # QUERY</FONT>
<BR><FONT SIZE=2> NAME "bruxelles"</FONT>
<BR><FONT SIZE=2> EXTENT 145691.587 164468.490 155263.057 178821.756</FONT>
<BR><FONT SIZE=2> SHAPEPATH "data"</FONT>
<BR><FONT SIZE=2> SYMBOLSET "symbols.sym"</FONT>
<BR><FONT SIZE=2> FONTSET "fonts.txt"</FONT>
<BR><FONT SIZE=2> UNITS METERS</FONT>
<BR><FONT SIZE=2> LEGEND</FONT>
<BR><FONT SIZE=2> STATUS ON</FONT>
<BR><FONT SIZE=2> KEYSIZE 18 13</FONT>
<BR><FONT SIZE=2> POSTLABELCACHE true</FONT>
</P>
<P><FONT SIZE=2> LABEL</FONT>
<BR><FONT SIZE=2> TYPE BITMAP</FONT>
<BR><FONT SIZE=2> SIZE MEDIUM</FONT>
<BR><FONT SIZE=2> POSITION cc</FONT>
<BR><FONT SIZE=2> COLOR 0 0 89</FONT>
<BR><FONT SIZE=2> END</FONT>
<BR><FONT SIZE=2> END</FONT>
</P>
<P><FONT SIZE=2> #LEGEND</FONT>
<BR><FONT SIZE=2> #</FONT>
<BR><FONT SIZE=2> # Start of scalebar</FONT>
<BR><FONT SIZE=2> #</FONT>
</P>
<P><FONT SIZE=2> </FONT>
<BR><FONT SIZE=2>OUTPUTFORMAT</FONT>
<BR><FONT SIZE=2> NAME png</FONT>
<BR><FONT SIZE=2> DRIVER "GD/PNG"</FONT>
<BR><FONT SIZE=2> MIMETYPE "image/png"</FONT>
<BR><FONT SIZE=2> IMAGEMODE PC256</FONT>
<BR><FONT SIZE=2> EXTENSION "png"</FONT>
<BR><FONT SIZE=2>END </FONT>
</P>
<P><FONT SIZE=2> SCALEBAR</FONT>
<BR><FONT SIZE=2> STATUS ON</FONT>
<BR><FONT SIZE=2> COLOR 255 255 255</FONT>
<BR><FONT SIZE=2> OUTLINECOLOR 0 0 0</FONT>
<BR><FONT SIZE=2> BACKGROUNDCOLOR 0 0 0</FONT>
<BR><FONT SIZE=2> IMAGECOLOR 255 255 255</FONT>
<BR><FONT SIZE=2> UNITS meters</FONT>
<BR><FONT SIZE=2> INTERVALS 10</FONT>
<BR><FONT SIZE=2> #LABEL</FONT>
<BR><FONT SIZE=2> SIZE 350 5 </FONT>
<BR><FONT SIZE=2> LABEL</FONT>
<BR><FONT SIZE=2> SIZE SMALL</FONT>
<BR><FONT SIZE=2> COLOR 0 0 0</FONT>
<BR><FONT SIZE=2> END</FONT>
<BR><FONT SIZE=2> END</FONT>
<BR><FONT SIZE=2>REFERENCE</FONT>
<BR><FONT SIZE=2> IMAGE images/keymap.gif</FONT>
<BR><FONT SIZE=2> EXTENT 145691.587 164468.490 155263.057 178821.756</FONT>
<BR><FONT SIZE=2> STATUS ON</FONT>
<BR><FONT SIZE=2> COLOR -1 -1 -1</FONT>
<BR><FONT SIZE=2> OUTLINECOLOR 180 60 60</FONT>
<BR><FONT SIZE=2> SIZE 100 70</FONT>
<BR><FONT SIZE=2> END</FONT>
</P>
<P><FONT SIZE=2>...........</FONT>
<BR><FONT SIZE=2>Thanks a lot</FONT>
</P>
<P><FONT SIZE=2>Ragards</FONT>
</P>
<P><FONT SIZE=2>Caussin David</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Pierre GIRAUD [<A HREF="mailto:pierre.giraud@camptocamp.com">mailto:pierre.giraud@camptocamp.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: mardi 9 août 2005 11:28</FONT>
<BR><FONT SIZE=2>To: Caussin David</FONT>
<BR><FONT SIZE=2>Cc: Cartoweb-users@lists.maptools.org</FONT>
<BR><FONT SIZE=2>Subject: Re: [Cartoweb-users] Query in layer with CLASS</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT SIZE=2>Caussin David a écrit :</FONT>
</P>
<P><FONT SIZE=2>> Hi,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I ask the question again about the query in a layer with class.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> In fact, i have a layer with many class and when i query it all the </FONT>
<BR><FONT SIZE=2>> elements in the class of the layer are highlighted.</FONT>
<BR><FONT SIZE=2>> I have take a look in the shp file to see if the elements are not only </FONT>
<BR><FONT SIZE=2>> one polygon but there are independants.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I can't see from where that come.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>You probably need to set a TEMPLATE "foo" in each class an not in the </FONT>
<BR><FONT SIZE=2>layer itself.</FONT>
</P>
<P><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Another question is about the zoom in the reference map.</FONT>
<BR><FONT SIZE=2>> At the beginning i have a good view with all the city.</FONT>
<BR><FONT SIZE=2>> When i zoom in no problem i have the good zoom on the main screen and </FONT>
<BR><FONT SIZE=2>> on the reference map.</FONT>
<BR><FONT SIZE=2>> But when i want to move the zoom rectangle with the reference map, the </FONT>
<BR><FONT SIZE=2>> result is wrong.</FONT>
<BR><FONT SIZE=2>> The rectangle of the zoom go to the bottom of the reference map and </FONT>
<BR><FONT SIZE=2>> display nothing.....</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>You probably forgot to set your reference size in your mapfile in </FONT>
<BR><FONT SIZE=2>concordance with the real size (in pixels) of your project keymap (i.e. </FONT>
<BR><FONT SIZE=2>keymap.png).</FONT>
</P>
<P><FONT SIZE=2>Regards.</FONT>
</P>
<P><FONT SIZE=2>Pierre</FONT>
</P>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>_________________________________________________________</FONT>
<BR><FONT SIZE=2>Pierre GIRAUD</FONT>
<BR><FONT SIZE=2>Géomaticien, Analyste</FONT>
</P>
<P><FONT SIZE=2>Camptocamp France SAS</FONT>
<BR><FONT SIZE=2>Savoie Technolac, BP 352</FONT>
<BR><FONT SIZE=2>73377 Le Bourget du Lac, Cedex </FONT>
</P>
<P><FONT SIZE=2>Tel : 00 33 4 79 44 44 93</FONT>
<BR><FONT SIZE=2>Mail : pierre.giraud@camptocamp.com</FONT>
<BR><FONT SIZE=2><A HREF="http://www.camptocamp.com">http://www.camptocamp.com</A> </FONT>
</P>
<BR>
</BODY>
</HTML>