Address Layers

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

ParameterDetails

f

(Optional)

Specifies the response format. The default response format is html.

Values: html | json | pjson

Example usage

URL for address layer ID 4.

Use dark colors for code blocksCopy
1
http://sampleserver/arcgis/rest/services/MyLRS/MapServer/exts/LRServer/addressLayers/4

JSON response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  "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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
  "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
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.