Skip To Content

Non-LRS Layer

Description

Licencia:

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

Represents a non-LRS-related feature layer. This layer is not directly registered with a LRS, but it can be used as a source of referent offset locations.

Request parameters

ParameterDetails
f

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

Values: html | json

Example usage

Example

URL for non-LRS feature layer ID 7.

http://sampleserver/arcgis/rest/services/MyLRS/MapServer/exts/LRServer/nonLRSLayers/7

JSON Response syntax


{
  "id": <layerId>,
  "name": "<layerName>",
  "type": "<layerType>",  // esriNonLRSLayer
  "featureClassName": "<featureClassName>",  // the backing feature class name
  "isDataVersioned": <true | false>,
  "isBranchVersioned": <true | false>,
  "versionName": "<versionName>",
  "dateFormat": "<sqlDateFormat>",  //one of: esriLRSDateFormatStandard, esriLRSDateFormatFileGDB, esriLRSDateFormatOracle
   "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": 7,
  "name": "Bridges",
  "type": "esriNonLRSLayer",
  "featureClassName": "sde.owner.Bridges",
  "isDataVersioned": true,
  "isBranchVersioned": true,
  "versionName": "sde.DEFAULT",
  "dateFormat": "esriLRSDateFormatStandard",
  "fields": [
    {
      "name": "objectid",
      "type": "esriFieldTypeOID",
      "alias": "Object ID",
      "editable": false,
      "nullable": false,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "structure",
      "type": "esriFieldTypeString",
      "alias": "Structure",
      "length": 50,
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "begin_post",
      "type": "esriFieldTypeDouble",
      "alias": "Begin Post",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "end_post",
      "type": "esriFieldTypeDouble",
      "alias": "End Post",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    }
  ]
}