WfsV2ProgressiveFeatureLayer¶
Namespace: ThinkGeo.UI.Maui
public class WfsV2ProgressiveFeatureLayer : ProgressiveFeatureLayer
Inheritance Object → LayerBase → Layer → FeatureLayer → ProgressiveFeatureLayer → WfsV2ProgressiveFeatureLayer
Properties¶
LastXmlResponse¶
The xml text represents last response, it will pass out by RequestedData event with parameter.
public string LastXmlResponse { get; }
Property Value¶
ServiceLocationUrl¶
The url of wfs service.
public string ServiceLocationUrl { get; set; }
Property Value¶
TypeName¶
The typename in the specify wfs service.
public string TypeName { get; set; }
Property Value¶
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¶
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¶
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¶
QueryTools¶
public QueryTools QueryTools { get; protected set; }
Property Value¶
QueryTools
MaxRecordsToDraw¶
public int MaxRecordsToDraw { get; set; }
Property Value¶
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¶
Attribution¶
public string Attribution { get; set; }
Property Value¶
RequestDrawingInterval¶
public TimeSpan RequestDrawingInterval { get; set; }
Property Value¶
Name¶
public string Name { get; set; }
Property Value¶
IsOpen¶
public bool IsOpen { get; }
Property Value¶
IsVisible¶
public bool IsVisible { get; set; }
Property Value¶
DrawingTime¶
public TimeSpan DrawingTime { get; protected set; }
Property Value¶
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¶
BlueTranslation¶
public float BlueTranslation { get; set; }
Property Value¶
RedTranslation¶
public float RedTranslation { get; set; }
Property Value¶
GreenTranslation¶
public float GreenTranslation { get; set; }
Property Value¶
KeyColors¶
public Collection<GeoColor> KeyColors { get; }
Property Value¶
IsNegative¶
public bool IsNegative { get; set; }
Property Value¶
IsGrayscale¶
public bool IsGrayscale { get; set; }
Property Value¶
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;