<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText74403 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Thank you very much for your help,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Reading from the page <A href="http://mapserver.gis.umn.edu/docs/howto/raster_data">http://mapserver.gis.umn.edu/docs/howto/raster_data</A>, i realized that in a raster query the only fields I can obtain are:</FONT></DIV>
<DIV dir=ltr>x, y, value_list, value_n class red, green , blue.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Thus, there is no way to calculate&nbsp;other attributes from the raster image.&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV></DIV>
<DIV id=idSignature71556 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV><FONT face=Arial color=#000000 size=2>Athanasis Nikolaos</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Adjunct Faculty&nbsp; and </FONT></FONT>Ph.D. Candidate, </FONT></DIV></DIV>
<DIV><FONT face=Arial color=#000000 size=2>Department of Geography and <FONT face="Times New Roman" size=3>Department of Cultural Technology and Communication</FONT></FONT></DIV>
<DIV><FONT face="Times New Roman" size=3></FONT>&nbsp;</DIV>
<DIV>
<DIV>
<DIV><FONT face=Arial color=#000000 size=2>University of the Aegean</FONT></DIV></DIV>
<DIV><FONT face=Arial color=#000000 size=2>University Hill</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>81100 Mytilene, GREECE</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#000000 size=2>TEL&nbsp; +30-22510-36436</FONT></DIV></DIV></FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Από:</B> Fischer, Brian [mailto:bfischer@houstonengineeringinc.com]<BR><B>Αποστολή:</B> Τετ 28/11/2007 10:31 μμ<BR><B>Προς:</B> Athanasis Nikolaos; geomoose-users@lists.sourceforge.net<BR><B>Θέμα:</B> ***PROBABLY FRAUD*** RE: [Geomoose-users] Identifty tool: Unable to interpret fields inraster files...<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV dir=ltr align=left><SPAN class=648042920-28112007><FONT face=Arial color=#0000ff size=2>Please refer to the MapServer help files for this.&nbsp; In this <A href="http://mapserver.gis.umn.edu/docs/howto/raster_data">http://mapserver.gis.umn.edu/docs/howto/raster_data</A>&nbsp;page it explains how to query raster data.&nbsp; Specifically look at section 8, it has an example of a template for raster queries.&nbsp; There is also additional info at <A href="http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RasterQuery">http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RasterQuery</A>.</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV align=left><FONT face=Arial size=2>Brian Fischer</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Houston Engineering, Inc.</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Maple Grove, MN</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>(763) 493-4522</FONT></DIV>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> geomoose-users-bounces@lists.sourceforge.net [mailto:geomoose-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Athanasis Nikolaos<BR><B>Sent:</B> Tuesday, November 27, 2007 1:40 PM<BR><B>To:</B> geomoose-users@lists.sourceforge.net<BR><B>Subject:</B> [Geomoose-users] Identifty tool: Unable to interpret fields inraster files...<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText97573 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hello !</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>I am trying to use the identify tool in my geomoose application.&nbsp;It &nbsp;worked ok with shape files, until&nbsp;I tried to add a raster file in the identify.map file. 
<P>My problem is that when i click on the identify tool, then it does not know how to interpret the [ObjectID] field and it shows it as text,&nbsp; i<FONT face=Arial size=2>t does not show the number of the ObjectID., it shows exatly : </FONT></P>
<P>"[ObjectID]" as text.....</P></FONT><FONT face=Arial size=2></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Here&nbsp;is the piece of the identify.map file:</FONT></DIV>
<DIV dir=ltr><FONT size=2>
<P>LAYER </P>
<P>NAME 'ddd'</P>
<P>DATA 'county/dtm_lsv1.img'</P>
<P>STATUS ON</P>
<P>TYPE </FONT><FONT face="Courier New" size=2>RASTER</P></FONT><FONT size=2>
<P>TOLERANCE </FONT><FONT face="Courier New" size=2>1</P></FONT><FONT size=2>
<P>TEMPLATE 'county/identify_DEM.html'</P>
<P>PROJECTION</P>
<P>"init=epsg:2100"</P>
<P>END</P>
<P>END</FONT>&nbsp;</P></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>here is the identify_DEM.html file:</FONT></DIV>
<DIV dir=ltr><FONT size=2>
<P>&lt;tr&gt;</P>
<P>&lt;td colspan="2"&gt;&lt;b&gt;Test Layer&lt;/b&gt;&lt;/td&gt;</P>
<P>&lt;/tr&gt;</P>
<P>&lt;tr&gt;</P>
<P>&lt;td align="right"&gt;ObjectID:&lt;/td&gt;</P>
<P>&lt;td&gt;[ObjectID]&lt;/td&gt;</P>
<P>&lt;/tr&gt;</P>
<P>&lt;tr&gt;&lt;td colspan="2"&gt;&lt;hr&gt;&lt;/td&gt;&lt;/tr&gt;</FONT></P></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>here is my map file:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>
<P>MAP</P>
<P>NAME 'please_run'</P>
<P>SIZE 800 650</P>
<P>#PROJECTION</P>
<P># 'init=epsg:2100'</P>
<P>#END</P>
<P>STATUS ON</P>
<P>EXTENT 654482.650706199 4310740.53966996 729748.549950696 4366667.28424747</P>
<P>UNITS METERS</P>
<P>FONTSET '../fonts/fontset.list'</P>
<P>SYMBOLSET '../symbols/symbol.sym'</P>
<P>#TRANSPARENT TRUE</P>
<P>IMAGETYPE PNG</P>
<P>IMAGECOLOR 13 176 229</P>
<P>QUERYMAP</P>
<P>STATUS ON</P>
<P>STYLE SELECTED</P>
<P>END</P>
<P>WEB</P>
<P>LOG "/ms4w/apps/GeoMOOSE/maps_statedemo/the_log_file_does_not_work.log"</P>
<P>INCLUDE "/ms4w/apps/GeoMOOSE/maps_statedemo/web_config.map"</P>
<P>END</P>
<P>LEGEND</P>
<P>STATUS ON</P>
<P>END</P>
<P>LAYER</P>
<P>NAME 'DEM'</P>
<P>DATA 'dtm_lsv1.img'</P>
<P>STATUS DEFAULT</P>
<P>TYPE RASTER</P>
<P></P>
<P>#OFFSITE 0 0 0</P>
<P></P>
<P>PROJECTION</P>
<P>'init=epsg:2100'</P>
<P>END #PROJECTION</P>
<P>END #LAYER</P>
<P>END ## end Map</P>
<P>&nbsp;</P>
<P>You can check what i mean in the following URL:</P>
<P><A href="http://195.251.137.181/geomoose/statedemo.html">http://195.251.137.181/geomoose/statedemo.html</A></P>
<P>Use the identify tool and click where ever you want.... In tghe right panel you see the strange result....</P>
<P>&nbsp;</P>
<P>Any hints please ???</P>
<P>&nbsp;</P>
<P>Thank you very much in advance!</P>
<P></FONT><FONT face=Arial color=#000000 size=2><FONT face=Arial color=#000000 size=2>Athanasis Nikolaos</FONT></P></DIV></DIV>
<DIV id=idSignature86357 dir=ltr>
<DIV>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Adjunct Faculty&nbsp; and </FONT></FONT>Ph.D. Candidate, </FONT></DIV></DIV>
<DIV><FONT face=Arial color=#000000 size=2>Department of Geography and <FONT face="Times New Roman" size=3>Department of Cultural Technology and Communication</FONT></FONT></DIV>
<DIV><FONT face="Times New Roman" size=3></FONT>&nbsp;</DIV>
<DIV>
<DIV>
<DIV><FONT face=Arial color=#000000 size=2>University of the Aegean</FONT></DIV></DIV>
<DIV><FONT face=Arial color=#000000 size=2>University Hill</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>81100 Mytilene, GREECE</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#000000 size=2>TEL&nbsp; +30-22510-36436</FONT></DIV></DIV></FONT></DIV></DIV></DIV></BODY></HTML>