GeoTiffDriver.OpenLayer
Contents
[
Hide
]OpenLayer(AbstractPath, RasterDriverOptions)
Opens the layer for reading.
public override RasterLayer OpenLayer(AbstractPath path, RasterDriverOptions options)
Parameter | Type | Description |
---|---|---|
path | AbstractPath | Path to the file. |
options | RasterDriverOptions | Driver-specific options. |
Return Value
An instance of RasterLayer
.
Exceptions
exception | condition |
---|---|
ArgumentException | Options object has an incorrect type for this driver. |
ArgumentNullException | The path is null . |
IOException | An I/O error occurred. |
NotSupportedException | Driver can not open raster layers (see CanOpenLayers ). |
See Also
- class RasterLayer
- class AbstractPath
- class RasterDriverOptions
- class GeoTiffDriver
- namespace Aspose.Gis.Formats.GeoTiff
- assembly Aspose.GIS
OpenLayer(string, GeoTiffOptions)
Opens a layer for reading.
public RasterLayer OpenLayer(string path, GeoTiffOptions options)
Parameter | Type | Description |
---|---|---|
path | String | Path to the file. |
options | GeoTiffOptions | Driver-specific options. |
Return Value
An instance of RasterLayer
.
See Also
- class RasterLayer
- class GeoTiffOptions
- class GeoTiffDriver
- namespace Aspose.Gis.Formats.GeoTiff
- assembly Aspose.GIS
OpenLayer(AbstractPath, GeoTiffOptions)
Opens a layer for reading.
public RasterLayer OpenLayer(AbstractPath path, GeoTiffOptions options)
Parameter | Type | Description |
---|---|---|
path | AbstractPath | Path to the file. |
options | GeoTiffOptions | Driver-specific options. |
Return Value
An instance of RasterLayer
.
See Also
- class RasterLayer
- class AbstractPath
- class GeoTiffOptions
- class GeoTiffDriver
- namespace Aspose.Gis.Formats.GeoTiff
- assembly Aspose.GIS