VS: [mapserver-users] Accessing raster cell values

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu May 29 01:47:16 PDT 2008


Hi,

I can't say anything about OpenLayest client, but you may find some other useful information from here:
http://mapserver.gis.umn.edu/docs/howto/raster_data/#raster-query

Basically I think that WMS GetFeatureInfo query might be close to what you are searching for. 

-Jukka Rahkonen-

 

> -----Alkuperäinen viesti-----
> Lähettäjä: mapserver-users-bounces at lists.osgeo.org 
> [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Andrew Mason
> Lähetetty: 29. toukokuuta 2008 11:30
> Vastaanottaja: mapserver-users at lists.osgeo.org
> Aihe: [mapserver-users] Accessing raster cell values
> 
> Hello List,
> 
> This question may be a general newbie GIS question and not 
> solely related to Mapserver, so apologies if I'm posting to 
> the wrong place.
> 
> I am serving a GeoTiff via Mapserver using WMS, and 
> displaying it using OpenLayers, so far so good.
> I need to be able to click on a point on the map and display 
> the value held within that particular Raster cell.
> Can anyone suggest what mechanism I should use for this? WCS 
> looks like it might be the thing I need, but I'm having 
> difficulty finding much in the way of examples and instructions.
> I've followed what examples there are and all I can get 
> Mapserver to return using WCS, is a Geotiff with every pixel 
> set to zero.
> So I've obviously not got it working correctly, and even if 
> it were I'm not sure how to get the information I need out of 
> the returned Geotiff when my client is OpenLayers.
> 
> Can anyone suggest a way to access a raster's values when it 
> is served by Mapserver and viewed using OpenLayers?
> 
> Thank you
> 
> Andrew Mason
> _______________________________________________
> 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