[FWTools] Big NTv2-Grid-File causes problem

Frank Warmerdam warmerdam at pobox.com
Mon Mar 1 15:08:24 EST 2010


Ernst Meier wrote:
> i've found the problem: the file is corrupt. The owner copied (not ftp) it
> over an internal network with a small bandwith. There is no "END" at the end
> of the file. I tested this with a HEX-Editor.
> 
> The new file works! Thanks for your assistance.
> 
> Maybe you can implement an error message. Neither DEBUG_PROJ nor the
> parameter "-v" reported an problem with the file. In this case i knew the
> right coordinates so that was no problem but this could run someone in big
> trouble.

Ernst,

If you write a ticket in the PROJ.4 bug database about this, I can implement
error checking when reading the datum shift file if it is short.

  http://proj.osgeo.org/

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 FWTools mailing list