LuciadCPillar C# 2023.1.02
Luciad.Formats.Geopackage.GeoPackageModelDecoder Class Reference

This class is a factory that provides new instances of a luciad::Model. More...

Static Public Member Functions

static Luciad.Models.Model Decode (Luciad.Formats.Geopackage.GeoPackageDataSource dataSource)
 
static Luciad.Models.Model Decode (Luciad.Formats.Geopackage.GeoPackageDataSource dataSource, Luciad.Formats.Geopackage.GeoPackageModelDecoderOptions options)
 
static System.Collections.Generic.IList< Luciad.Formats.Geopackage.GeoPackageTableMetadataDiscoverTables (string source, bool includeUnsupportedDataTypes)
 Discovers the available tables in the given source file. More...
 

Detailed Description

This class is a factory that provides new instances of a luciad::Model.

This specific model can be either a luciad::IFeatureModel or a luciad::IRasterModel giving the ability to access the data within a GeoPackage file.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::GeoPackageModelDecoder.

Member Function Documentation

◆ Decode() [1/2]

static Luciad.Models.Model Luciad.Formats.Geopackage.GeoPackageModelDecoder.Decode ( Luciad.Formats.Geopackage.GeoPackageDataSource  dataSource)
inlinestatic

◆ Decode() [2/2]

static Luciad.Models.Model Luciad.Formats.Geopackage.GeoPackageModelDecoder.Decode ( Luciad.Formats.Geopackage.GeoPackageDataSource  dataSource,
Luciad.Formats.Geopackage.GeoPackageModelDecoderOptions  options 
)
inlinestatic

◆ DiscoverTables()

System.Collections.Generic.IList< Luciad.Formats.Geopackage.GeoPackageTableMetadata > Luciad.Formats.Geopackage.GeoPackageModelDecoder.DiscoverTables ( string  source,
bool  includeUnsupportedDataTypes 
)
inlinestatic

Discovers the available tables in the given source file.

source

The absolute path to the GeoPackage file. The extension of the file should be '.gpkg'.

includeUnsupportedDataTypes

Whether to include unsupported data types.

the discovered tables.

luciad::IOException

when discovering the tables fails.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::GeoPackageModelDecoder::discoverTables.