CreateRasterDataset

182
1
09-02-2021 12:14 PM
DougBoulware
New Contributor

I'm attempting to create a tiff with IRasterWorkspace4.CreateRasterDataset and it throws an exception stating that it is missing raster band wavelength properties. Modifying it to use grid format seems to work, but I would like to create a tiff. 

0 Kudos
1 Reply
GintautasKmieliauskas
Regular Contributor

Hi,

You need to check CreateRasterDataset function parameters you pass depending on this link info:

https://desktop.arcgis.com/en/arcmap/10.3/manage-data/raster-and-images/supported-raster-dataset-fil... 

Have you tried IRasterWorkspace2.CreateRasterDataset with less parameters?

0 Kudos