- URL:
- https://<root>/<serviceName>/ParcelFabricServer/mergeParcelPoints
- Methods:
POST- Required Capability:
- ArcGIS Advanced Editing
- Version Introduced:
- 12.0
Description
The merge operation merges two or more parcel fabric points to a single point. You can specify which point's attributes to preserve and which point's location to preserve.
Learn more about merging parcel fabric points.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The name of the geodatabase version (the default is the Syntax |
(Required) | The token (GUID) used to lock the version. If the calling client is editing a named version, the Syntax |
(Required) | The input points that will be merged. The points are input as a string array of point GUIDS. Syntax |
(Required) | The point with the attributes that will be preserved. Syntax |
(Required) | The point that will be used as the merged location. Syntax |
(Required) | Specifies whether to return the preview of the merged point or perform the merge of the points. Set to Values: Syntax |
(Required) | Specifies whether to collapse parcels and remove lines when points are merged. Set to Values: Syntax |
(Optional) | A list of attributes that will be used to override and replace attributes on the new merged point. Syntax |
| Specifies the output format of the response. The default response format is Values: |
Example usage
This example shows the steps for merging parcel fabric points using the merge operation.
-
Start a service session on the version.
Request URL and parameters:
Use dark colors for code blocks Copy https://organization.example.com/<context>/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startReading f=json sessionId={bba232fc-e671-4aa2-83d4-1c013347fa4f} -
Start an edit session on the version.
Request URL and parameters:
Use dark colors for code blocks Copy https://organization.example.com/<context>/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startEditing f=json sessionId={bba232fc-e671-4aa2-83d4-1c013347fa4f} -
Merge two parcel fabric points. Do not override any attributes.
Request URL and parameters:
Use dark colors for code blocks Copy https://organization.example.com/<context>/rest/services/CountyFabric/ParcelFabricServer/shrinkToSeed f=json gdbVersion=admin.Version1 sessionId={bba232fc-e671-4aa2-83d4-1c013347fa4f} points=["{D56CE33E-5D65-4558-B59C-788818CF7E74}","{CD5DA095-1F26-463D-97F6-0304064B14BD}"] preservePointGuid={D56CE33E-5D65-4558-B59C-788818CF7E74} locationPointGuid={D56CE33E-5D65-4558-B59C-788818CF7E74} updateFeatures=true removeLines=true async=false -
If edits are complete, stop the edit session.
-
Stop and release the service session.
JSON Response syntax
The following response is returned when async is false:
"moment": <datetime>,
"exceededTransferLimit": <true | false>,
"serviceEdits":
{
"editedFeatures":
"spatialReference": {<spatialreference>},
"updates": [...]
id=<layerid>
}
{
"editedFeatures":
"deletes": [...]
"spatialReference": {<spatialreference>},
"updates": [...]
id=<layerid>
}
{
editedFeatures
id=<layerid>
}
{
editedFeatures
id=<layerid>
}
success=TrueThe following response is returned when async is true :
{
"statusUrl": <url>
}