Reconstruct from seeds

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

Description

The reconstructFromSeeds operation reconstructs parcels from seeds enclosed by parcel lines in the specified extent. Parcels are reconstructed regardless of the parcel lines' associations with records.

Learn more about reconstructing parcels from seeds

Request parameters

ParameterDetails

gdbVersion

(Required)

Introduced at 11.0.

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 11.0.

The token (GUID) used to lock the version. If the calling client is editing a named version, the sessionId value is required. 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. If the client is editing the default version, the sessionId value is not required.

Syntax

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

extent

(Required)

Introduced at 11.0.

The envelope of the extent that will be used to reconstruct seeds. Seeds that lie within the specified extent will be reconstructed into parcels.

Syntax

Use dark colors for code blocksCopy
1
2
{"xmin":<X min>,"ymin":<y min>, "xmax": <x max>, "ymax": <y max>, "spatialReference":
{<wkt of spatial reference>}}

async

(Optional)

Introduced at 11.1.

Specifies whether the request will be processed as an asynchronous job and a URL that points to a location displaying the status of the job will be returned. See the topic regarding asynchronous usage for more information. The default is false.

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 reconstructing seeds in the specified extent using the reconstructFromSeeds 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/07BEA5BF-89D7-474B-BE69-A7A0D7E951AB/startReading
    f=json
    sessionId={8a92a739-c331-48b6-8402-79555dd88e85}
  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/07BEA5BF-89D7-474B-BE69-A7A0D7E951AB/startEditing
    f=json
    sessionId={8a92a739-c331-48b6-8402-79555dd88e85}
  3. Reconstruct seeds in the specified extent.

    Request URL and parameters:

    Use dark colors for code blocksCopy
    1
    2
    3
    4
    5
    6
    7
    https://machine.domain.com/webadaptor/rest/services/CountyFabric/ParcelFabricServer/reconstructFromSeeds
    f=json
    gdbVersion=admin.Version1
    sessionId={8a92a739-c331-48b6-8402-79555dd88e85}
    extent={"xmin":3160900.60284135584,"ymin":13847241.0501159038,"xmax":3161405.76772921067,"ymax":13847610.5474399272,"spatialReference":
    {"wkid":102740,"latestWkid":2278}}
    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
{
  "moment": <datetime>,
		"reconstructedParcelCount": <integer>,
  "exceededTransferLimit: <true | false>,
  "error": {  // only if success is false
    "extendedCode": <HRESULT>,
    "message": <error message>,
    "details": [<detail>]
  },
  "serviceEdits": [ ] // only if transfer limit is not exceeded
  "success": <true | false>
}

Response 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.