Or, can I fake it by using a querybyShape??

 

r.b.

 

-----Original Message-----
From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] On
Behalf Of Burgholzer,Robert
Sent: Tuesday, June 12, 2007 1:09 PM
To: [email protected]
Subject: [UMN_MAPSERVER-USERS] queryByFeatures raster

 

Is it possible to do a queryByFeatures on a raster?  That is, I want to
select a shape feature, then have that used as a query shape to
summarize info in my overlapping raster.

 

I am trying this:

 

   $rastermap = $amap->map->getLayerByName('depart30');

   $shapemap = $amap->map->getLayerByName('selectedsegs');

   $rastermap->queryByShape($shapemap->index);

 

But cannot seem to retrieve any data (even though the raster is
definitely overlapping).  

 

My raster layer is a geoTiff (also tried as Gif, same result), with a
manually specified world file. The images display overlapping in the map
view window.

 

Any help would be appreciated,

 

r.b.

 

Robert W. Burgholzer

Surface Water Modeler

Office of Water Supply and Planning

Virginia Department of Environmental Quality

[EMAIL PROTECTED]

804-698-4405

Open Source Modeling Tools:

http://sourceforge.net/projects/npsource/

 

Reply via email to