see

http://svn.pmapper.net/trac/browser/trunk/pmapper/config/dev/pmapper_demo_dev.map

and

http://mapserver.org/input/raster.html#raster-query

armin

On 25/06/2011 00:37, Matt Doggett wrote:
> How can I query/identify the pixel/cell value of a raster at the location of
> mouse click?  I've searched online and have found vague older references to
> a pmapper_demo_dev.map and a "corine" layer (which apparently doesn't exist
> anymore) that demonstrates how to use metadata tags for use with rasters to
> query/identify.  I think I've figured out the METADATA tags that I should
> use, But nothing I've tried yet returns the pixel value of the raster.
> Mapserver renders this raster layer without any problem. How do I
> identify/query the pixel cell value?
>
>
>
> I'm using p.mapper 4.1.1 and php_mapscript 5.6.
>
>
>
> The layer snippet from my mapfile is below.
>
>
>
> Many thanks.   Matt
>
>
>
>
>
>    LAYER
>
>      NAME "ppt"
>
>      GROUP "ppt"
>
>      DATA "precipitation_data.bil"
>
>      PROJECTION
>
>        "proj=latlong"
>
>      END
>
>      STATUS ON
>
>      TYPE RASTER
>
>      UNITS METERS
>
>      TEMPLATE void
>
>      TOLERANCEUNITS pixels
>
>      TOLERANCE 0
>
>      METADATA
>
>          "DESCRIPTION" "Rainfall data"
>
>          "RESULT_HEADERS" "xcoord,ycoord"
>
>          "RESULT_FIELDS" "x,y"
>
>      END
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense..
> http://p.sf.net/sfu/splunk-d2d-c1
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to