- URL:https://<parcelfabricservice-url>/createSeeds
- Required Capability:ArcGIS Parcel Fabric
- Version Introduced:10.8
Description
Create parcel seeds for closed loops of lines that are associated with the specified record.
When building parcels from lines, parcel seeds are used. 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.
Request parameters
Parameter | Details |
---|---|
gdbVersion | Parameter specifying the name of the geodatabase version (the default is the DEFAULT version). Syntax
|
sessionId | Parameter representing 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 any other 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
|
extent (Optional) | Parameter representing the envelope of the extent in which to create seeds. Syntax
|
record (Required) | Parameter representing the unique identifier (guid) of the record. Seeds will be created for closed loops of lines that are associated to this record. If there is an extent specified, seeds will be created for closed loops of lines that are associated to the record in the specified extent. Syntax
|
async | Optional parameter, true or false. 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. See the topic on asynchronous usage for more information. The default is false. Syntax
|
f | Representing the output format of the response. The default response format is html. Values: html | json |
Example usage
This example shows the steps for creating seeds for closed loops of lines using the createSeeds operation.
Note:
The sessionId parameters must be the same for starting the edit session, performing the edit operation and stopping the edit session.- Start a service session on the version.
Request URL and parameters:
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:
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 closed loops of lines that are associated with the specified record.
Request URL and parameters:
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
Response 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>
}
Response when async is true:
{
"statusUrl": <url>
}
JSON Response example
Response example when async is false:
{
"moment": 1569452045,
"exceededTransferLimit": false,
"serviceEdits": [
{
"id": 2,
"editedFeatures": {
"spatialReference": {
"wkt": "PROJCS[\"User_Defined_Transverse_Mercator\",GEOGCS[\"GCS_User_Defined\",DATUM[\"D_User_Defined\",SPHEROID[\"User_Defined_Spheroid\",6378285.48,298.2641653866821]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",262000.0009333333],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",-87.55],
PARAMETER[\"Scale_Factor\",1.0],PARAMETER[\"Latitude_Of_Origin\",43.26666666666667],UNIT[\"Foot_US\",0.3048006096012192]]",
"xyTolerance": 0.0032808333333333331,
"zTolerance": 0.001,
"mTolerance": 0.001,
"falseX": -18187000,
"falseY": -48539200,
"xyUnits": 3048.00609601219276,
"falseZ": -100000,
"zUnits": 10000,
"falseM": -100000,
"mUnits": 10000},
"adds": [
{
"attributes": {
"ObjectID": 127157,
"IsRetired": 1,
"Shape__Area": 43.40060210116556,
"Shape__Length": 26.3516533374786377
},
"geometry": {
"rings": [
[
[ 156067.89909266308, 173515.450030401349 ],
[ 156067.89909266308, 173522.037943735719 ],
[ 156074.487005997449, 173522.037943735719 ],
[ 156074.487005997449, 173515.450030401349 ],
[ 156067.89909266308, 173515.450030401349 ]
]
]
}
}
]
}
}
},
{
"id": 1,
"editedFeatures": {
"spatialReference": {
"wkt": "PROJCS[\"User_Defined_Transverse_Mercator\",GEOGCS[\"GCS_User_Defined\",DATUM[\"D_User_Defined\",SPHEROID[\"User_Defined_Spheroid\",6378285.48,298.2641653866821]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",262000.0009333333],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",-87.55],
PARAMETER[\"Scale_Factor\",1.0],PARAMETER[\"Latitude_Of_Origin\",43.26666666666667],UNIT[\"Foot_US\",0.3048006096012192]]",
"xyTolerance": 0.0032808333333333331,
"zTolerance": 0.001,
"mTolerance": 0.001,
"falseX": -18187000,
"falseY": -48539200,
"xyUnits": 3048.00609601219276,
"falseZ": -100000,
"zUnits": 10000,
"falseM": -100000,
"mUnits": 10000
},
"updates": [
{
"attributes": {
"objectid": 6667,
"name": Rec001",
"recordtype": 1,
"recordeddate": null,
"cogoaccuracy": 3,
"created_user": "admin",
"create_date": 1569442740000,
"last_edited_user": "admin",
"last_edited_date": 1569442740000,
"globalid": "{988F2526-D5A0-473E-BD90-363E6E345524}",
"description": null,
"surveyor": null,
"company": null,
"surveydate": null,
"createdby": null,
"modifiedby": null,
"modifydate": null,
"Shape__Area": 0,
"Shape__Length": 0
},
"geometry": {
"hasZ": true,
"rings": []
}
},
{
"attributes": {
"objectid": 6667,
"name":" Rec001",
"recordtype": 1,
"recordeddate": null,
"cogoaccuracy": 3,
"created_user": "admin",
"create_date": 1569442740000,
"last_edited_user": "admin",
"last_edited_date": 1569452435000,
"globalid": "{988F2526-D5A0-473E-BD90-363E6E345524}",
"description": null,
"surveyor": null,
"company": null,
"surveydate": null,
"createdby": null,
"modifiedby": null,
"modifydate": null,
"Shape__Area": 33.8156866256736421,
"Shape__Length": 20.6140837952416334
},
"geometry": {
"hasZ": true,
"curveRings": [
[
[ 156071.193049330264, 173522.024820402265, 0 ],
{
"a": [
[ 156071.193049330264, 173522.024820402265, 0 ],
[ 156071.193049330264, 173518.743987068941 0, 1]
]
}
]
]
}
}
]
}
},
{
"id": 16,
"editedFeatures": {
"spatialReference": {
"wkt": "PROJCS[\"User_Defined_Transverse_Mercator\",GEOGCS[\"GCS_User_Defined\",DATUM[\"D_User_Defined\",SPHEROID[\"User_Defined_Spheroid\",6378285.48,298.2641653866821]],PRIMEM[\"Greenwich\",0.0],UNIT
[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",262000.0009333333],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",-87.55],
PARAMETER[\"Scale_Factor\",1.0],PARAMETER[\"Latitude_Of_Origin\",43.26666666666667],UNIT[\"Foot_US\",0.3048006096012192]]",
"xyTolerance": 0.0032808333333333331,
"zTolerance": 0.001,
"mTolerance": 0.001,
"falseX": -18187000,
"falseY": -48539200,
"xyUnits": 3048.00609601219276,
"falseZ": -100000,
"zUnits": 10000,
"falseM": -100000,
"mUnits": 10000
},
"adds": [
{
"attributes": {
"accuracy": null,
"calculatedarea": null,
"create_date": 1569452434000,
"created_user": "admin",
"createdby": null,
"createdbyrecord": "{988F2526-D5A0-473E-BD90-363E6E345524}",
"globalid": "{D71FD5A7-901E-4968-842D-60ED3D61B87E}",
"isseed": 1,
"last_edited_date": 1569452434000,
"last_edited_user": "admin",
"Shape__Area": 33.8156866256736421,
"Shape__Length": 20.6140837952416334
},
"geometry": {
"hasZ": true,
"curveRings": [
[
[ 156071.193049330264, 173522.024820402265, 0 ],
{
"a": [
[ 156071.193049330264, 173522.024820402265, 0 ],
[ 156071.193049330264, 173518.743987068941, 0, 1]
]
}
]
]
}
}
]
}
}
],
"success": true
}