[mapserver-users] queryByPoint still valid?

Stefan Schwarzer STEFAN.SCHWARZER at GRID.UNEP.CH
Wed Apr 23 08:04:15 EDT 2008


Hi,

hmm... I changed a couple of things in my application: new template  
engine; moved from PHP4 to PHP5; and from mapserver 4.x to mapserver 5.x

Now, the "identify" feature (click on a country and give me some info  
about it), has problems....

Is anything wrong with these lines?


		//Query the Map at the point clicked
		if (!$imgbox)
			$a = $map -> queryByPoint($click_pt, MS_MULTIPLE, -1);
		else
			$a = $map -> queryByRect($click_rt);

Thanks for any hints,

Stef


More information about the mapserver-users mailing list