[gdal-dev] ASCII file to AAIG format

Frank Warmerdam warmerdam at pobox.com
Mon Jul 18 12:01:08 EDT 2011


Zoltan,

I haven't used it myself, but it looks like the XYZ driver might be
ready made for your need:

http://www.gdal.org/frmt_xyz.html

It looks like it is new in 1.8.

Best regards,

On Mon, Jul 18, 2011 at 7:04 AM, Zoltan Szecsei <zoltans at geograph.co.za> wrote:
> 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
> ===========================================
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
---------------------------------------+--------------------------------------
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 Software Developer


More information about the gdal-dev mailing list