Description
The analyze
operation analyzes the parcel fabric measurement network by running a least squares adjustment on the input parcels. A least-squares adjustment is a mathematical procedure that uses statistical analysis to estimate the most likely coordinates for connected points in a measurement network.
Different types of adjustments can be run on the parcel fabric depending on whether you are evaluating spatial accuracy or improving spatial accuracy. The following two least squares analysis types can be run on the parcel fabric:
- Consistency check—A free network adjustment is used to check measurements (dimensions) on input parcel lines for blunders and outliers.
- Weighted least squares—Two or more fixed or weighted control points are used to estimate updated coordinates for points on the input parcels.
Use apply
to apply the results of a least squares adjustment to parcel fabric feature classes.
Request parameters
Parameter | Details |
---|---|
(Required) | Introduced at 10.8.1. Specifies the name of the geodatabase version (the default is the Syntax
|
(Required) | Introduced at 10.8.1. Specifies 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. Specifies the type of least squares analysis that will be run on the input parcels.
Syntax
|
(Required) | Introduced at 10.8.1. The maximum coordinate shift expected after iterating the least squares adjustment. A least squares adjustment is run repeatedly (in iterations) until the solution converges. The solution is considered converged when maximum coordinate shift encountered becomes less than the specified convergence tolerance. The default value is 0.05 meters or 0.164 feet. Syntax
|
(Required) | Introduced at 10.8.1. Specifies the input parcels that will be analyzed using a least squares adjustment. Syntax
|
(Optional) | Introduced at 11.1. Specifies whether the request will be processed asynchronously. If Values: |
| The response format. The default response is |
Example usage
The following example is a sample POST request for analyze
, which demonstrates the steps for performing a consistency check on the input parcels:
-
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={24deea33-b826-42de-9cc3-7200093da4be}
-
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={24deea33-b826-42de-9cc3-7200093da4be}
-
Run a consistency check on the specified parcels using the
analyze
operation.By Least Squares Adjustment Request URL and parameters:
Use dark colors for code blocks Copy https://machine.domain.com/webadaptor/rest/services/CountyFabric/ParcelFabricServer/analyzeByLeastSquaresAdjustment f=json gdbVersion=admin.Version1 sessionId={24deea33-b826-42de-9cc3-7200093da4be} analysisType=CONSISTENCY_CHECK convergenceTolerance=0.16404199475065617 parcelFeatures=[{"id":"{455428FC-63F9-4967-94E7-2A5C0D259B90}","layerId":"7"},{"id":"{D4A18A8A-7217-4FE9-853F-F28F155AB6EE}","layerId":"7"},{"id":"{1675EC35-7C8D-4A0E-8B1C-F51B7B989718}","layerId":"7"},{"id":"{13AF598B-1BB8-4ACB-A642-BDC1CA6E81F6}","layerId":"7"},{"id":"{71C444CF-34B1-47EA-86B5-4F543A58043B}","layerId":"13"},{"id":"{EA131013-1980-4A93-B7FD-DDD14291DC6A}","layerId":"13"},{"id":"{FCE266F4-757B-42FA-81E2-7030E341483B}","layerId":"13"}] 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/Parcel_Fabric/ParcelFabricServer/jobs/j7342ce4d28494f3aa2ba27dc88092c90",
"success": true
}