Environment Variables

Dinamica EGO 5 has the option to configure some environment variables in order to provide some configuration customization. Below, it is provided the environment names with their respectively meaning:

Variable Name Description
DINAMICA_EGO_5_ALTERNATIVE_PATH_FOR_R Configure an alternative pathway to the R executable RScript.
DINAMICA_EGO_5_R_CRAN_MIRROR Configure the server which is better for you get the R packages.
DINAMICA_EGO_5_TEMP_DIR Configure an alternative pathway that will store the temporary folder and files created into Dinamica's session.
DINAMICA_EGO_5_GDAL_TOOLS Configure an alternative pathway to the GDAL utilities ('gdal_rasterize', 'gdal_translate' and 'gdalwarp') requested by Dinamica. The utilities are used by Transform Map and Rasterize Shape functors
DINAMICA_EGO_5_GDAL_TOOLS_DATA Configure an alternative pathway to the Data requested by GDAL utilities.
DINAMICA_EGO_5_GDAL_DATA Configure an alternative pathway to the GDAL Data requested internally by Dinamica.
DINAMICA_EGO_5_MEMORY_ALLOCATION_POLICY Configure the behavior of Memory Allocation.

There is 4 possible Memory Allocation Policy, which are:

Memory Allocation Policy Behavior value
PREFER_MEMORY: Give allocation priority to memory (RAM) usage, without any control of quantity free memory available in the system. 0
BALANCED: Try to keep a balanced level between memory usage allocation and the quantity free memory available in the system. 1
PREFER_DISK: Give allocation priority to disk (HD) usage and try to keep as many as possible free memory in the system. 2
MEMORY_ONLY: Use only memory to allocate the maps, and report an error if there is no sufficient available free memory in the system. 3

Environment variable Access

Windows 10

Follow these steps in order to access environment variables:

  • Go into Settings and click on System.
  • Then on the left side click About and select System info at the bottom.
  • In the new Control Panel window that opens, click Advanced system settings on the left.
  • Now in the new window that comes up, select Environment Variables… at the bottom.
  • Then you will see the environment variables of user and system, and then you will be able to manipulate then, according your user access.
  • After manipulation, you have to re-open Dinamica to environment changes be applied.

Linux

Linux has a different way to set environment variables. You find here the fully documentation about environment variables in ubuntu, that is similar in other Linux distributions.