Creating raster and TIN from a terrain dataset