[gdal-dev] gdal_translate using a wms as input

Andrea Peri aperi2007 at gmail.com
Sun Apr 14 04:17:30 PDT 2013


Even, thx for response

Perhaps I miss the real mean of the parameter -srcwin.

I guess that setting -srcwin 0 0 377 283 for a wms image of
...WIDTH=377&HEIGHT=283&...

mean "take all the image".

don't ?

Many thx,

Andrea.



2013/4/14 Even Rouault <even.rouault at mines-paris.org>

> 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.
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130414/47b9768d/attachment-0001.html>


More information about the gdal-dev mailing list