RE Rép. : [mapserver-users] color range mapping

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Wed Jun 17 13:41:47 EDT 2009


Thanks Simon,
Where Is that documented? Is there more options available such as number 
of intervals?

Steve


Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3 
Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.toutant at inspq.qc.ca
http://www.inspq.qc.ca
 




"SIMON MERCIER" <simon.mercier at msp.gouv.qc.ca> 
17/06/2009 01:37 PM

A
<Steve.Toutant at inspq.qc.ca>, <mapserver-users at lists.osgeo.org>
cc

Objet
Rép. : [mapserver-users] color range mapping








Hi steve, I use COLORRANGE with raster dataset and gives great results but 
never use it with vector dataset?
 
  LAYER
    NAME "MNE_rouge"
    GROUP "OMBRAGE_ROUGE"
    TILEINDEX "F:\Data\MNEOMB20K\mne"
    TILEITEM "location"
    TRANSPARENCY 40
    TYPE RASTER
    PROCESSING "SCALE=-63,1276"
    MAXSCALE 200000
    MINSCALE 1
        METADATA
            "wms_name"              "MNE_rouge"
            "wms_server_version"    "1.1.1"
            "wms_title"             "MNE"
            "wms_abstract"          "(1/200 000)"
            "wms_srs"               "EPSG:2036 EPSG:3799 EPSG:2037 
EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 
EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 
EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 
EPSG:42304 EPSG:900913"
            "wms_extent"            "-1100000 -23500 1100000 2253500"
        END
        PROJECTION
            "init=epsg:32198"
        END
 
    CLASS
        STYLE
            COLORRANGE 255 255 255 178 34 34
            DATARANGE -63 1276
        END
    END
  END

>>> <Steve.Toutant at inspq.qc.ca> 17/6/2009 11:17 >>>

Hi, 
How should I define a layer class to use color range mapping? 
I would like to be able to request GetLegendGraphic on this layer as well 

I read this http://mapserver.org/development/rfc/ms-rfc-6.html 

But I found nothing in the offical mapfile doc 

Thanks 
Steve 


Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3 
Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.toutant at inspq.qc.ca
http://www.inspq.qc.ca 
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090617/9c46eb88/attachment.html


More information about the mapserver-users mailing list