- URL:
- https://<intersection-layer-url>/generateIntersections
- Methods:
GET
- Required Capability:
- The ArcGIS Location Referencing license is required to use this resource.
- Version Introduced:
- 10.8.1
Description
This operation generates intersection points between the parent LRS Network layer and each of the intersecting layers of an LRS Intersection. Internally, it calls the Generate Intersections geoprocessing tool.
Request parameters
Parameter | Details |
---|---|
(Optional) |
Specifies the response format. The default response format is Values: |
(Optional) | Specifies a list of object IDs or an SQL Syntax:
Example:
|
(Optional) | Specifies the epoch date, which acts as a filter on the Learn more about Editor Tracking Syntax:
Example:
|
(Optional) | Boolean parameter to only consider the parent network routes that were edited by the signed in portal user. The user name is used as a filter on the Editor field of the parent network feature class. The default value is Learn more about Editor Tracking Values: |
(Optional) |
Specifies the geodatabase version to use. If this parameter is not specified, the published map's version is used. Syntax:
Example:
|
(Optional) |
Set by a client during long transaction editing on a branch version. The Syntax:
Example:
|
(Optional) |
Specifies whether the response reports the time edits that were applied. If Values: |
(Optional) |
Returns features edited due to the geodatabase behavior that results from applying the edits. For example, if a feature is deleted and it is the origin in a composite relationship, the destination feature is automatically deleted from the geodatabase. If Results returned from Service-level
The
The response includes no Edited features are returned in the spatial reference of the feature service as defined by the services The default value is Values: |
Example usage
The following examples demonstrate generating all intersections or for a selection set.
Example 1
URL to call to generate all possible intersections:
https://sampleserver/server/rest/services/MyLRS/MapServer/exts/LRServer/intersectionLayers/5/generateIntersections?parentNetworkLayerDefinition=&startDate=0&onlyGenerateForRoutesEditedByCurrentUser=false&gdbVersion=SDE.test2&sessionId={91FB4126-F4D8-410E-96A2-000E8463A8A4}&returnServiceEditsOption=originalAndCurrentFeatures&returnEditMoment=true&f=json
Example 2
URL to call to generate intersections on a selection set:
https://sampleserver/server/rest/services/MyLRS/MapServer/exts/LRServer/intersectionLayers/5/generateIntersections?parentNetworkLayerDefinition={"objectIds":[174788,219331]}&startDate=0&onlyGenerateForRoutesEditedByCurrentUser=false&gdbVersion=SDE.test2&sessionId={91FB4126-F4D8-410E-96A2-000E8463A8A4}&returnServiceEditsOption=originalAndCurrentFeatures&returnEditMoment=true&f=json
JSON response syntax
Query this job URL to get progress updates and results of the operation.
{
"statusURL": "<jobIdURL>"
}
JSON response example
{
"statusURL": "https://sampleserver/arcgis/rest/services/MyLRS/MapServer/exts/LRServer/jobs/j3c0a00b4314349eb8e4ff6ff7ac2db5d"
}