Configuring the Measurements in Geospatial Portal

Administrators of Geospatial Portal can configure the default type of measurement units (metric/imperial) and define which units are available when a measure operation is performed.

In order to configure the measurements:

  1. Edit the Web.config file for the instance you configure.
  2. Go to the <ui> section.
  3. In the systemOfMeasurement parameter, set "metric" value if you want to use the metric system measurement or set "imperial" if you want to use the imperial system of measurements (the default value is "metric").
  4. In the enabledUnits parameter you can indicate what units should be available when doing measurements. Measurements will use the available defined unit in which values can be expressed as greater than 1.

    For example, if a user measures an area and hectares are disabled so the available area will be displayed in squared meters until the area reaches 1 km2

    Available units are:

    For linear measurements:

    For areal measurements:

Base units that cannot be disabled are m, m2, and yd, yd2 for metric and imperial unit system respectively. If units ft, ft2 are defined they are used instead of yd, yd2.

Saving Selections in User Maps

Selection of features can be saved in user maps and workspaces. Loading the user map with stored selection (or workspace with such a map) sets selection on those features.

The saveSelection parameter in Portal’s Web.config file determines whether selections can be saved or not.

To enable saving of selection in user maps:

  1. Edit Web.config file for Geospatial Portal.
  2. Go to the <webclient> section.
  3. In <storage> subsection set the "true" value for the parameter saveSelection

    Sample:

    <storage>

    <userMaps saveSelection="true" />

    </storage>

  4. Save changes in Web.config file and reload the Geospatial Portal.