Hello all,

I'm having trouble using the Identify tool with WMS layers. With raster layers 
on local files (tiff), the tool works as expected, but in case of WMS layers, I 
can not get any results to Identify (GetFeatureInfo).

I have tried various options based on pmapper_demo_dev.map, but no results. 
Here is the base configuration I'm using:

  LAYER
    NAME 'LEE_2011_final'
    TYPE RASTER
    CONNECTIONTYPE WMS
    CONNECTION 'http://localhost/cgi-bin/teste_qgismapserver/qgis_mapserv.fcgi';
    STATUS OFF
    TOLERANCE 6
    TOLERANCEUNITS pixels
    TEMPLATE 'void'
    METADATA
      'wms_name' 'LEE_2011_final'
      'wms_server_version' '1.1.1'
      'wms_srs' 'EPSG:20790'
      'wms_format' 'image/png'
    END
  END

I appreciate any help, since I'm new to the pmapper/mapserver!

Thanks,
Pedro Venâncio





________________________________
From: Armin Burger 

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

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to