Class WfsFeatureTypeInfo
Inherited Members
Namespace: Mapsui.Providers.Wfs.Utilities
Assembly: Mapsui.Nts.dll
Syntax
public class WfsFeatureTypeInfo
Constructors
| Edit this page View SourceWfsFeatureTypeInfo()
Initializes a new instance of the WfsFeatureTypeInfo class.
Declaration
public WfsFeatureTypeInfo()
WfsFeatureTypeInfo(string, string, string, string, string)
Initializes a new instance of the WfsFeatureTypeInfo class.
Declaration
public WfsFeatureTypeInfo(string serviceUri, string nsPrefix, string featureTypeNamespace, string featureType, string geometryName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | serviceUri | |
| string | nsPrefix | Use an empty string or 'null', if there is no prefix for the featuretype. |
| string | featureTypeNamespace | Use an empty string or 'null', if there is no namespace for the featuretype. You don't need to know the namespace of the feature type, if you use the quick geometries option. |
| string | featureType | |
| string | geometryName | The geometry name is the property of the featuretype from which geometry information can be obtained from. Usually this property is called something like 'Shape' or 'geom'. It is absolutely necessary to give this parameter. |
WfsFeatureTypeInfo(string, string, string, string, string, GeometryTypeEnum)
Initializes a new instance of the WfsFeatureTypeInfo class.
Declaration
public WfsFeatureTypeInfo(string serviceUri, string nsPrefix, string featureTypeNamespace, string featureType, string geometryName, GeometryTypeEnum geometryType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | serviceUri | |
| string | nsPrefix | Use an empty string or 'null', if there is no prefix for the featuretype. |
| string | featureTypeNamespace | Use an empty string or 'null', if there is no namespace for the featuretype. You don't need to know the namespace of the feature type, if you use the quick geometries option. |
| string | featureType | |
| string | geometryName | The geometry name is the property of the featuretype from which geometry information can be obtained from. Usually this property is called something like 'Shape' or 'geom'. It is absolutely necessary to give this parameter. |
| GeometryTypeEnum | geometryType | Specifying the geometry type helps to accelerate the rendering process. |
Properties
| Edit this page View SourceBBox
Gets or sets the spatial extent of the featuretype - defined as minimum bounding rectangle.
Declaration
public WfsFeatureTypeInfo.BoundingBox BBox { get; set; }
Property Value
| Type | Description |
|---|---|
| WfsFeatureTypeInfo.BoundingBox |
Cs
Separator for coordinate values (for gml:coordinates)
Declaration
public string Cs { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DecimalDel
Decimal separator (for gml:coordinates)
Declaration
public string DecimalDel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Elements
Gets the elements associated to the feature.
Declaration
public List<WfsFeatureTypeInfo.ElementInfo> Elements { get; }
Property Value
| Type | Description |
|---|---|
| List<WfsFeatureTypeInfo.ElementInfo> |
FeatureTypeNamespace
Gets or sets the featuretype namespace. This argument is obligatory for data retrieving, except when using the quick geometries option.
Declaration
public string FeatureTypeNamespace { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Geometry
Gets or sets information about the geometry of the featuretype. Setting at least the geometry name is obligatory for data retrieving.
Declaration
public WfsFeatureTypeInfo.GeometryInfo Geometry { get; set; }
Property Value
| Type | Description |
|---|---|
| WfsFeatureTypeInfo.GeometryInfo |
LabelFields
Declaration
public List<string>? LabelFields { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Name
Gets or sets the name of the featuretype. This argument is obligatory for data retrieving.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name. |
Prefix
Gets or sets the prefix of the featuretype and it's nested elements. This argument is obligatory for data retrieving, if the featuretype is declared with a prefix in 'GetCapabilities'.
Declaration
public string? Prefix { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The prefix. |
SRID
Gets or sets the spatial reference ID
Declaration
public string SRID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServiceUri
Gets or sets the service URI for WFS 'GetFeature' request. This argument is obligatory for data retrieving.
Declaration
public string? ServiceUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Ts
Tuple separator (for gml:coordinates)
Declaration
public string Ts { get; set; }
Property Value
| Type | Description |
|---|---|
| string |