GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Model
WfsUtils Class
Provides utility functions for the WFSLayer.
ArcGIS Maps SDK for JavaScript
public class WfsUtils : dymaptic.GeoBlazor.Pro.Model.ProLogicComponent
Inheritance System.Object 🡒 dymaptic.GeoBlazor.Core.Model.LogicComponent 🡒 ProLogicComponent 🡒 WfsUtils
Constructors
WfsUtils(AuthenticationManager, JsModuleManager, IAppValidator, IJSRuntime) Constructor
Constructs a new instance of the WfsUtils class.
public WfsUtils(dymaptic.GeoBlazor.Core.Model.AuthenticationManager authenticationManager, dymaptic.GeoBlazor.Core.JsModuleManager jsModuleManager, dymaptic.GeoBlazor.Core.IAppValidator appValidator, Microsoft.JSInterop.IJSRuntime jsRuntime);
Parameters
authenticationManager
dymaptic.GeoBlazor.Core.Model.AuthenticationManager
jsModuleManager
dymaptic.GeoBlazor.Core.JsModuleManager
appValidator
dymaptic.GeoBlazor.Core.IAppValidator
jsRuntime
Microsoft.JSInterop.IJSRuntime
Properties
WfsUtils.QueryResultsMaxSizeLimit Property
The maximum size of query results that will be returned in a stream. Note that setting this to a smaller value might create errors in query returns.
public long QueryResultsMaxSizeLimit { get; set; }
Property Value
Methods
WfsUtils.GetCapabilities(string, WfsUtilsGetCapabilitiesOptions) Method
Fetches the GetCapabilities document of a WFS service which contains information about the
list of layers in the service and the available operations.
param options
param options.signal An AbortSignal to abort the executions of the remote method. If canceled, the promise will be rejected with an error named AbortError
. See also AbortController.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.WFSCapabilities?> GetCapabilities(string url, dymaptic.GeoBlazor.Core.Options.WfsUtilsGetCapabilitiesOptions? options=null);
Parameters
url
System.String
The URL to the WFS endpoint.
options
dymaptic.GeoBlazor.Core.Options.WfsUtilsGetCapabilitiesOptions
- options.customParameters: A list of key-value pairs of parameters to append to the url.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.WFSCapabilities>
WfsUtils.GetLayerFromLayerInfo(WFSLayerInfo) Method
Converts the WFSLayerInfo to a WFSLayer.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer?> GetLayerFromLayerInfo(dymaptic.GeoBlazor.Core.Model.WFSLayerInfo wfsLayerInfo);
Parameters
wfsLayerInfo
dymaptic.GeoBlazor.Core.Model.WFSLayerInfo
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer>
WfsUtils.GetWFSLayerInfo(WFSCapabilities, string, string, WfsUtilsGetWFSLayerInfoOptions) Method
Returns the WFSLayerInfo from the capabilities of the WFS service.
param name The type name to get information for. If not specified, the first layer of the service is chosen.
param options An object specifying additional options. See the object specification table below for the required properties of this object.
param options.spatialReference The desired spatial reference for the layer. By default will use the default spatial reference of the feature type.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.WFSLayerInfo?> GetWFSLayerInfo(dymaptic.GeoBlazor.Core.Model.WFSCapabilities capabilities, string? name=null, string? namespaceUri=null, dymaptic.GeoBlazor.Core.Options.WfsUtilsGetWFSLayerInfoOptions? options=null);
Parameters
capabilities
dymaptic.GeoBlazor.Core.Model.WFSCapabilities
The capabilities of the WFS service.
name
System.String
namespaceUri
System.String
The namespace URI of the type name. If not specified, the first namespace found for the name
is chosen.
options
dymaptic.GeoBlazor.Core.Options.WfsUtilsGetWFSLayerInfoOptions
- options.customParameters: A list of key-value pairs of parameters to append to the url.
- options.signal: An AbortSignal to abort the executions of the remote method. If canceled, the promise will be rejected with an error named
AbortError
. See also AbortController.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.WFSLayerInfo>
WfsUtils.OnGetCapabilities(IJSStreamReference) Method
JS-Invoked response handler for the GetCapabilities request.
public System.Threading.Tasks.Task OnGetCapabilities(Microsoft.JSInterop.IJSStreamReference jsStreamReference);
Parameters
jsStreamReference
Microsoft.JSInterop.IJSStreamReference