MapDrawerProviders configuration
The MapDrawerProviders configuration defines GIS providers for use in Operations and Regulations. Each provider connects your system to a GIS data source such as ArcGIS Online. The root node has one or more provider nodes as children. Each provider node can have these attributes:
| Attribute | Description |
|---|---|
| about | Description of or information about the provider. |
| config | Specify the connection settings for your GIS. The value will be an XML <CONFIG> element.
When you upgrade a provider, the settings from the config attribute are used to create the and nodes for the provider. The config attribute on the provider node is then cleared. See Upgrading a provider. |
| default | Indicates whether this is your default provider. Only one provider can be set as the default. When you change the value to True for one provider, the value for all other providers automatically changes to False.
The default provider is marked with an asterisk in the tree. |
| name | Name of the provider. |
| sourceproj4 | Proj4 definition for the spatial reference specified in the sourcesrs attribute.
For example, if the SRS is 7855, you would specify this definition: +proj=utm +zone=55 +south +ellps=GRS80 +units=m +no_defs +type=crs |
| sourcesrs | Spatial reference system for the provider. Use this attribute and the sourceproj4 attribute instead of the srs attribute if your provider uses an unsupported SRS code. |
| srs | Spatial reference system for the provider.
Note: Not all spatial reference systems are supported out of the box. You can use the sourcesrs and sourceproj4 attributes to specify a custom or unsupported SRS.
|
| type | Type of service for the provider. Can be MapService_ArcGISServer, MapService_OGC, or MapService_none. |
Each provider node can have three children: , , and .
AUTHENTICATION
The node has one or more child authentication nodes as children. Each child authentication node can have these attributes:
| Attribute | Description |
|---|---|
| Access Id | Access ID to restrict access to this authentication strategy. |
| Access Token | Long-lived token used to access the server. |
| Application Client Id | Application identifier for ESRI Portal or ArcGIS Online. |
| Application Client Secret | Application secret key for ESRI Portal or ArcGIS Online. This can be used instead of a named user. |
| Authentication Type | Type of authentication use for the server. The value can be OAUTH or TOKEN. The default is TOKEN. |
| OwningSystemUri | URI of the system that owns the server. This is an optional attribute that you can use with federated services. |
| RedirectUri | Redirect URI to use for authentication. |
| Requested Token Timeout | Minutes before access tokens time out. |
| Server URI | URI of the server. |
| Token Caching Enabled | Indicates whether access tokens are cached. |
| Token Parameter Name | Parameter name for the access token. |
| Token Service URI | URI of the service that generates access tokens. |
| User Password | Password to access the server. |
| Username | User name to access the server. |
PORTALS
Portals are defined in Operations and Regulations, not Esri. They define the Esri content that is available in Operations and Regulations.
The node has one or more portal nodes as children. Each portal node has these attributes:
| Attribute | Description |
|---|---|
| Disabled | Set to True to disable this portal. |
| Id | Unique identifier for the portal. |
| Is Default | Indicates whether this is the default portal.
The default portal is marked with an asterisk in the tree. |
| Portal URL | URL of the portal. |
| Type | Type of portal. Can be AGOL (ArcGIS Online) or Enterprise (ArcGIS Enterprise Portal). |
Each portal node has one child node, with one or more content item nodes as children. Each content item node defines a web map for the portal.
Each content item node has these attributes:
| Attribute | Description |
|---|---|
| Disabled | Set to True to disable this webmap. |
| Id | Unique identifier for the web map. Usually this is a GUID. |
| Is Default | Indicates whether this is the default web map.
The default web map is marked with an asterisk in the tree. |
| Item Type | Type of item, such as WebMap or WebScene. |
| Title | Name of the content item. |
SERVERS
The node has one or more service nodes as children. Each service node has these attributes:
| Attribute | Description |
|---|---|
| Disabled | Set the value to True to disable this service. |
| Portal ID | ID of the portal configuration for the server. |
| Service Alias | Agency-defined identifier for the service. |
| Service URL | URL of the service, such as the URL of a map service or a feature service. |
| Type | Type of server. Specify Enterprise (ArcGIS Enterprise) or AGOL (ArcGIS Online). |
Each service node has two children: and .
The node has one or more layer nodes as children. Each layer node can have these attributes:
| Attribute | Description |
|---|---|
| about | Description of or comments about this dataset. |
| Disabled | Set the value to True to disable this dataset. |
| Geometry Type | Type of features contained in the layer. Can be none, point, area, linear, image, multipoint, or multiline. |
| Hansen Moniker | Moniker of the Operations and Regulations component that the layer is linked to. If the layer isn’t linked to any records in Operations and Regulations, such as a layer that only shows images, do not enter a moniker. The moniker is case-sensitive. |
| Layer Alias | Name for the dataset as used in Operations and Regulations. This is the label that is displayed on the Layers tab. |
| Layer Id | ID of the layer in the GIS data source that supplies the dataset. |
| Layer Name | Name of the layer in the GIS data source that supplies the dataset. |
| Where Clause | Used to filter the records returned for the dataset. |
Each layer node can have two children: and . The node has one or more field nodes as children. Each field node can have these attributes:
| Attribute | Description |
|---|---|
| Disabled | Set the value to True to disable this field. |
| Field Alias | Alias of the field in the GIS. |
| Field DataType | Data type of the field. The accepted values are date, double, geometry, integer, number, oid, smallinteger, and string. |
| Field Name | Name of the field in the GIS. |
| O&R Field Identifier | Unique identifier used to link the field to a dataset in the MapDrawerDatasets configuration if a fully qualified path isn't provided. |
| Primary Key | Set to True if the field is the primary key for the feature type. |
| Text Length | Maximum number of characters in the field. |
The node has one or more option nodes as children. Each option specifies an ID/value pair. Each option node has two attributes:
| Attribute | Description |
|---|---|
| About | Enter a general description of the option. |
| id | Identifier for the option. |
| value | Value of the option. |