Le jeudi 08 septembre 2016 00:29:54, Andrew Bell a écrit : > I assume that there are limits to the number of raster bands supported by > various drivers that support raster creation. > Is there a call I can make > to determine this limit?
Andrew, No. Some drivers have a test when the format has a limitation and will error out cleanly if you call Create() with too many bands. Other drivers don't have a clear limitation (thinking of raw formats), but if you call them with something crazy like INT_MAX then you might crash the process due to out of memory. Driver metadata to document dimensions and band count limitations might be indeed useful, if someone wants to tackle that. Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
