Method Project
Project(Geometry, SpatialReference)
Projects the given geometry from its current spatial reference system into the given spatial reference system.
Declaration
public static Geometry Project(Geometry geometry, SpatialReference outputSpatialReference)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The geometry to be projected. |
Spatial |
outputSpatialReference | The spatial reference to which geometry need to be projected. |
Returns
Type | Description |
---|---|
Geometry | The geometry projected into the given Spatial |
Remarks
A default best-choice Datum
If the geometry parameter has z-values, those z-values are also be transformed,
if both the SpatialoutputSpatialReference
parameter, have a vertical coordinate system.
Supports true curves. Projecting curves located at poles and coordinate system horizons using ArcGIS Runtime may give results that differ slightly from other ArcGIS software because ArcGIS Runtime uses a different geometry projection function.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Relevant samples
Project(Geometry, SpatialReference, DatumTransformation)
Projects the given geometry from its current spatial reference system into the given output spatial reference system, applying the datum transformation provided.
Declaration
public static Geometry Project(Geometry geometry, SpatialReference outputSpatialReference, DatumTransformation datumTransformation)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The geometry to be projected. |
Spatial |
outputSpatialReference | The spatial reference to which geometry need to be projected. |
Datum |
datumTransformation | The datum transformation that describes how coordinates are converted from one geographic
coordinate system to another. Using a Horizontal |
Returns
Type | Description |
---|---|
Geometry | The geometry projected into the given Spatial |
Remarks
Use this overload to project a geometry if the difference between the input geometry's
SpatialoutputSpatialReference
involves
a change of datum, and you do not wish to use the default datum transformation used by
Project(Geometry, SpatialoutputSpatialReference
have a vertical coordinate system set.
Supports true curves. Projecting curves located at poles and coordinate system horizons using ArcGIS Runtime may give results that differ slightly from other ArcGIS software because ArcGIS Runtime uses a different geometry projection function.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.2.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 100.15 |