Re: [gdal-dev] Create cloud optimized geotiff without re-encoding?

2021-02-19 Thread mhw-at-yg
On the Stack version of this question someone suggested "There should be an option -co COPY_SRC_TIFF_TILES=YES" to copy the source image. (A corollary to -co COPY_SRC_OVERVIEWS=YES.) I now have another use case for this suggestion: using nearblack to add a mask or alpha band to a jpeg-in-tiff imag

Re: [gdal-dev] Requesting a transparent image from a WMS server...

2021-02-19 Thread Carl Godkin
Hi Jukka, That did the trick. Thank you very much! I didn't know I could attach more parameters like that. Hi Lars, Thanks for the advice. GDAL comes through for me again! carl ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.o

Re: [gdal-dev] Requesting a transparent image from a WMS server...

2021-02-19 Thread Lars Fricke
Title: SkenData Email Signatur Hi Carl, I am not certain about the description files but you should be aware that jpeg is not able to have transparency. It always needs to be an image format capable of alpha channel (like png or tiff). Some servers can inte

Re: [gdal-dev] Requesting a transparent image from a WMS server...

2021-02-19 Thread jratike80
Hi, Try gdal_translate "WMS:https://maps-public.geo.nyu.edu:443/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=sdr%3Anyu_2451_43745&SRS=EPSG:4326&BBOX=-119.265762329102,35.2621765136719,-118.825294494629,35.4424705505371&format=image/png&transparent=TRUE"; service.xml -of WMS Not

[gdal-dev] Requesting a transparent image from a WMS server...

2021-02-19 Thread Carl Godkin
Hi, I'm generating WMS service description files as described here: https://gdal.org/drivers/raster/wms.html#generation-of-wms-service-description-xml-file This works well, but I wonder if there's a way to request the image from the WMS server to be transparent. If I use gdal_translate to create