[mapserver-users] Hide black border for raster layer

SIMON MERCIER simon.mercier at msp.gouv.qc.ca
Mon May 26 12:08:35 EDT 2008


Hi list
 
I search to hide the black border(COLOR 0 0 0) off a ecw grayscale image(and tif to)!  I try to add IMAGECOLOR 0 0 0 in de MAP tag but dont work...! any idea?
MAP
   ...
    IMAGECOLOR 0 0 0
    TRANSPARENT TRUE
  ...
 
   LAYER
    NAME "Orthos_40k_lcc_t"
    STATUS DEFAULT
    TYPE RASTER
   #DATA "F:\Data\orthos\lcc\01809115lcc.ecw"    DATA "F:\Data\orthos\lcc\97300004lcc.tif"
    METADATA
        "wms_name"              "Orthos_40k_lcc_t"
        "wms_title"             "ecw test"
        "wms_srs"               "EPSG:42105 EPSG:4326 EPSG:4269 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920"
        "gml_include_items"     "all"
    END
    PROJECTION
        "init=epsg:32198"
    END
  END
END
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080526/4352e7a3/attachment.html


More information about the mapserver-users mailing list