Hi Andrea,
How do I set the black color to transparent in Geoserver for ECW?
Thanks,Ron
    On Wednesday, 24 October 2018, 16:01:19 CEST, Simone Giannecchini 
<[email protected]> wrote:  
 
 Hi Ron,we tend to use geotiff with various compressions.
A decent alternative to ECW is geotiff with JPEG compression at visually 
lossless level (i.e. lossy but almost invisible to human eye) with raster masks 
to mitigate compression artifacts.
The alternative is to set the transparent color in GeoServer to black for ECW.
Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa 
che ogni circostanza inerente alla presente email (il suo contenuto, gli 
eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i 
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per 
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei 
comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. We remind that - as provided by European Regulation 
2016/679 “GDPR” - copying, dissemination or use of this e-mail or the 
information herein by anyone other than the intended recipient is prohibited. 
If you have received this email by mistake, please notify us immediately by 
telephone or e-mail.

On Sun, Oct 21, 2018 at 9:16 PM Ron Lindhoudt via Geoserver-users 
<[email protected]> wrote:

Hi Andrea,

This is the GDALINFO:

C:\ECW\Weesp>gdalinfo Parcel2_Weesp_Mosaic.ecw
Driver: ECW/ERDAS Compressed Wavelets (SDK 3.x)
Files: Parcel2_Weesp_Mosaic.ecw
Size is 175000, 175000
Coordinate System is:
PROJCS["NUTM31",
    GEOGCS["RIJKDRIEHOEKSMETING",
        DATUM["RD",
            SPHEROID["BESS1841",6377397.155,299.1528128]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",3],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["Meter",1]]
Origin = (129500.000000000000000,483000.000000000000000)
Pixel Size = (0.040000000000000,-0.040000000000000)
Corner Coordinates:
Upper Left  (  129500.000,  483000.000) (  0d20'15.75"W,  4d21'45.91"N)
Lower Left  (  129500.000,  476000.000) (  0d20'14.75"W,  4d17'58.30"N)
Upper Right (  136500.000,  483000.000) (  0d16'28.99"W,  4d21'46.91"N)
Lower Right (  136500.000,  476000.000) (  0d16'28.01"W,  4d17'59.28"N)
Center      (  133000.000,  479500.000) (  0d18'21.87"W,  4d19'52.60"N)
Band 1 Block=175000x1 Type=Byte, ColorInterp=Red
  Overviews: 87500x87500, 43750x43750, 21875x21875, 10937x10937, 5468x5468,
2734x2734, 1367x1367, 683x683, 341x341, 170x170
Band 2 Block=175000x1 Type=Byte, ColorInterp=Green
  Overviews: 87500x87500, 43750x43750, 21875x21875, 10937x10937, 5468x5468,
2734x2734, 1367x1367, 683x683, 341x341, 170x170
Band 3 Block=175000x1 Type=Byte, ColorInterp=Blue
  Overviews: 87500x87500, 43750x43750, 21875x21875, 10937x10937, 5468x5468,
2734x2734, 1367x1367, 683x683, 341x341, 170x170


Maybe QGIS detects the background color black as to be transparent?
In the Geoserver ImageMosaic plugin you can map an inputcolor to be
transparent.
But this is not possible in the Geoserver ECW plugin.

What do you use instead of ECW for rasters that is not too big, time and
memory consuming?

Thanks,
Ron



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

  
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to