Constructor SpatialReferenceBuilder
SpatialReferenceBuilder(Int32)
Initializes a new instance of the SpatialReferenceBuilder class based on the given horizontal coordinate system.
Declaration
public SpatialReferenceBuilder(int wkid)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | wkid | The well-known ID of the horizontal coordinate system. Must be a positive value (greater than zero). |
Remarks
This method creates a spatial reference builder based on the given horizontal coordinate system WKID, and will have not have a vertical coordinate system associated with it. It will have default precision values (Resolution, Tolerance, VerticalResolution, and VerticalTolerance).
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.8 |
.NET | 200.8 |
.NET Windows | 200.8 |
.NET Android | 200.8 |
.NET iOS | 200.8 |
.NET Framework | 200.8 |
UWP | 200.8 |
SpatialReferenceBuilder(SpatialReference)
Initializes a new instance of the SpatialReferenceBuilder class with the specified spatial reference (including any customizations) as the starting point for further modifications.
Declaration
public SpatialReferenceBuilder(SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
SpatialReference | spatialReference | The spatial reference to use as a starting point for further modifications |
Remarks
This method creates a spatial reference builder with property values that match the given SpatialReference, including any custom precision values (Resolution, Tolerance, VerticalResolution, and VerticalTolerance).
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.8 |
.NET | 200.8 |
.NET Windows | 200.8 |
.NET Android | 200.8 |
.NET iOS | 200.8 |
.NET Framework | 200.8 |
UWP | 200.8 |
SpatialReferenceBuilder(String)
Initializes a new instance of the SpatialReferenceBuilder class based on well-known text.
Declaration
public SpatialReferenceBuilder(string wkText)
Parameters
Type | Name | Description |
---|---|---|
System.String | wkText | A supported well-known text definition of a coordinate system. |
Remarks
This method creates a spatial reference build based on the given well-known text definition of a coordinate system, and so can be used to define a builder with a customized coordinate system. Both WKT and WKT2 formats are supported as input. The builder will have default precision values (Resolution, Tolerance, VerticalResolution, and VerticalTolerance).
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.8 |
.NET | 200.8 |
.NET Windows | 200.8 |
.NET Android | 200.8 |
.NET iOS | 200.8 |
.NET Framework | 200.8 |
UWP | 200.8 |
SpatialReferenceBuilder(Int32, Int32)
Initializes a new instance of the SpatialReferenceBuilder class based on the given horizontal and vertical coordinate systems.
Declaration
public SpatialReferenceBuilder(int wkid, int verticalWkid)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | wkid | The well-known ID of the horizontal coordinate system. Must be a positive value (greater than zero). |
System.Int32 | verticalWkid | The well-known ID of the vertical coordinate system. Must be a non negative value. |
Remarks
This method creates a spatial reference builder based on the given horizontal coordinate system WKID and vertical coordinate system verticalWKID. It will have default precision values (Resolution, Tolerance, VerticalResolution, and VerticalTolerance). If verticalWKID is 0, this is equivalent to calling SpatialReferenceBuilder(Int32), and the builder will have not have a vertical coordinate system associated with it.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.8 |
.NET | 200.8 |
.NET Windows | 200.8 |
.NET Android | 200.8 |
.NET iOS | 200.8 |
.NET Framework | 200.8 |
UWP | 200.8 |