Geospatial Portal Components Location in the System

Geospatial Portal Administrator Guide

HGD_Variant
16.5
HGD_Product
Geospatial Portal
HGD_Portfolio_Suite
Platform

Template

The Geospatial Portal application is by default installed in the folder C:\Program Files\Hexagon\Geospatial Portal\, which must be located on the server side. The template for the installed Geospatial Portal version will be stored in C:\Program Files\Common Files\Hexagon\Services\Templates. This is a default schema of this application that is copied to a virtual folder issued during Geospatial Portal instance creation. It is possible to choose another location, as described in the Geospatial Portal Installation Guide.

Portal Directory

The working portal application by default is stored in the C:\Program Files\Common Files\Hexagon\Services\Instances\Instance_name folder, which is defined during the Geospatial Portal instance creation. Files from the Geospatial Portal template are copied into this location. The Geospatial Portal virtual directory is also created. It is recommended that you give it the same name as the name of the Geospatial Portal directory. The virtual directory name is used later to access the portal from the Internet: http://hostname/NameOfVirtualDirectory.

light_bulb_icon This solution allows you to run many parallel operating portals by creating the next portal instances using the Administration Console, which is delivered with Geospatial Portal.

Map Folder

The public maps and the user maps used when working with the portal are stored in the default folder C:\Program Files\Common Files\Hexagon\Services\Instances\<Instance_Name>\App_Data\Maps. The folder for maps can be changed according your needs, and this folder name has to be placed in the Web.Config file as the value of the mapStorageFolder attribute of the <webclient> element:

<webclient gpw="d31cc720-b29a-453f-887f-28fac03ede72" overview="3535d845-6509-4482-97dd-ee2c5068e65e" mapServicesListPath="App_Data/services.xml" mapStorageFolder="C:\Program Files\Common Files\Hexagon\Services\Instances\Instance_Name\App_Data\Maps" authenticationManagerTypeName="Intergraph.WebSolutions.Core.WebClient.Platform.Security.MembershipAuthenticationManager" theme="Blue">

Portal Cache

The portal cache is located in the folder C:\Program Files\Common Files\Hexagon\Services\Instances\<Instance_Name>l\App_Data\Cache on the server.

Portal logs are stored in the individual folders for each portal instance. A unique folder has to be created for each instance, for example, C:\Cache\Log61023, and the log4net configuration in Web.Config must be updated to output the log file in the new folder, as shown in the <file> element below:

<log4net>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
			<file value="C:\Cache\Log61023\log.txt"/>
			<appendToFile value="true"/>
			<rollingStyle value="Date"/>
			<datePattern value="yyyyMMdd"/>
			<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
			</layout>
		</appender>
		<root>
			<level value="DEBUG"/>
			<appender-ref ref="RollingLogFileAppender"/>
		</root>
	</log4net>

Images Folder Definition - Library Address

You can define default values for the Library address field, which is used in the Style dialog box when defining the graphic style or bitmap pattern fill in the portal. To define a default value for the Library address field, two attributes in the <webclient> section must be set: patternDirectory and patternHref.

Markers Directory

Geospatial Portal is delivered with a default set of markers images, but you can easily provide new markers just by placing them in the directory that is provided in the annotation configuration section of the Web.config file. Then, each new directory will appear as a new tab in the Insert marker window. In the same manner, you can modify, rename, or remove the default markers.

The parameter <annotations path=" "> determines the path used in the annotations and markers control as a source for images which can be:

  • an http address (for example, http://servername/GeospatialPortalImages/markers/)
  • server url starting with / (for example, /GeospatialPortalImages/markers/)
  • application relative path (for example, img/markers)

Supporting Services

Geospatial Portal is delivered with Supporting Services such as Capabilities Service, Print Service, and QualityMonitorService. Files for these services are grouped in folders located in C:\Program Files\Common Files\Hexagon\Services\SupportingServices.

Web.Config <(<instance folder>\Web.Config )>

The Web.Config file where the Geospatial Portal configuration is stored is located in the Geospatial Portal instance folder for example: C:\Program Files\Common Files\Hexagon\Services\Instances\<Instance_Name>.

light_bulb_icon The Cache, Configuration, Maps, Log folders for each created Geospatial Portal instance are by default located in ..\<instance_name>\App_Data folder. The old default folder C:\Intergraph\Geospatial Portal is no longer used but can be defined if required. Obviously the default path for all or any of these folders can be defined individually.

In order to change the folder localization:

  1. Edit Web.config file.
  2. Got to the <webclient> section.
  3. Provide the new folder path for the relevant attributes:

    If any attribute does not exist just add it with the required value to the <webclient> section.

    The location of Log folder can be changed in the <log4net> section:

    <file value="App_Data\Log\log.txt" />

Folder

Default Localization

Parameter in Web.config

Cache

\App_Data

cacheFolder="App_Data/Cache"

Configuration

\App_Data

cfgFolder="App_Data/Configuration"

Maps

\App_Data

mapStorageFolder="App_Data/Maps"