[gdal-dev] ASCII file to AAIG format

Zoltan Szecsei zoltans at geograph.co.za
Mon Jul 18 11:43:38 EDT 2011


Probably, but choosing src_datasource is the unanswered part...

ie:
is there a possibility where you can specify columns for eastings & 
northings, and not just height?
or does anyone know of an srs_datasource that I can restructure my file 
to, that does not make me do the row/column ordering, nor the check for 
empty cells?

Thanks for the pointer though, Kyle.

Regards,
Zoltan


On 2011/07/18 17:13, Kyle Shannon wrote:
> Zoltan,
> Perhaps the utility gdal_grid would suit your needs, see:
>
> http://gdal.org/gdal_grid.html
>
> /**
>  *
>  * Kyle Shannon
>  * ksshannon at gmail.com <mailto:ksshannon at gmail.com>
>  *
>  */
>
>
>
>
> On Mon, Jul 18, 2011 at 08:04, Zoltan Szecsei <zoltans at geograph.co.za 
> <mailto: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 <tel:%2B27-21-7884897>  Mobile: +27-83-6004028
>     <tel:%2B27-83-6004028>
>     Fax: +27-86-6115323 <tel:%2B27-86-6115323> www.geograph.co.za
>     <http://www.geograph.co.za>
>     ===========================================
>
>     _______________________________________________
>     gdal-dev mailing list
>     gdal-dev at lists.osgeo.org <mailto:gdal-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>


-- 

===========================================
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
===========================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110718/eb90609e/attachment-0001.html


More information about the gdal-dev mailing list