[Gdal-dev] Error converting UK .NTD MERIDIAN files

Frank Warmerdam warmerdam at pobox.com
Tue Mar 11 16:27:18 EST 2003


Stuart Robinson wrote:
> I am trying to convert a number of UK .NTF MERIDIAN files to a shape 
> file using OGR and get the following error messages
> 
> ERROR 1: Attempt to read 32 to 37, beyond the end of 36 byte long type 
> ‘16’ record.
> 
> The numbers 32 and 37 are different for each file
> 
> Some tiles seem to convert OK but others are missing in the final .SHP file
> 
> Any help would be appreciated

Stuart,

Could you supply a sample file directly by email that causes the problem?
I believe the problem is in the node record translation and relates to
getting the NUM_LINKS and derived fields wrong.

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 Gdal-dev mailing list