Define Layer Mapping

[About GIS Integration] [GIS Concepts] [GIS Customizations] [GIS Integration]

Explanation

This activity is the first of two steps to enable geodata to be shown in GIS Map window. This activity should be performed by a system administrator or equivalent person. The second step is to add layers and users in GIS Layer Group window.

Prerequisites

A map or a feature services should have been created and made available on ArcGIS servers:

The following are described in ArcGIS online documentation and must have been completed before entering an URL in layer mapping:

Logical units (LU) should have been defined with value GisintConnections as a service name in Solution Manager/Configuration/Object Connections. This enables LU to be shown and selected from List of Value in GIS Object Configuration window.

User should be have been assigned with DEFINE_SQL system privilege in order to enable values to be entered in Condition field.

System Effects

The following three different types of geodata will be made available in GIS Map window:

  1. GIS objects using editable layers and where business object connections can be made.
  2. GIS objects using read only layers.
  3. Background map (basemap), like maps and building layouts.

More information about editable layers, read only layers and basemaps are found in GIS Concepts.

The following is also valid for the below layer mapping:

Window

GIS Layer Mapping

Related Window Descriptions

GIS Layer Mapping

Procedures

Add Editable Layers in GIS Map window:

  1. Open the Layer Mapping window.
  2. Click New and enter a service URL in Map Service URL field. The service URL entered here should enable editing e.g. feature service and must end with the text FeatureServer.
  3. Enter a Layer ID number for the layer. (Open the service URL in a web browser to see available layer IDs.)
  4. Enter a value for Layer Display Name.
  5. Select LU Name from the List of Values.
  6. Optionally, enter a SQL Condition. This condition filter values shown in Link Object dialog. The value in the condition field must follow the format: column_name, value and operator. For example, a logical unit LinastLinearAsset with database view LINAST_LINEAR_ASSET_UIV:
  1. Select Layer Type with value Editable.
  2. Optionally, select a Sort Order. This controls the order in which layers are shown in layer navigator and in which order layers are loaded in GIS Map.
  3. Click Save.

Next step is to: Define Layer in GIS Layer Group.

Note: A layer defined as Editable must also be configured in the proxy, as described in Define GIS Settings and GIS Concepts. A layer defined as editable and added in proxy, enables the following operations:

  1. Connect or disconnect a GIS object to or from a business object in IFS: Connect a GIS Object to a IFS Business Object.
  2. Create GIS objects or edit GIS object attributes using the Tools/Editing: Use GIS Map Tools.

 

Add Read Only Layers in GIS Map window:

  1. Open the Layer Mapping window.
  2. Click New and enter a service URL in Map Service URL field. The service URL entered here should direct to a read only map service and must end with the text MapServer.
  3. Enter a Layer ID number for the layer. (Open the service URL in a web browser to see available layer IDs.)
  4. Enter a value for Layer Display Name.
  5. Select Layer Type with value Read Only.
  6. Click Save.

Next step is to: Define Layer in GIS Layer Group.

 

Add Basemaps - in GIS Map window:

  1. Open the Layer Mapping window.
  2. Click New and enter a service URL in Map Service URL field. The service URL entered here should direct to a read only map service and must end with the text MapServer.
  3. Enter a value for Layer Display Name.
  4. Select Layer Type with value Basemap.
  5. Click Save.

Next step is to: Define Layer in GIS Layer Group.

 

Enter a Definition Expression - Filter GIS objects in GIS Map window by using a definition expression:

  1. Open the Layer Mapping window.
  2. Double click in the field Definition Expression to open a field editor.
  3. Enter a layer's attribute name and a valid SQL search criteria:
  1. Add layer to your user in Layer Group window.
  2. Open GIS Map and toggle on the layer in Layer Navigator.
  3. GIS objects are now shown according to the above definition expression.

The following is valid for a definition expression:

= Equal
<> Not equal. Note: This operator may also be written as !=
> Greater than
< Less than
>= Greater than or equal
<=  Less than or equal
BETWEEN Between an inclusive range
LIKE Search for a pattern
IN To specify multiple possible values for a column

Enter Label Options - Show a text on GIS objects by using label options.

  1. Open the Layer Mapping window.
  2. Search for layers where layer type is Editable. (Label options are only enabled for editable layers.)
  3. Double click in the field Label Options to open the field editor.
  4. Enter values for text, color, size, font and visible scale ranges in a list, by using the following attributes: labelText, fontColor, fontSize, fontFamily, minScale and maxScale.
  5. A complete list could look like this:

{
"labelText": "Historical Work Order",
"fontColor": "#FF0000",
"fontSize": 14,
"fontFamily": "Arial",
"minScale": "165000000",
"maxScale": "5000"
}

The above list will show the text Historical Work Order on GIS objects in red color with font size 14 and font type Arial.

The following is valid for a label option:

Minimum scale (minScale) - Label will not be drawn if you zoom out beyond the defined scale value. For example, enter a high value like 165000000 and the label will not be shown when zooming out beyond the scale 1:165000000.

Maximum scale (maxScale) - Label will not be drawn if you zoom in beyond the defined scale. For example, enter a high value like 5000 and the label will not be shown when zooming in beyond the scale 1:5000.

Black: #000000
Red: #FF0000
Lime: #00FF00
Blue: #0000FF

The above values are just examples. Available hexadecimal values for colors can easily be found on the Internet.

ROUTE ( type: esriFieldTypeString , alias: ROUTE , editable: true , nullable: true , length: 15 )
STREET ( type: esriFieldTypeString , alias: NAME , editable: true , nullable: true , length: 40 )

{
"labelText": "Route: {ROUTE} Name: {STREET}",
"fontColor": "#FF0000",
"fontSize": 14,
"fontFamily": "Arial",
"minScale": "165000000",
"maxScale": "5000"
}

Use Proxy - Set the layer to always use the proxy. It's possible to allow automatic access to secured map services, without showing ArcGIS logon dialog, by entering the ArcGIS user credentials in the proxy. This requires the setting Use Proxy to be enabled on the layer in Layer Mapping window. In all other situations the setting Use Proxy can be disabled. Information about how to configure the proxy is described in Define GIS Settings and GIS Concepts.

  1. Open the GIS Layer Mapping window.
  2. In GIS Layer Mapping window, search for a layer.
  3. Make sure that the following is valid for the selected layer:
  1. If the above is valid, toggle on the check box Use Proxy and saved the changes.
  2. Open GIS Map window and notice how the user is automatically logged in to the map service without having to manually enter credentials. A token is automatically generated by the REST service and valid for 60 minutes.