<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<small><big>despite all my efforts, I cannot the solve the problem.<br>
I just want to get raster map value where I have clicked.<br>
I can display it and get value from polygon layer but not from <br>
raster layer concerned. <br>
Instead I get an error message concerning line "**" :</big><br>
"MapServer Error]: msQueryByPoint(): No matching record(s) found."</small><br>
<small><br>
////raster<br>
$heylayer ->set("status",1);<br>
<br>
** if ($heylayer->queryByPoint($pt, MS_SINGLE,
180.0) == MS_SUCCESS) {<br>
// find out how many results we found<br>
$heylayer->open();<br>
// find out how many results we found<br>
for ($i = 0; $i < 1000; $i++) {<br>
// get the results we need from the layer<br>
$res_hey = $heylayer->getResult($i);<br>
// get our shape info from the index<br>
$heyData =
$heylayer->getShape($res_hey->shapeindex, $res_hey->tileindex);<br>
<br>
<br>
$hey_vars=get_object_vars($heyData);<br>
//$heylayer->close();<br>
while (list($key,$value)=each($hey_vars)) :<br>
print "$key ==> $value<br>";<br>
endwhile;<br>
//////end rast<br>
<br>
/////**<br>
<br>
<br>
}<br>
}<br>
</small><br>
I will appreciate if you help me<br>
<br>
regards<br>
<br>
AhmetTemiz<br>
<BR><PRE>
______________________________________
Inflex - installed on mailserver for domain @deprem.gov.tr
Queries to: postmaster@deprem.gov.tr
______________________________________
The views and opinions expressed in this e-mail message are the sender's own
and do not necessarily represent the views and the opinions of Earthquake Research Dept.
of General Directorate of Disaster Affairs.
Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak T.C.
B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte degildir.
</pre><BR></body>
</html>