GeoTiffDriver.OpenLayer

OpenLayer(AbstractPath, RasterDriverOptions)

Opens the layer for reading.

public override RasterLayer OpenLayer(AbstractPath path, RasterDriverOptions options)
ParameterTypeDescription
pathAbstractPathPath to the file.
optionsRasterDriverOptionsDriver-specific options.

Return Value

An instance of RasterLayer.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
IOExceptionAn I/O error occurred.
NotSupportedExceptionDriver can not open raster layers (see CanOpenLayers).

See Also


OpenLayer(string, GeoTiffOptions)

Opens a layer for reading.

public RasterLayer OpenLayer(string path, GeoTiffOptions options)
ParameterTypeDescription
pathStringPath to the file.
optionsGeoTiffOptionsDriver-specific options.

Return Value

An instance of RasterLayer.

See Also


OpenLayer(AbstractPath, GeoTiffOptions)

Opens a layer for reading.

public RasterLayer OpenLayer(AbstractPath path, GeoTiffOptions options)
ParameterTypeDescription
pathAbstractPathPath to the file.
optionsGeoTiffOptionsDriver-specific options.

Return Value

An instance of RasterLayer.

See Also