- URL:
- https://<root>/<serviceName>/MapServer/exts/LRServer/addressLayers/<layerId>
- Methods:
GET
- Required Capability:
- The ArcGIS Location Referencing license is required to use this resource.
- Version Introduced:
- 11.3
Description
This operation represents address layers in a linear referencing geodatabase. The Address Range layer contains polyline features, the Site Address layer contains point features.
Request parameters
Parameter | Details |
---|---|
(Optional) |
Specifies the response format. The default response format is Values: |
Example usage
URL for address layer ID 4.
http://sampleserver/arcgis/rest/services/MyLRS/MapServer/exts/LRServer/addressLayers/4
JSON response syntax
{
"id": <layerId>,
"name": "<layerName>",
"type": "<layerType>", // esriLRSAddressLayer
"featureClassName": "<featureClassName>", // the backing feature class name
"isDataVersioned": <true | false>,
"isBranchVersioned": <true | false>,
"versionName": "<versionName>",
"dateFormat": "<sqlDateFormat>", // one of: esriLRSDateFormatStandard, esriLRSDateFormatFileGDB, esriLRSDateFormatOracle
"lrs": {
"id": "<id>",
"name": "<name>"
},
"leftFromAddressFieldName": "<leftFromAddressFieldName>", // optional, populated for only for the Address Range layer
"leftToAddressFieldName": "<leftToAddressFieldName>", // optional, populated for only for the Address Range layer
"rightFromAddressFieldName": "<rightFromAddressFieldName>", // optional, populated for only for the Address Range layer
"rightFromAddressFieldName": "<rightFromAddressFieldName>", // optional, populated for only for the Address Range layer
"addressNumberFieldName": "<addressNumberFieldName>", // optional, populated for only for the Site Address layer
"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": "Centerline",
"type": "esriLRSAddressLayer",
"featureClassName": "OWNER.Road_Centerlines",
"isDataVersioned": true,
"isBranchVersioned": true,
"versionName": "sde.DEFAULT",
"dateFormat": "esriLRSDateFormatStandard",
"lrs": {
"id": "2418B34D-1C14-455E-A326-E5278EE5189E",
"name": "Alrs"
},
"leftFromAddressFieldName": "LF",
"leftToAddressFieldName": "LT",
"rightFromAddressFieldName": "RF",
"rightToAddressFieldName": "RT",
"fields": [
{
"name": "OBJECTID",
"type": "esriFieldTypeOID",
"alias": "OBJECTID",
"editable": false,
"nullable": false,
"defaultValue": null,
"domain": null
},
{
"name": "CenterlineId",
"type": "esriFieldTypeGUID",
"alias": "CenterlineId",
"length": 38,
"editable": true,
"nullable": true,
"defaultValue": null,
"domain": null
},
{
"name": "GlobalID",
"type": "esriFieldTypeGlobalID",
"alias": "GlobalID",
"length": 38,
"editable": false,
"nullable": false,
"defaultValue": null,
"domain": null
},
{
"name": "created_user",
"type": "esriFieldTypeString",
"alias": "created_user",
"length": 255,
"editable": false,
"nullable": true,
"defaultValue": null,
"domain": null
},
{
"name": "created_date",
"type": "esriFieldTypeDate",
"alias": "created_date",
"length": 8,
"editable": false,
"nullable": true,
"defaultValue": null,
"domain": null
},
{
"name": "last_edited_user",
"type": "esriFieldTypeString",
"alias": "last_edited_user",
"length": 255,
"editable": false,
"nullable": true,
"defaultValue": null,
"domain": null
},
{
"name": "last_edited_date",
"type": "esriFieldTypeDate",
"alias": "last_edited_date",
"length": 8,
"editable": false,
"nullable": true,
"defaultValue": null,
"domain": null
},
{
"name": "SHAPE",
"type": "esriFieldTypeGeometry",
"alias": "SHAPE",
"editable": true,
"nullable": true,
"domain": null
},
{
"name": "SHAPE.STLength()",
"type": "esriFieldTypeDouble",
"alias": "SHAPE.STLength()",
"editable": false,
"nullable": true,
"defaultValue": null,
"domain": null
},
{
"name": "LF",
"type": "esriFieldTypeInteger",
"alias": "LF",
"editable": true,
"nullable": true,
"defaultValue": null,
"domain": null
},
{
"name": "LT",
"type": "esriFieldTypeInteger",
"alias": "LT",
"editable": true,
"nullable": true,
"defaultValue": null,
"domain": null
},
{
"name": "RF",
"type": "esriFieldTypeInteger",
"alias": "RF",
"editable": true,
"nullable": true,
"defaultValue": null,
"domain": null
},
{
"name": "RT",
"type": "esriFieldTypeInteger",
"alias": "RT",
"editable": true,
"nullable": true,
"defaultValue": null,
"domain": null
}
]
}