- URL:
- https://<root>/<serviceName>/ParcelFabricServer/applyLeastSquaresAdjustment
- Methods:
POST
- Required Capability:
- ArcGIS Advanced Editing
- Version Introduced:
- 10.8.1
Description
The apply
operation applies the results of a least-squares adjustment to parcel fabric feature classes. Least-squares adjustment results stored in the AdjustmentLines and AdjustmentPoints feature classes are applied to the corresponding parcel line, connection line, and parcel fabric point feature classes.
Use analyze
to run a least-squares analysis on parcels and store the results in the adjustment feature classes.
Request parameters
Parameter | Details |
---|---|
(Required) | Ingroduced at 10.8.1. The name of the geodatabase version (the default is the Syntax
|
(Required) | Introduced at 10.8.1. The token (GUID) used to lock the version. If the calling client is editing a named version, the session ID is required. If the specified version is currently locked by another session, the request will fail if the session ID is not provided or does not match the session ID that holds the exclusive lock. If the client is editing the default version, the session ID is not required. Syntax
|
(Required) | Introduced at 10.8.1. The minimum allowable coordinate shift when updating parcel fabric points. If the distance between the adjustment point and the parcel fabric point is greater than the specified tolerance, the parcel fabric point is updated to the location of the adjustment point. The default tolerance is 0.05 meters or 0.164 feet. Syntax
|
(Required) | Introduced at 10.8.1. Specifies whether attribute fields in the parcel fabric Points feature class will be updated with statistical metadata. The Syntax
|
(Optional) | Introduced at 11.1. Specifies whether the request will be processed asynchronously. If Values: |
| The response format. The default response is Values: |
Example usage
This example shows the steps for applying the results of a least squares analysis using the apply
operation.
-
Start a service session on the version.
Request URL and parameters:
Use dark colors for code blocks Copy https://machine.domain.com/webadaptor/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startReading f=json sessionId={493b57b1-5998-495e-87a8-ec4dcc342168}
-
Start an edit session on the version.
Request URL and parameters:
Use dark colors for code blocks Copy https://machine.domain.com/webadaptor/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startEditing f=json sessionId={493b57b1-5998-495e-87a8-ec4dcc342168}
-
Apply the results of a least squares analysis using the
apply
operation.Least Squares Adjustment Request URL and parameters:
Use dark colors for code blocks Copy https://machine.domain.com/webadaptor/rest/services/CountyFabric/ParcelFabricServer/applyLeastSquaresAdjustment f=json gdbVersion=admin.Version1 sessionId={493b57b1-5998-495e-87a8-ec4dcc342168} movementTolerance=0.05 updateAttributes=true async=true
-
When edits are complete, stop the edit session.
-
Stop and release the service session.
JSON Response syntax
The following is the response syntax when async
is true
:
{
"statusUrl": <url>,
"success": <true | false>
}
JSON Response example
The following is an example response when async
is true
:
{
"statusUrl": "https://machine.domain.com/server/rest/services/Polk/ParcelFabricServer/jobs/jfc327579ac0a4b49bd9ee6a2af93680b",
"success": true
}