- URL:
- https://<root>/<serviceName>/ParcelFabricServer/createSeeds
- Methods:
POST
- Required Capability:
- ArcGIS Advanced Editing
- Version Introduced:
- 10.8
Description
The create
operation creates parcel seeds for closed loops of lines that are associated with the specified record.
Parcel seeds are used when building parcels from lines. A parcel seed is the initial state or seed state of a parcel. A parcel seed indicates to the build process that a parcel can be built from the lines enclosing the seed.
A parcel seed is a minimized polygon feature and is stored in the parcel type polygon feature class.
Learn more about building parcels from lines and seeds
Request parameters
Parameter | Details |
---|---|
(Required) | Introduced at 10.8. The name of the geodatabase version (the default is the Syntax
|
(Required) | Introduced at 10.8. The token (GUID) used to lock the version. If the calling client is editing a named version, the Syntax
|
(Optional) | Introduced at 10.8. The envelope of the extent where the seeds will be created. If no map extent is provided, seeds will be created for all closed loops of lines that are associated with the specified record. Syntax
|
(Required) | Introduced at 10.8. The unique identifier (GUID) of the record. Seeds will be created for closed loops of lines that are associated with this record. If an extent is specified, seeds will be created for closed loops of lines that are associated with the record in the specified extent. Syntax
|
(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 Values: Syntax
|
| Specifies the output format of the response. The default response format is Values: |
Example usage
This example shows the steps for creating seeds for closed loops of lines using the create
operation.
-
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={bba242fc-e671-4aa2-83d4-1c013347fa4f}
-
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={bba242fc-e671-4aa2-83d4-1c013347fa4f}
-
Create seeds for all closed loops of lines that are associated with the specified record.
Request URL and parameters:
Use dark colors for code blocks Copy https://machine.domain.com/webadaptor/rest/services/CountyFabric/ParcelFabricServer/createSeeds f=json gdbVersion=admin.Version1 sessionId={bba242fc-e671-4aa2-83d4-1c013347fa4f} record={988F2526-D5A0-473E-BD90-363E6E345524} 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
:
{
"exceededTransferLimit: <true | false>,
"moment": <datetime>,
"error": { // only if success is false
"extendedCode": <HRESULT>,
"message": <error message>,
"details": [<detail>]
},
"serviceEdits": { // only if transfer limit is not exceeded
"editedFeatures": {
"updates": {
"attributes": {},
"geometry": {}
},
"adds": {
"attributes": {},
"geometry": {}
},
"deletes": {}
},
{
"spatialReference": {<spatial reference>}
},
"id" : <layerID>
},
"success": <true | false>
}
The following response is returned when async
is true
:
{
"statusUrl": <url>
}