Skip To Content

Calibration Point Layer

Description

License:

The ArcGIS Location Referencing license is required to use this resource.

This operation represents a calibration point layer in a linear referencing geodatabase. This layer contains point features with associated measure values, which are used to calibrate the measures along routes.

Request parameter

ParameterDetails
f

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

Values: html | json

Example usage

URL for calibration point layer ID 4.

http://sampleserver/arcgis/rest/services/MyLRS/MapServer/exts/LRServer/calibrationPointLayers/4

JSON response syntax


{
  "id": <layerId>,
  "name": "<layerName>",
  "type": "<layerType>",  // esriLRSCalibrationPointLayer
  "isDataVersioned": <true | false>,
  "isBranchVersioned": <true | false>,
  "versionName": "<versionName>",
  "dateFormat": "<sqlDateFormat>",  // one of: esriLRSDateFormatStandard, esriLRSDateFormatFileGDB, esriLRSDateFormatOracle
  "routeIdFieldName": "<fieldName>",
  "networkFieldName": "<fieldName>",
  "fromDateFieldName": "<fieldName>",
  "toDateFieldName": "<fieldName>",
  "measureFieldName": "<fieldName>",
  "lrs": {
    "id": "<id>",
    "name": "<name>"
  },
  "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": 4,
  "name": "Calibration Points",
  "type": "esriLRSCalibrationPointLayer",
  "isDataVersioned": true,
  "isBranchVersioned": true,
  "versionName": "sde.DEFAULT",
  "dateFormat": "esriLRSDateFormatStandard",
  "routeIdFieldName": "route_id",
  "networkFieldName": "network_id",
  "fromDateFieldName": "from_date",
  "toDateFieldName": "to_date",
  "measureFieldName": "measure",
  "lrs": {
    "id": "DFB23B7D-69D1-460F-B7E0-0FB190D23B96",
    "name": "DOT_LRS"
  },
  "fields": [
    {
      "name": "objectid",
      "type": "esriFieldTypeOID",
      "alias": "Object ID",
      "editable": false,
      "nullable": false,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "route_id",
      "type": "esriFieldTypeString",
      "alias": "Route ID",
      "length": 50,
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "network_id",
      "type": "esriFieldTypeInteger",
      "alias": "Network",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "from_date",
      "type": "esriFieldTypeDate",
      "alias": "From Date",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "to_date",
      "type": "esriFieldTypeDate",
      "alias": "To Date",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "measure",
      "type": "esriFieldTypeDouble",
      "alias": "Measure",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "shape",
      "type": "esriFieldTypeGeometry",
      "alias": "Shape",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    }
  ]
}