[mapserver-users] Hide black border for raster layer

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Mon May 26 12:31:52 EDT 2008


Use OFFSITE 0 0 0 on your LAYER.

Best regards,
Bart

SIMON MERCIER wrote:
> 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
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>   


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl



More information about the mapserver-users mailing list