[gdal-dev] gdal_translate using a wms as input

Even Rouault even.rouault at mines-paris.org
Sat Apr 13 15:40:16 PDT 2013


Le dimanche 14 avril 2013 00:33:55, Andrea Peri a écrit :
> Hi even,
> 
> thx for hints.
> 
> I try it on a linux 64bit and effectively the error was disappeared.
> 
> But the result is a full black (empty ?) image .
> The same wms request applied to a browser give a visible image.
> 
> This could be a problem of my pc only ?

No, but perhaps the -srcwin 0 0 377 283 is incorrect. This will extract the 
top 377x283 pixels of the most resoluted level of the WMS layer, so it is 
likely to be a blank area since it is at the border of the WMS layer.


More information about the gdal-dev mailing list