[gdal-dev] gdalwarp fails on wms data sources

Christopher Schmidt crschmidt at metacarta.com
Sun Dec 9 15:13:59 EST 2007


On Sun, Dec 09, 2007 at 12:09:20PM -0800, Matthew Perry wrote:
> I'm working with the gdal WMS driver using the open aerial map .xml
> available at http://openaerialmap.org/static/gdal_wms.xml . I'm able
> to use gdal_translate and get an image but it does not seem to play
> well with gdalwarp:
> 
> $/opt/fwtools/bin_safe/gdalwarp -s_srs EPSG:4326 -t_srs "+proj=utm
> +zone=10 +datum=NAD83" -r bilinear \
> -of HFA -te 783014 3806239 817341 3828963 -tr 30 30 openaerialmap.xml test.img
> Creating output file that is 1144P x 757L.
> Processing input file openaerialmap.xml.
> ERROR 2: Out of memory in InitBlockInfo().
> Segmentation fault
> 
> I'm seeing the same behavior in fwtools 2.0 on linux and gdal 1.5 beta
> 1. The obvious work around is to use gdal_translate to save the image
> locally, then warp it. But it would be nice to do it in one command -
> any ideas why this one is failing?

http://trac.osgeo.org/gdal/ticket/2076

Regards,
-- 
Christopher Schmidt
MetaCarta


More information about the gdal-dev mailing list