Skip to content

WfsV2ProgressiveFeatureLayer

Namespace: ThinkGeo.UI.Maui

public class WfsV2ProgressiveFeatureLayer : ProgressiveFeatureLayer

Inheritance Object → LayerBase → Layer → FeatureLayer → ProgressiveFeatureLayerWfsV2ProgressiveFeatureLayer

Properties

LastXmlResponse

The xml text represents last response, it will pass out by RequestedData event with parameter.

public string LastXmlResponse { get; }

Property Value

String

ServiceLocationUrl

The url of wfs service.

public string ServiceLocationUrl { get; set; }

Property Value

String

TypeName

The typename in the specify wfs service.

public string TypeName { get; set; }

Property Value

String

TimeoutInSeconds

This property specifies the timeout of the web request in seconds. The default timeout value is 20 seconds.

public int TimeoutInSeconds { get; set; }

Property Value

Int32

HasBoundingBox

This property indicates whether a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs.

public bool HasBoundingBox { get; }

Property Value

Boolean

Remarks:

The default value is false.

WebProxy

This property gets or sets the proxy used for requesting a Web Response.

public IWebProxy WebProxy { get; set; }

Property Value

IWebProxy

Projection

public Projection Projection { get; }

Property Value

Projection

EditTools

public EditTools EditTools { get; protected set; }

Property Value

EditTools

FeatureIdsToExclude

public Collection<string> FeatureIdsToExclude { get; }

Property Value

Collection<String>

QueryTools

public QueryTools QueryTools { get; protected set; }

Property Value

QueryTools

MaxRecordsToDraw

public int MaxRecordsToDraw { get; set; }

Property Value

Int32

FeatureSource

public FeatureSource FeatureSource { get; set; }

Property Value

FeatureSource

DrawingQuality

public DrawingQuality DrawingQuality { get; set; }

Property Value

DrawingQuality

ZoomLevelSet

public ZoomLevelSet ZoomLevelSet { get; set; }

Property Value

ZoomLevelSet

DrawingMarginInPixel

public float DrawingMarginInPixel { get; set; }

Property Value

Single

Attribution

public string Attribution { get; set; }

Property Value

String

RequestDrawingInterval

public TimeSpan RequestDrawingInterval { get; set; }

Property Value

TimeSpan

Name

public string Name { get; set; }

Property Value

String

IsOpen

public bool IsOpen { get; }

Property Value

Boolean

IsVisible

public bool IsVisible { get; set; }

Property Value

Boolean

DrawingTime

public TimeSpan DrawingTime { get; protected set; }

Property Value

TimeSpan

DrawingExceptionMode

public DrawingExceptionMode DrawingExceptionMode { get; set; }

Property Value

DrawingExceptionMode

Background

public GeoColor Background { get; set; }

Property Value

GeoColor

Transparency

public float Transparency { get; set; }

Property Value

Single

BlueTranslation

public float BlueTranslation { get; set; }

Property Value

Single

RedTranslation

public float RedTranslation { get; set; }

Property Value

Single

GreenTranslation

public float GreenTranslation { get; set; }

Property Value

Single

KeyColors

public Collection<GeoColor> KeyColors { get; }

Property Value

Collection<GeoColor>

IsNegative

public bool IsNegative { get; set; }

Property Value

Boolean

IsGrayscale

public bool IsGrayscale { get; set; }

Property Value

Boolean

ThreadSafe

public ThreadSafetyLevel ThreadSafe { get; set; }

Property Value

ThreadSafetyLevel

ColorMappings

public Dictionary<GeoColor, GeoColor> ColorMappings { get; }

Property Value

Dictionary<GeoColor, GeoColor>

WrappingMode

public WrappingMode WrappingMode { get; set; }

Property Value

WrappingMode

WrappingExtent

public RectangleShape WrappingExtent { get; set; }

Property Value

RectangleShape

Constructors

WfsV2ProgressiveFeatureLayer()

WfsFeatureLayer Constructor.

public WfsV2ProgressiveFeatureLayer()

WfsV2ProgressiveFeatureLayer(String, String)

WfsV2FeatureSource Constructor

public WfsV2ProgressiveFeatureLayer(string serviceLocationUrl, string typeName)

Parameters

serviceLocationUrl String
The url of wfs service.

typeName String
The typename in the specify wfs service.

Remarks:

The parameters can not be null.

Methods

GetProgressiveFeaturesCore(RectangleShape, Int32)

protected IAsyncEnumerable<Collection<Feature>> GetProgressiveFeaturesCore(RectangleShape boundingBox, int bulkSize)

