[mapserver-users] Creation of raster layer legend

Ahmet Temiz ahmettemiz88 at gmail.com
Fri Feb 4 05:26:19 PST 2022


Hi,
Is creation of raster layer legend posible ?( with or without wms)

Here is the layer part of my mapfile
  LAYER
    NAME deprem

    METADATA
      "wms_srs" "EPSG:3857 EPSG:4326 "
      "wms_name" "deprem"
      "wms_server_version" "1.1.1"
      "wms_format" "image/png"
    END

    TYPE RASTER ### required
    STATUS OFF
    DATA tr_dep2.tif
    PROCESSING   "BANDS=1"
    PROJECTION
      "init=epsg:3857"
    END

    COMPOSITE
      OPACITY 70
    END

  CLASS
    EXPRESSION ([pixel] >= 0 AND [pixel] < 0.85)
    STYLE
      COLORRANGE 255 237 160  189 0 38
      DATARANGE 0.0 0.85
      RANGEITEM "pixel"
    END
  END
END

regards

-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Deprem  Dairesi Başkanlığı


________________________

Ahmet Temiz
Geological Eng.

Disaster and Emergency Management
of Presidency
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220204/67812bef/attachment.html>


More information about the MapServer-users mailing list