setting up raster queriesHi,

use MS_MULTIPLE and MS_SINGLE
e.g. with php-mapscript:
If you want only one result use
$datQuery = $layer->queryByPoint($qPoint, MS_SINGLE, 1);
if you want more results:
$datQuery = $layer->queryByPoint($qPoint, MS_MULTIPLE, 1);

Greetings
Sven


----- Original Message ----- From: Mark Volz
To: [email protected]
Sent: Thursday, June 10, 2010 4:09 PM
Subject: [mapserver-users] setting up raster queries


Hello,
I have a DEM file on my map so that users can click identify and get the elevation for the location. The query works however I get anywhere between 0 to 2 records returned. Is there a way to return only a single record on a query?
Thanks
Mark Volz
GIS Specialist
Lyon County, MN



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to