[Geomoose-users] Query a Mapserver raster group

andy aborruso at gmail.com
Tue Feb 7 09:34:24 PST 2017


Hi James,

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

Looks like the fake template trick doesn't work with raster layers.  So it
> seems it needs an empty template file.  The following works for me:
>
I have tried but for me it does not work. I have used your html templates.

It’s surely a stupid error of mine :(

As usual, thank you very much

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

  LAYER
    DATA "display.tif"
    EXTENT 369957.267038251 4124951.49692997 378066.716402869 4133060.94629459
    GROUP "DEMG"
    METADATA
      "coordsys_name"    "WGS 84 / UTM zone 33N"
      "ows_title"    "display"
      "identify_record"    "dummy.html"
    END # METADATA
    NAME "display"
    PROJECTION
      "proj=utm"
      "zone=33"
      "datum=WGS84"
      "units=m"
      "no_defs"
    END # PROJECTION
    STATUS ON
    TEMPLATE "dummy.html"
    TILEITEM "location"
    TOLERANCE 0
    TYPE RASTER
    UNITS METERS
    CLASS
      NAME "display"
    END # CLASS
  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/20170207/82350ac0/attachment-0001.html>


More information about the Geomoose-users mailing list