[mapserver-users] setting up raster queries

Sven Schroeter schroeter at netgis.de
Thu Jun 10 07:50:59 PDT 2010


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: mapserver-users at lists.osgeo.org
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
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users 





More information about the MapServer-users mailing list