Parameters

boundingBox RectangleShape

bulkSize Int32

Returns

IAsyncEnumerable<Collection<Feature>>

GetCapabilities(String)

Get capabilities from the specific wfs service url.

public static string GetCapabilities(string serviceLocationUrl)

Parameters

serviceLocationUrl String
The url of wfs service.

Returns

String
The xml text represents capabilities of this wfs server.

Exceptions

ArgumentNullException
If serviceLocationUrl is null, we will throw an ArgumentNullException.

ArgumentException
If serviceLocationUrl is empty, we will throw an ArgumentException.

Remarks:

Every OGC Web Service (OWS), including a Web Feature Service, must have the ability to describe its capabilities by returning service metadata in response to a GetCapabilities request. Specifically, every web feature service must support the KVP encoded form of the GetCapabilities request over HTTP GET so that a client can always know how to obtain a capabilities document.

The capabilities response document contains the following sections: 1. Service Identification section The service identification section provides information about the WFS service itself. 2. Service Provider section The service provider section provides metadata about the organization operating the WFS server. 3. Operation Metadata section The operations metadata section provides metadata about the operations defined in this specification and implemented by a particular WFS server. This metadata includes the DCP, parameters and constraints for each operation. 4. FeatureType list section This section defines the list of feature types (and operations on each feature type) that are available from a web feature service. Additional information, such as the default SRS, any other supported SRSs, or no SRS whatsoever (for non-spatial feature types), for WFS requests is provided for each feature type. 5. ServesGMLObjectType list section This section defines the list of GML Object types, not derived from gml:AbstractFeatureType, that are available from a web feature service that supports the GetGMLObject operation. These types may be defined in a base GML schema, or in an application schema using its own namespace. 6. SupportsGMLObjectType list section The Supports GML Object Type section defines the list of GML Object types that a WFS server would be capable of serving if it was deployed to serve data. described by an application schema that either used those GML Object types directly (for non-abstract types), or defined derived types based on those types. 7. Filter capabilities section The schema of the Filter Capabilities Section is defined in the Filter Encoding Implementation Specification [3]. This is an optional section. If it exists, then the WFS should support the operations advertised therein. If the Filter Capabilities Section is not defined, then the client should assume that the server only supports the minimum default set of filter operators.

GetCapabilities(Uri)

Get capabilities from the specific wfs service url.

public static string GetCapabilities(Uri serverUri)

Parameters

serverUri Uri
The url of wfs service.

Returns

String
The xml text represents capabilities of this wfs server.

Exceptions

ArgumentNullException
If serviceLocationUrl is null, we will throw an ArgumentNullException.

ArgumentException
If serviceLocationUrl is empty, we will throw an ArgumentException.

Remarks:

Every OGC Web Service (OWS), including a Web Feature Service, must have the ability to describe its capabilities by returning service metadata in response to a GetCapabilities request. Specifically, every web feature service must support the KVP encoded form of the GetCapabilities request over HTTP GET so that a client can always know how to obtain a capabilities document.

The capabilities response document contains the following sections: 1. Service Identification section The service identification section provides information about the WFS service itself. 2. Service Provider section The service provider section provides metadata about the organization operating the WFS server. 3. Operation Metadata section The operations metadata section provides metadata about the operations defined in this specification and implemented by a particular WFS server. This metadata includes the DCP, parameters and constraints for each operation. 4. FeatureType list section This section defines the list of feature types (and operations on each feature type) that are available from a web feature service. Additional information, such as the default SRS, any other supported SRSs, or no SRS whatsoever (for non-spatial feature types), for WFS requests is provided for each feature type. 5. ServesGMLObjectType list section This section defines the list of GML Object types, not derived from gml:AbstractFeatureType, that are available from a web feature service that supports the GetGMLObject operation. These types may be defined in a base GML schema, or in an application schema using its own namespace. 6. SupportsGMLObjectType list section The Supports GML Object Type section defines the list of GML Object types that a WFS server would be capable of serving if it was deployed to serve data. described by an application schema that either used those GML Object types directly (for non-abstract types), or defined derived types based on those types. 7. Filter capabilities section The schema of the Filter Capabilities Section is defined in the Filter Encoding Implementation Specification [3]. This is an optional section. If it exists, then the WFS should support the operations advertised therein. If the Filter Capabilities Section is not defined, then the client should assume that the server only supports the minimum default set of filter operators.

GetCapabilities(Uri, IWebProxy)

Get capabilities from the specific wfs service url.

