Property ServiceCurveGeometryMode
ServiceCurveGeometryMode
Gets or sets a value indicating whether curve geometries are fetched from and sent to services that support them.
Declaration
public static ServiceCurveGeometryMode ServiceCurveGeometryMode { get; set; }
Property Value
Type | Description |
---|---|
ServiceCurveGeometryMode | Determines if curve geometries are fetched from and sent to services that support them. |
Remarks
By default, this API does not fetch curves in geometries or act as a true curve client, which means:
- Densified versions of any curve geometries are fetched from services, resulting in client-side geometries
where HasCurves is always
false
. - Curve geometries stored in services where
OnlyAllowTrueCurveUpdatesByTrueCurveClients is
true
cannot be updated.
If your application preserves curve segments throughout all workflows, set this property to TrueCurveClient, which means:
- Curve geometries are fetched from services, resulting in client-side geometries where
HasCurves is
true
. - Your app will inform the services that it is a true curve client, and therefore will be able to update
curve geometries stored in services where
OnlyAllowTrueCurveUpdatesByTrueCurveClients is
true
.
Ensure that you change this property before any calls to services are made, as it cannot be changed after the first request has begun. Note that some geometry operations do not support curve geometries; see GeometryEngine for details of curve support. GeometryEditor does not support curve geometries. It is your responsibility to ensure data integrity by correctly preserving any curve segments throughout your application when using ServiceCurveGeometryMode.
See the ArcGIS REST API doc for details of curve support in services.
For services that don't support curves, this value has no effect. It also has no effect on local data sources that may contain curve geometries, such as mobile geodatabases or mobile map packages created using ArcGIS Pro.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.12 - 200.6 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.6 |