[Gdal-dev] GDAL and DTEDs

Stephane Routelous route at cae.com
Wed Jan 26 09:32:02 EST 2005


Hi Frank,

thanks a lot for your answer.


what I saw in the code was in DTEDCreate where you have :
   if( nLevel == 0 )
    {
        nXSize = 121;
        nYSize = 121;
    }
    else if( nLevel == 1 )
    {
        nXSize = 1201;
        nYSize = 1201;
    } 
    else if( nLevel == 2 )
    {
        nXSize = 3601;
        nYSize = 3601;
    }
    else
    {
        sprintf( szError, "Illegal DTED Level value %d, only 0-2 allowed.",
                 nLevel );
        return szError;
    }

But as far as I'm concerned, I only need reading. So I will try with DTEDs
3,4,5 (If I have the security clearance to get them ;-) ).
I will check and give you a feedback.

Stephane Routelous


PS : you may read that
(http://www.globalsecurity.org/intell/systems/dted.htm) for the DTEDs


-----Original Message-----
From: Frank Warmerdam [mailto:fwarmerdam at gmail.com]
Sent: Wednesday, January 26, 2005 9:10 AM
To: Stephane Routelous
Cc: gdal-dev at xserve.flids.com
Subject: Re: [Gdal-dev] GDAL and DTEDs


On Wed, 26 Jan 2005 07:49:53 -0500, Stephane Routelous <route at cae.com>
wrote:
> Hi,
> 
> I'm using GDAL, and I need to support reading of DTED data from level 0 to
> level 5.
> According to the doc and code, GDAL only supports reading of level 0,1 and
> 2.
> Would it be possible to add support for DTED data > 2 ?

Stephane,

DTED level 0, 1 and 2 are handled without any specific logic for a
particular
level.  As far as I know the different levels are just different
resolutions.  If
you run into problems with level 4 or 5 and can provide me a sample, I would
be glad to fix it up. 

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