[Geomoose-users] Query a Mapserver raster group

andy aborruso at gmail.com
Fri Feb 3 08:50:49 PST 2017


Hi James,
first of all thank you.

On 3 February 2017 at 17:30, James Klassen <klassen.js at gmail.com> wrote:

There isn't a way to tell it to use one layer for GetMap but some other
> layer for GetFeatureInfo.
>
I thought that a Group could solve my problem. I thought to put in this
group my “cosmetic” file and my data file, and than run a GetFeatureInfo on
this group and obtain the info only for the layer in which I set a template
file (the data file). Below an example.

But, it seems not possible.

Thank you again

  LAYER
    DATA "dataFile.tif"
    EXTENT 369957.267038251 4124951.49692997 378066.716402869 4133060.94629459
    GROUP "DEMG"
    METADATA
      "coordsys_name"    "WGS 84 / UTM zone 33N"
      "ows_title"    "dataFile"
      "identify_record"    "dummy.html"
      "wms_group_title"    "DEMG"
    END # METADATA
    NAME "dataFile"
    PROJECTION
      "proj=utm"
      "zone=33"
      "datum=WGS84"
      "units=m"
      "no_defs"
    END # PROJECTION
    STATUS ON
    TYPE RASTER
    TEMPLATE "dummy.html"
    UNITS METERS
    OPACITY 0
  END # LAYER

  LAYER
    DATA "cosmeticFile.tif"
    EXTENT 369957.267038251 4124951.49692997 378066.716402869 4133060.94629459
    GROUP "DEMG"
    METADATA
      "coordsys_name"    "WGS 84 / UTM zone 33N"
      "ows_title"    "cosmeticFile"
      "wms_group_title"    "DEMG"
    END # METADATA
    NAME "cosmeticFile"
    PROJECTION
      "proj=utm"
      "zone=33"
      "datum=WGS84"
      "units=m"
      "no_defs"
    END # PROJECTION
    STATUS ON
    TYPE RASTER
    UNITS METERS
  END # LAYER

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

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/20170203/1b0c558f/attachment.html>


More information about the Geomoose-users mailing list