[Geomoose-users] Identify tool on a raster WMS layer

andy aborruso at gmail.com
Wed Feb 1 14:03:41 PST 2017


Hi,
I have set a map file with a DEM, something like:

  LAYER
    DATA "C:\\mypath\\dem_parco.tif"
    EXTENT 369957.267038251 4124951.49692997 378066.716402869 4133060.94629459
    FOOTER "footer.html"
    GROUP "DEMG"
    HEADER "header.html"
    METADATA
      "coordsys_name"    "WGS 84 / UTM zone 33N"
      "ows_title"    "dem"
      "identify_record"    "dem.html"
      "wms_group_title"    "DEMG"
    END # METADATA
    NAME "dem_parco"
    PROJECTION
      "proj=utm"
      "zone=33"
      "datum=WGS84"
      "units=m"
      "no_defs"
    END # PROJECTION
    STATUS ON
    TEMPLATE "dem.html"
    TILEITEM "location"
    TOLERANCE 0
    TYPE RASTER
    UNITS METERS
  END # LAYER

This is my html template:

<!-- MapServer Template -->
value=[value_list]

And when I run a getfeaureinfo I have the right result. In example:

http://localhost/cgi-bin/mapserv.exe?map=/mypath/altimetria.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&WIDTH=100&HEIGHT=100&X=50&Y=50&LAYERS=dem&SRS=EPSG:32633&BBOX=372390.685,4127843.803,376318.055,4131837.179&QUERY_LAYERS=dem&INFO_FORMAT=text/html

gives me value=152

But when I use GeoMoose identify tool above this layer I have

The service you called did not return valid XML. If you are the system
administrator, you should look into this, if you are not the system
administrator you should tell them about this.

Is it normal? Does it possible to use identify tool with a raster layer? If
yes, what’s wrong in my settings?

Thank you


------------------------------

Andrea Borruso
website: http://blog.spaziogis.it
38° 7’ 48” N, 13° 21’ 9” E, EPSG:4326
------------------------------

“cercare e saper riconoscere chi e cosa,
in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio”

Italo Calvino
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20170201/8a59464b/attachment.html>


More information about the Geomoose-users mailing list