Apply least squares adjustment
- URL:https://<parcelfabricservice-url>/applyLeastSquaresAdjustment
- Required Capability:ArcGIS Parcel Fabric
- Version Introduced:10.8.1
Description
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 analyzeByLeastSquaresAdjustment to run a least-squares analysis on parcels and store the results in adjustment feature classes.
Request parameters
Parameter | Details |
---|---|
gdbVersion | Specifies the name of the geodatabase version (the default is the DEFAULT version). Syntax
|
sessionId | Represents 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 any other 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
|
movementTolerance | Represents 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
|
updateAttributes | Specifies whether attribute fields in the parcel fabric Points feature class will be updated with statistical metadata. The XY Uncertainty, Error Ellipse Semi Major, Error Ellipse Semi Minor, and Error Ellipse Direction fields will be updated with the values stored in the same fields in the AdjustmentPoints feature class. Syntax
|
async (Optional) | If true, the request is processed as an asynchronous job and a URL is returned that points a location displaying the status of the job. See the topic on asynchronous usage for more information. The default is false. Values: true | false |
f | The response format. The default response is html. Values: html | json | pjson |
Example usage
This example shows the steps for applying the results of a least squares analysis using the applyLeastSquaresAdjustment operation.

- Start a service session on the version.
Request URL and parameters:
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:
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 applyLeastSquaresAdjustment operation.
Request URL and parameters:
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
- If edits are complete, stop the edit session.
- Stop and release the service session.
JSON Response syntax
Response when async is true
{
"statusUrl": <url>,
"success": <true | false>
}
JSON Response Example
Response when async is true:
{
"statusUrl": "https://machine.domain.com/server/rest/services/Polk/ParcelFabricServer/jobs/jfc327579ac0a4b49bd9ee6a2af93680b",
"success": true
}