[gdal-dev] gdalwarp fails on wms data sources

Matthew Perry perrygeo at gmail.com
Sun Dec 9 15:09:20 EST 2007


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?


-- 
Matthew T. Perry
http://www.perrygeo.net


More information about the gdal-dev mailing list