[Mapserver-users] Point Query Problem

Norbert Thieme norbert.thieme at ilmenau.baw.de
Fri Apr 30 04:24:08 EDT 2004


Hi,

I cut a part of my code that you can try:

	if (@$layer->queryByPoint($q_point, $q_mode, 0) == MS_SUCCESS)
	{
	  $res_count = $layer->getnumresults();
	  for ($i = 0; $i < $res_count; $i++)
	  {
	    $result     = $layer->getResult($i);
	    $shpindex   = $result->shapeindex;
	    $tileindex  = $result->tileindex;
	    $classindex = $result->classindex;

	    ....and so on.

I hope this helps.

Norbert



More information about the mapserver-users mailing list