Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
environment_variables [2019/05/28 16:18]
francisco created
environment_variables [2020/11/18 18:24] (current)
francisco [Environment Variables]
Line 3: Line 3:
 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: 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:
  
-  * DINAMICA_EGO_5_ALTERNATIVE_PATH_FOR_RConfigure an alternative pathway to the R executable RScript. +^ Variable Name ^ Description ^ 
-  ​* ​DINAMICA_EGO_5_R_CRAN_MIRRORConfigure the server which is better for you get the R packages. +DINAMICA_EGO_5_ALTERNATIVE_PATH_FOR_R ​Configure an alternative pathway to the R executable RScript. ​| 
-  ​* ​DINAMICA_EGO_5_TEMP_DIRConfigure an alternative pathway that will store the temporary folder and files created into Dinamica'​s session. +DINAMICA_EGO_5_R_CRAN_MIRROR ​Configure the server which is better for you get the R packages. ​| 
-  ​* ​DINAMICA_EGO_5_GDAL_TOOLSConfigure an alternative pathway ​with the GDAL utilities ​requested by Dinamica, those are '​gdal_rasterize',​ '​gdal_translate'​ and '​gdalwarp'​. +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_DATAConfigure an alternative pathway ​with the Data requested by GDAL utilities.+DINAMICA_EGO_5_GDAL_TOOLS ​Configure an alternative pathway ​to the GDAL utilities ​('​gdal_rasterize',​ '​gdal_translate'​ and '​gdalwarp'​) requested by DinamicaThe utilities are used by [[transform_map|Transform Map]] and [[rasterize_shape|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. |
  
-===== Add environment variable =====+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 [[https://​help.ubuntu.com/​community/​EnvironmentVariables|here]] the fully documentation about environment variables in ubuntu, that is similar in other Linux distributions.
 \\ \\
 \\ \\