← Back to carmenta.com
Carmenta Engine SDK Documentation
×

GdalDataSet.Continuous Property

Gets or sets a flag indicating whether rasters created by this dataset should be interpreted as being continuous or discrete.

Thread safety: This property is not thread-safe. Show

Syntax

C#
public System.Boolean Continuous { get; set; }

Property Value

Type: System.Boolean
Default: false
True if rasters should marked as being continuous; otherwise, False.

This property can only be modified before the dataset has been initialized. Attempting to modify it after initialization will cause an exception to be thrown.

Remarks

Some operations are done differently on continuous and discrete rasters, such as resampling. A continuous raster is an approximation of a continuous surface such as the terrain. A discrete raster typically contains categories, such as a "land use" raster with categories for forest, water and open land.

Note

This property should be included in the hash in the index files names, but isn't. If you change this property, you may need to manually remove existing raster cache files for the change to take effect.

Platforms

Windows, Linux, Android

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept