[gdal-dev] Problem with black edges to DOQQs using JPEG in Tiff compression

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Mon Feb 13 02:02:36 PST 2017


Stephen Woodbridge wrote
> Even,
> Thanks for the quick feedback. I'll will give these suggestions and try 
> today and let you know how it goes.
> 
> Thanks,
>    -Steve

Hi Steve,

They are probably good suggestions but folks did not bother to think what is
your ultimate target. It is not to improve you commands and hide the black
pixels but simply to make a jpeg-in-tiff compressed mosaic without seams for
Mapserver, perhaps following some other route if it is easier.

So, my suggestion is:

1) Skip gdalwarp
2) Compress your images in native projection 

3) Create jpeg compressed overviews 

4) Create tileindex and utilize the super powerful "Tileindexes with tiles
in different projections" feature
http://www.mapserver.org/optimization/tileindex.html

You did not mention if your DOQQs come in several different projections but
I suppose that they do. Otherwise there is even less point to use gdalwarp,
Mapserver is so fast with on-the-fly re-projecting.

-Jukka Rahkonen-





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Problem-with-black-edges-to-DOQQs-using-JPEG-in-Tiff-compression-tp5307551p5307662.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list