public static string GetCapabilities(Uri serverUri, IWebProxy webProxy)

Parameters

serverUri Uri
The url of wfs service.

webProxy IWebProxy
The proxy of the wfs service.

Returns

String
The xml text represents capabilities of this wfs server.

Exceptions

ArgumentNullException
If serviceLocationUrl is null, we will throw an ArgumentNullException.

ArgumentException
If serviceLocationUrl is empty, we will throw an ArgumentException.

Remarks:

Every OGC Web Service (OWS), including a Web Feature Service, must have the ability to describe its capabilities by returning service metadata in response to a GetCapabilities request. Specifically, every web feature service must support the KVP encoded form of the GetCapabilities request over HTTP GET so that a client can always know how to obtain a capabilities document.

The capabilities response document contains the following sections: 1. Service Identification section The service identification section provides information about the WFS service itself. 2. Service Provider section The service provider section provides metadata about the organization operating the WFS server. 3. Operation Metadata section The operations metadata section provides metadata about the operations defined in this specification and implemented by a particular WFS server. This metadata includes the DCP, parameters and constraints for each operation. 4. FeatureType list section This section defines the list of feature types (and operations on each feature type) that are available from a web feature service. Additional information, such as the default SRS, any other supported SRSs, or no SRS whatsoever (for non-spatial feature types), for WFS requests is provided for each feature type. 5. ServesGMLObjectType list section This section defines the list of GML Object types, not derived from gml:AbstractFeatureType, that are available from a web feature service that supports the GetGMLObject operation. These types may be defined in a base GML schema, or in an application schema using its own namespace. 6. SupportsGMLObjectType list section The Supports GML Object Type section defines the list of GML Object types that a WFS server would be capable of serving if it was deployed to serve data. described by an application schema that either used those GML Object types directly (for non-abstract types), or defined derived types based on those types. 7. Filter capabilities section The schema of the Filter Capabilities Section is defined in the Filter Encoding Implementation Specification [3]. This is an optional section. If it exists, then the WFS should support the operations advertised therein. If the Filter Capabilities Section is not defined, then the client should assume that the server only supports the minimum default set of filter operators.

GetLayers(String)

Get layer names from specific wfs service url.

public static Collection<string> GetLayers(string serviceLocationUrl)

Parameters

serviceLocationUrl String
The url of wfs service.

Returns

Collection<String>
The collection represent layer names.

Exceptions

ArgumentNullException
If serviceLocationUrl is null, we will throw an ArgumentNullException.

ArgumentException
If serviceLocationUrl is empty, we will throw an ArgumentException.

Remarks:

Typically, it will call WfsV2FeatureSource.GetLayers(serviceLocationUrl) internally.

GetLayers(Uri, IWebProxy)

Get layer names from specific wfs service url.

public static Collection<string> GetLayers(Uri serverUri, IWebProxy webProxy)

Parameters

serverUri Uri
The url of wfs service.

webProxy IWebProxy
The proxy of the wfs service.

Returns

Collection<String>
The collection represent layer names.

Remarks:

Typically, it will call WfsV2FeatureSource.GetLayers(serverUri) internally.

GetLayers(Uri)

Get layer names from specific wfs service url.

public static Collection<string> GetLayers(Uri serverUri)

Parameters

serverUri Uri
The url of wfs service.

Returns

Collection<String>
The collection represent layer names.

Events

SendingWebRequest

public event EventHandler<SendingWebRequestEventArgs> SendingWebRequest;

SentWebRequest

public event EventHandler<SentWebRequestEventArgs> SentWebRequest;

DrawingFeatures

public event EventHandler<DrawingFeaturesEventArgs> DrawingFeatures;

DrawingWrappingFeatures

public event EventHandler<DrawingWrappingFeaturesFeatureLayerEventArgs> DrawingWrappingFeatures;

DrawingAttribution

public event EventHandler<DrawingAttributionLayerEventArgs> DrawingAttribution;

DrawnAttribution

public event EventHandler<DrawnAttributionLayerEventArgs> DrawnAttribution;

DrawingProgressChanged

public event EventHandler<DrawingProgressChangedEventArgs> DrawingProgressChanged;

RequestedDrawing

public event EventHandler<RequestedDrawingLayerEventArgs> RequestedDrawing;

RequestingDrawing

public event EventHandler<RequestingDrawingLayerEventArgs> RequestingDrawing;

DrawingException

public event EventHandler<DrawingExceptionLayerEventArgs> DrawingException;

DrawnException

public event EventHandler<DrawnExceptionLayerEventArgs> DrawnException;