C# Класс Mapsui.Providers.Wfs.WFSProvider

WFS dataprovider This provider can be used to obtain data from an OGC Web Feature Service. It performs the following requests: 'GetCapabilities', 'DescribeFeatureType' and 'GetFeature'. This class is optimized for performing requests to GeoServer (http://geoserver.org). Supported geometries are: - PointPropertyType - LineStringPropertyType - PolygonPropertyType - CurvePropertyType - SurfacePropertyType - MultiPointPropertyType - MultiLineStringPropertyType - MultiPolygonPropertyType - MultiCurvePropertyType - MultiSurfacePropertyType
Наследование: IProvider
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void
ExecuteIntersectionQuery ( BoundingBox bbox ) : Features
GetExtents ( ) : BoundingBox
GetFeaturesInView ( BoundingBox box, double resolution ) : IEnumerable
WFSProvider ( IXPathQueryManager getCapabilitiesCache, string nsPrefix, string featureType, GeometryTypeEnum geometryType, WFSVersionEnum wfsVersion ) : System

Use this constructor for initializing this dataprovider with all necessary parameters to gather metadata from 'GetCapabilities' contract.

WFSProvider ( IXPathQueryManager getCapabilitiesCache, string nsPrefix, string featureType, WFSVersionEnum wfsVersion ) : System

Use this constructor for initializing this dataprovider with all necessary parameters to gather metadata from 'GetCapabilities' contract.

WFSProvider ( WfsFeatureTypeInfo featureTypeInfo, WFSVersionEnum wfsVersion ) : System

Use this constructor for initializing this dataprovider with a WfsFeatureTypeInfo object, so that 'GetCapabilities' and 'DescribeFeatureType' can be bypassed.

WFSProvider ( string getCapabilitiesUri, string nsPrefix, string featureType, GeometryTypeEnum geometryType, WFSVersionEnum wfsVersion ) : System

Use this constructor for initializing this dataprovider with all necessary parameters to gather metadata from 'GetCapabilities' contract.

WFSProvider ( string getCapabilitiesUri, string nsPrefix, string featureType, WFSVersionEnum wfsVersion ) : System

Use this constructor for initializing this dataprovider with all necessary parameters to gather metadata from 'GetCapabilities' contract.

WFSProvider ( string serviceUri, string nsPrefix, string featureTypeNamespace, string featureType, string geometryName, GeometryTypeEnum geometryType, WFSVersionEnum wfsVersion ) : System

Use this constructor for initializing this dataprovider with all mandatory metadata for retrieving a featuretype, so that 'GetCapabilities' and 'DescribeFeatureType' can be bypassed.

WFSProvider ( string serviceUri, string nsPrefix, string featureTypeNamespace, string featureType, string geometryName, WFSVersionEnum wfsVersion ) : System

Use this constructor for initializing this dataprovider with all mandatory metadata for retrieving a featuretype, so that 'GetCapabilities' and 'DescribeFeatureType' can be bypassed.

Приватные методы

Метод Описание
Dispose ( bool disposing ) : void
GetFeatureTypeInfo ( ) : void

This method gets metadata about the featuretype to query from 'GetCapabilities' and 'DescribeFeatureType'.

ResolveFeatureType ( string featureType ) : void

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

ExecuteIntersectionQuery() публичный Метод

public ExecuteIntersectionQuery ( BoundingBox bbox ) : Features
bbox BoundingBox
Результат Features

GetExtents() публичный Метод

public GetExtents ( ) : BoundingBox
Результат BoundingBox

GetFeaturesInView() публичный Метод

public GetFeaturesInView ( BoundingBox box, double resolution ) : IEnumerable
box BoundingBox
resolution double
Результат IEnumerable

WFSProvider() публичный Метод

Use this constructor for initializing this dataprovider with all necessary parameters to gather metadata from 'GetCapabilities' contract.
public WFSProvider ( IXPathQueryManager getCapabilitiesCache, string nsPrefix, string featureType, GeometryTypeEnum geometryType, WFSVersionEnum wfsVersion ) : System
getCapabilitiesCache IXPathQueryManager
nsPrefix string
featureType string
geometryType GeometryTypeEnum
wfsVersion WFSVersionEnum
Результат System

WFSProvider() публичный Метод

Use this constructor for initializing this dataprovider with all necessary parameters to gather metadata from 'GetCapabilities' contract.
public WFSProvider ( IXPathQueryManager getCapabilitiesCache, string nsPrefix, string featureType, WFSVersionEnum wfsVersion ) : System
getCapabilitiesCache IXPathQueryManager /// This cache (obtained from an already instantiated dataprovider that retrieves a featuretype hosted by the same service) /// helps to speed up gathering metadata. It caches the 'GetCapabilities' response. ///
nsPrefix string /// Use an empty string or 'null', if there is no prefix for the featuretype. ///
featureType string
wfsVersion WFSVersionEnum
Результат System

WFSProvider() публичный Метод

Use this constructor for initializing this dataprovider with a WfsFeatureTypeInfo object, so that 'GetCapabilities' and 'DescribeFeatureType' can be bypassed.
public WFSProvider ( WfsFeatureTypeInfo featureTypeInfo, WFSVersionEnum wfsVersion ) : System
featureTypeInfo Mapsui.Providers.Wfs.Utilities.WfsFeatureTypeInfo
wfsVersion WFSVersionEnum
Результат System

WFSProvider() публичный Метод

Use this constructor for initializing this dataprovider with all necessary parameters to gather metadata from 'GetCapabilities' contract.
public WFSProvider ( string getCapabilitiesUri, string nsPrefix, string featureType, GeometryTypeEnum geometryType, WFSVersionEnum wfsVersion ) : System
getCapabilitiesUri string
nsPrefix string
featureType string
geometryType GeometryTypeEnum
wfsVersion WFSVersionEnum
Результат System

WFSProvider() публичный Метод

Use this constructor for initializing this dataprovider with all necessary parameters to gather metadata from 'GetCapabilities' contract.
public WFSProvider ( string getCapabilitiesUri, string nsPrefix, string featureType, WFSVersionEnum wfsVersion ) : System
getCapabilitiesUri string
nsPrefix string
featureType string
wfsVersion WFSVersionEnum
Результат System

WFSProvider() публичный Метод

Use this constructor for initializing this dataprovider with all mandatory metadata for retrieving a featuretype, so that 'GetCapabilities' and 'DescribeFeatureType' can be bypassed.
public WFSProvider ( string serviceUri, string nsPrefix, string featureTypeNamespace, string featureType, string geometryName, GeometryTypeEnum geometryType, WFSVersionEnum wfsVersion ) : System
serviceUri string
nsPrefix string
featureTypeNamespace string
featureType string
geometryName string
geometryType GeometryTypeEnum
wfsVersion WFSVersionEnum
Результат System

WFSProvider() публичный Метод

Use this constructor for initializing this dataprovider with all mandatory metadata for retrieving a featuretype, so that 'GetCapabilities' and 'DescribeFeatureType' can be bypassed.
public WFSProvider ( string serviceUri, string nsPrefix, string featureTypeNamespace, string featureType, string geometryName, WFSVersionEnum wfsVersion ) : System
serviceUri string
nsPrefix string
featureTypeNamespace string
featureType string
geometryName string
wfsVersion WFSVersionEnum
Результат System