Hi, I am using GDALWarpOperation.ChunkAndWarpImage to read data, everything works well except when a source dataset does not have a CRS defined. Then it crashes with
#0 GDALGenImgProjTransform (pTransformArg=0x0, bDstToSrc=1, nPointCount=84, padfX=0xa1093f0, padfY=0xa109690, padfZ=0xa109930, panSuccess=0xa1090a0) at gdaltransformer.cpp:1402 #1 0x01f56c6c in GDALWarpOperation::ComputeSourceWindow (this=0xbf7fd214, nDstXOff=0, nDstYOff=0, nDstXSize=32, nDstYSize=32, pnSrcXOff=0xbf7fd12c, pnSrcYOff=0xbf7fd128, pnSrcXSize=0xbf7fd124, pnSrcYSize=0xbf7fd120) at gdalwarpoperation.cpp:1977 gdaltransformer.cpp:1402: pGCPTransformArg = psInfo->pDstGCPTransformArg; but if I grep gdal for pDstGCPTransformArg it does not seem to be set at all. Could you please give mi a hint? The code is here and above: http://trac.osgeo.org/qgis/browser/trunk/qgis/src/providers/gdal/qgsgdalprovider.cpp?rev=15400#L625 Radim _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev