[gdal-dev] ASCII file to AAIG format

Zoltan Szecsei zoltans at geograph.co.za
Mon Jul 18 10:04:52 EDT 2011


Hi,
I have an ASCII file of DEM points that need to be converted into AAIG 
format, so I'm hoping gdal (_translate?) will do the trick
I do not want to rely on the fact that my DEM is column/row ordered, nor 
that it is "exactly" 2m spaced.

Is there some free-format ASCII that gdal can read, or does anyone know 
which of the formats read by GDAL won't need to be "ordered" or "exact".
I'm hoping GDAL will take the pain out of ordering my DEM, and creating 
NODATA for missing cell values.

My file looks like this: (Easting, Northing, height, type)

>               570433.84    201262.28        73.65 MPoint
>               570433.84    201260.28        73.72 MPoint
>               570433.84    201258.28        73.79 MPoint
>               570433.84    201256.28        73.86 MPoint
>               570433.84    201254.28        73.89 MPoint
>               570433.84    201252.28        74.02 MPoint
>               570433.84    201250.28        74.16 MPoint


Thanks in advance,
Zoltan

-- 

===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
P.O. Box 7, Muizenberg 7950, South Africa.

65 Main Road, Muizenberg 7945
Western Cape, South Africa.

34° 6'16.35"S 18°28'5.62"E

Tel: +27-21-7884897  Mobile: +27-83-6004028
Fax: +27-86-6115323     www.geograph.co.za
===========================================



More information about the gdal-dev mailing list