Show / Hide Table of Contents

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 fetches curves in geometries and act as a true curve client, 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.
  • Geodatabase replicas created by your app will preserve true curves and have IsTrueCurveClient set to true.

It is your responsibility to ensure data integrity by correctly preserving any curve segments throughout your application when using TrueCurveClient. If your application edits feature geometries and does not preserve curve segments throughout all editing workflows, set this property to DensifyCurves, 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.

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.

For details of curve support in services, see ArcGIS REST API documentation.

For services that don't support curves, this value has no effect.

This value also has no effect on existing local data sources that may contain curve geometries, such as previously created mobile geodatabases or mobile map packages. For example, synchronizing edits made to a mobile geodatabase with its feature service will not use this value. When the geodatabase is synchronized it will be treated as a true curve client if it was created with true curves preserved. See IsTrueCurveClient for details.

Exceptions
Type Condition
InvalidOperationException

An attempt was made too late to change if curves are fetched from or sent to services. This property can only be changed before any calls to services are made, and cannot be changed later in the app lifetime.

See Also
HasCurves
IsTrueCurveClient

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.12 - 200.8
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.