[Gdal-dev] Reading TIN data?

Frank Warmerdam warmerdam at pobox.com
Wed Nov 3 21:56:07 EST 2004


Ben Discoe wrote:
> I've come across some TIN (triangular irregular network) data which has been
> written by an ESRI product, so it is in the form of a directory with .adf
> files.  Is it possible at all to read from this dataset with GDAL or OGR?  A
> TIN isn't quite a raster nor a vector, so i can understand if neither
> library is set up to handle it.  On the other hand, GDAL does read raster
> data from .adf, so perhaps some of the work is already in place.
> 
> The contents of the dataset folder are:
>  tdenv.adf
>  tedg.adf
>  thul.adf
>  tmsk.adf
>  tmsx.adf
>  tnod.adf
>  tnxy.adf
>  tnz.adf
> 
> Note there is no "hdr.adf", which is what GDAL looks for, for a raster.

Ben,

Sorry, there is currently no TIN support available in GDAL/OGR.  I would
normally model TINs as a vector coverage consisting of many 3D triangular
polygons.  I suspect it could be reverse engineered, but it might be more
practical to get someone with ESRI software to convert it into a grid.

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