[Gdal-dev] A small mod for ntffilereader.cpp

Roger James roger at beardandsandals.co.uk
Fri Dec 23 14:32:34 EST 2005


I recently came across some "Nextmap Britain" digital elevation data
distributed in OSGB NTF format. I anyone else comes across it the following
small mod to NTFFileReader::Open in ntffilereader.cpp allows GDAL to process
it.


    else if( EQUALN(pszProduct,"L-F_PROFILE_DTM",15) )
        nProduct = NPC_LANDFORM_PROFILE_DTM;
	else if( EQUALN(pszProduct,"NEXTMap Britain DSM",19) )
		nProduct = NPC_LANDFORM_PROFILE_DTM; // Treat as landform
profile DTM
	else if( EQUALN(pszProduct,"NEXTMap Britain DTM",19) )
		nProduct = NPC_LANDFORM_PROFILE_DTM; // Treat as landform
profile DTM

Enjoy,

Roger





More information about the Gdal-dev mailing list