<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<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. In
this <A
href="http://mapserver.gis.umn.edu/docs/howto/raster_data">http://mapserver.gis.umn.edu/docs/howto/raster_data</A> page
it explains how to query raster data. Specifically look at section 8, it
has an example of a template for raster queries. 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> </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> </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> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I am trying to use the identify tool in my
geomoose application. It worked ok with shape files, until 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, 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> </DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Here 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> </P></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </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><tr></P>
<P><td colspan="2"><b>Test Layer</b></td></P>
<P></tr></P>
<P><tr></P>
<P><td align="right">ObjectID:</td></P>
<P><td>[ObjectID]</td></P>
<P></tr></P>
<P><tr><td
colspan="2"><hr></td></tr></FONT></P></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </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> </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> </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> </P>
<P>Any hints please ???</P>
<P> </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 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> </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> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>TEL
+30-22510-36436</FONT></DIV></DIV></FONT></DIV></DIV></BODY></HTML>