[Proj] Dutch correction grid

Frank Warmerdam warmerdam at pobox.com
Tue May 3 07:25:46 PDT 2011


On 11-05-03 09:34 AM, Jan Hartmann wrote:
> OK, now I get the following error (gdal svn 1.9dev, released 2011/01/18)
>
> $ gdal_translate -of NTv2 -ot Float32 dxy.tif dxy.gsb
> Input file size is 400, 400
> 0ERROR 1: Input and output dataset sizes or band counts do not
> match in GDALDatasetCopyWholeRaster()
>
> I had a quick look at the source (gdal/frmts/raw/ntv2dataset.cpp), but perhaps
> someone could point out the error, or where I should look.

Jan,

I just tried and ran into the same thing.  It is because NTv2 format also
has two error range bands.  Try creating a four band find with the last two
bands all zeros.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Proj mailing list