Skip To Content ArcGIS for Developers Sign In Dashboard

Intersection Layer

Description

License:

The ArcGIS Pipeline Referencing for Server extension is required to use this resource.

Represents an intersection layer in a linear referencing geodatabase. This layer contains point features such as intersection points between a network and one or more polyline or polygon feature classes.

Request parameters

ParameterDetails
f

Description: Optional parameter to specify the response format. The default response format is html.

Values: html | json

Example usage

Example

URL for intersection layer ID 0.

http://sampleserver/arcgis/rest/services/MyLRS/MapServer/exts/LRServer/intersectionLayers/0

JSON Response syntax

{
  "id": <layerId>,
  "name": "<layerName>",
  "type": "<layerType>",  // esriLRSIntersectionLayer
  "isDataVersioned": <true | false>,
  "isBranchVersioned": <true | false>,
  "versionName": "<versionName>",
  "dateFormat": "<sqlDateFormat>",  // one of: esriLRSDateFormatStandard, esriLRSDateFormatFileGDB, esriLRSDateFormatOracle
  "datasetName": "<datasetName>",  // the intersection class name registered in the LRS dataset
  "featureClassName": "<featureClassName>",  // the backing feature class name
  "routeIdFieldName": "<fieldName>",
  "intersectionIdFieldName": "<fieldName>",
  "intersectionNameFieldName": "<fieldName>",
  "parentNetworkDescriptionFieldName": "<fieldName>",
  "fromDateFieldName": "<fieldName>",
  "toDateFieldName": "<fieldName>",
  "measureFieldName": "<fieldName>",
  "lrs": {
    "id": "<id>",
    "name": "<name>"
  },
  "parentNetwork": {
    "id": <networkLayerId>,
    "name": "<networkLayerName>",
    "type": "<networkLayerType>"
  },
  "intersectingLayers": [
    { "featureClassName": <featureClassName1>, "nameSeparator" : "<nameSeparator1>" },
    { "featureClassName" : <featureClassName2>, "nameSeparator" : "<nameSeparator2>" },
   ...
  ],
  "fields": [
    {
      "name": "<fieldName1>",
      "type": "<fieldType1>",
      "alias": "<fieldAlias1>",
      "length": <length1>,
      "editable": <true | false>,
      "nullable": <true | false>,
      "defaultValue": <defaultValue1>,
      "domain": <domain1>
    },
    {
      "name": "<fieldName2>",
      "type": "<fieldType2>",
      "alias": "<fieldAlias2>",
      "length": <length2>,
      "editable": <true | false>,
      "nullable": <true | false>,
      "defaultValue": <defaultValue2>,
       "domain": <domain2>
    },
   ...
 ]
}

JSON Response example

{
  "id": 0,
  "name": "Intersections",
  "type": "esriLRSIntersectionLayer",
  "isDataVersioned": true,
  "isBranchVersioned": true,
  "versionName": "sde.DEFAULT",
  "dateFormat": "esriLRSDateFormatStandard",
  "datasetName": "Intersections",
  "featureClassName": "LRSI_Intersections",
  "routeIdFieldName": "routeid",
  "intersectionIdFieldName": "intersectionid",
  "intersectionNameFieldName": "intersectionname",
  "parentNetworkDescriptionFieldName": "routename",
  "fromDateFieldName": "fromdate",
  "toDateFieldName": "todate",
  "measureFieldName": "measure",
  "lrs": {
    "id": "DFB23B7D-69D1-460F-B7E0-0FB190D23B96",
    "name": "DOT_LRS"
  },
  "parentNetwork": {
    "id": 10,
    "name": "State Highways",
    "type": "esriLRSNetworkLayer"
  },
  "intersectingLayers": [
    { "featureClassName": "sde.owner.LRSN_MilePoint", "nameSeparator": "AND" },
    { "featureClassName": "sde.owner.CountyBoundary", "nameSeparator": "WITH" }
  ],
  "fields": [
    {
      "name": "objectid",
      "type": "esriFieldTypeOID",
      "alias": "Object ID",
      "editable": false,
      "nullable": false,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "intersectionid",
      "type": "esriFieldTypeGUID",
      "alias": "Intersection ID",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "intersectionname",
      "type": "esriFieldTypeString",
      "alias": "Intersection Name",
      "length": 255,
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "routeid",
      "type": "esriFieldTypeString",
      "alias": "Route ID",
      "length": 250,
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "featureid",
      "type": "esriFieldTypeString",
      "alias": "Feature ID",
      "length": 100,
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "featureclassname",
      "type": "esriFieldTypeString",
      "alias": "Feature Class Name",
      "length": 150,
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "fromdate",
      "type": "esriFieldTypeDate",
      "alias": "From Date",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "todate",
      "type": "esriFieldTypeDate",
      "alias": "To Date",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "shape",
      "type": "esriFieldTypeGeometry",
      "alias": "Shape",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    }
  ]
}