Divide

URL:
https://<root>/<serviceName/ParcelFabricServer/divide
Methods:
POST
Required Capability:
ArcGIS Advanced Editing
Version Introduced:
10.9.1

Description

The divide operation creates new parcels by dividing an existing parcel in the parcel fabric. Parcels can be divided using the following area-based methods:

  • Proportional Area—Divides a parcel into equal areas based on a specified number of parts
  • Equal Area—Divides a parcel into equal areas based on a specified area and number of parts
  • Equal Width—Divides a parcel into areas based on a specified width and number of parts

Learn more about dividing parcels using area-based methods

Request parameters

ParameterDetails

gdbVersion

(Required)

Introduced at 10.9.1.

The name of the geodatabase version (the default is the DEFAULT version).

Syntax

Use dark colors for code blocksCopy
1
gdbVersion=<version>

sessionId

(Required)

Introduced at 10.9.1.

The token (GUID) used to lock the version. If the calling client has previously started a service session (editing) and holds an exclusive lock on the specified version, the request will fail if the sessionId value is not provided. If the specified version is currently locked by another session, the request will fail if the sessionId value is not provided or does not match the sessionId value that holds the exclusive lock.

Syntax

Use dark colors for code blocksCopy
1
sessionId=<guid>

divideParcelGuid

(Required)

Introduced at 10.9.1.

The unique identifier (GUID) of the parcel being divided.

Syntax

Use dark colors for code blocksCopy
1
divideParcelGuid=<guid>

divideParcelType

(Required)

Introduced at 10.9.1.

The parcel type (layer ID) in which the new, divided parcels will be created.

Syntax

Use dark colors for code blocksCopy
1
divideParcelType=<layer id>

record

(Required)

Introduced at 10.9.1.

The unique identifier (GUID) of the record being used for the divide.

Syntax

Use dark colors for code blocksCopy
1
record=<guid>

divideOption

(Required)

Introduced at 10.9.1.

The type of division to be performed.

Syntax

Use dark colors for code blocksCopy
1
divideOption=<string>

Values: ProportionalArea | EqualArea | EqualWidth

divideNumberOfParts

(Required)

Introduced at 10.9.1.

The number of parts into which the parcel will be divided.

Syntax

Use dark colors for code blocksCopy
1
divideNumberOfParts=<long>

dividePartAreaOrWidth

(Required)

Introduced at 10.9.1.

The area of the divided parcels. This parameter is used for the EqualArea and EqualWidth divide options. For the ProportionalArea divide option, a default value of 0 can be used.

Syntax

Use dark colors for code blocksCopy
1
dividePartAreaOrWidth=<double>

divideLineBearing

(Required)

Introduced at 10.9.1.

The direction (in decimal degrees) of the line used to divide the parcel.

Syntax

Use dark colors for code blocksCopy
1
divideLineBearing=<double>

divideLeftSide

(Required)

Introduced at 10.9.1.

Specifies whether the area being divided is starting from the leftmost (northern or western) edge of the parcel. Any remainder area will be to the right of the divided parts. If false, the area being divided starts from the rightmost (southern or eastern) edge of the parcel and any remainder area will be to the left of the divided parts.

This parameter is used for the EqualArea and EqualWidth divide options. For the ProportionalArea divide option, a default value of true or false can be used.

Syntax

Use dark colors for code blocksCopy
1
divideLeftSide=<boolean>

Values: true | false

divideDistributeRemainder

(Required)

Introduced at 10.9.1.

Specifies whether the remainder area will be distributed or merged after the divide is performed. This parameter is used for the EqualArea and EqualWidth divide options. For the ProportionalArea divide option, a default value of false can be used.

Syntax

Use dark colors for code blocksCopy
1
divideDistributeRemainder=<boolean>

Values: true | false

defaultAreaUnit

(Required)

Introduced at 10.9.1.

The units in which area will be stored. The parameter is specified as a domain code from the PF_AreaUnits parcel fabric domain.

Syntax

Use dark colors for code blocksCopy
1
defaultAreaUnit=<long>

Example using square feet:

Use dark colors for code blocksCopy
1
defaultAreaUnit=109405

Example using square meters:

Use dark colors for code blocksCopy
1
defaultAreaUnit=109404

divideCogoLineBearing

(Optional)

Introduced at 10.9.1.

The COGO direction (in decimal degrees) that will be stored in the COGO Direction field of the dividing lines.

Syntax

Use dark colors for code blocksCopy
1
divideCogoLineBearing=<double>

divideAssociatedLines

(Required)

Introduced at 11.3.

Specifies whether to split parent parcel lines by the dividing, intersecting lines. The original parent parcel lines are will be retired as historic and new lines are created for the divided parcels. COGO dimensions are updated on the created lines with proportioned, computed values.

async

(Optional)

Introduced at 11.1.

Specifies whether the request will be processed asynchronously. If true, the request is processed as an asynchronous job and a URL is returned that points to a location displaying the status of the job. The default is false. This parameter is optional.

Values: true | false

Syntax

Use dark colors for code blocksCopy
1
async=true|false

f

Specifies the output format of the response. The default response format is html.

Values: html | json

Example usage

This example shows the steps for dividing parcels by proportional area using the divide operation.

  1. Start a service session on the version.

    Request URL and parameters:

    Use dark colors for code blocksCopy
    1
    2
    3
    https://machine.domain.com/webadaptor/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startReading
    f=json
    sessionId={ce7b2411-2cbd-4a01-bd80-ae7452a46bf0}
  2. Start an edit session on the version.

    Request URL and parameters:

    Use dark colors for code blocksCopy
    1
    2
    3
    https://machine.domain.com/webadaptor/rest/services/CountyFabric/VersionManagementServer/versions/E4DAED9D-C859-489B-9053-767A45F1D97C/startEditing
    f=json
    sessionId={ce7b2411-2cbd-4a01-bd80-ae7452a46bf0}
  3. Divide a parcel into two parts by proportional area. Store the direction of the divide line in the COGO Direction field of the divided boundary. Split the parent parcel lines.

    Request URL and parameters:

    Use dark colors for code blocksCopy
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    https://machine.domain.com/webadaptor/rest/services/CountyFabric/ParcelFabricServer/divide
    f=json
    gdbVersion=admin.Version1
    sessionId={ce7b2411-2cbd-4a01-bd80-ae7452a46bf0}
    divideParcelGuid={D6C6C24A-25B1-4563-8B1A-B88F95B753AD}
    divideParcelType=15
    record={5D3B06C4-7851-49D6-AD28-74BED662CDE6}
    divideOption=ProportionalArea
    divideNumberOfParts=2
    dividePartArea=0
    divideLineBearing=89.37056
    divideLeftSide=true
    divideDistributeRemainder=false
    defaultAreaUnit=109405
    divideCogoLineBearing=89.37056
    divideAssociatedLines=true
    async=false
  4. If edits are complete, stop the edit session.

  5. Stop and release the service session.

JSON Response syntax

The following response is returned when async is false:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  "exceededTransferLimit: <true | false>,
  "moment": <datetime>,
		"serviceEdits": [{  // only if transfer limit is not exceeded
    "editedFeatures": {
						"spatialReference": {}
						"updates": [
							[{ "attributes": {}
										"geometry": {}
								}]]
							"adds":[
							{ "attributes": {}
									"geometry": {}
							]}]
				"success": <true | false>,
    "error": {  // only if success is false
      "extendedCode": <HRESULT>,
      "message": <error message>,
      "details": [<detail>]
}

The following response is returned when async is true:

Use dark colors for code blocksCopy
1
2
3
{
		"statusUrl": <url>
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.