Get-map microservice
Environment variables for get-map microservice.
libot
| Name | Description | Required | Type |
|---|---|---|---|
LIBOT_DISCOVERY_URL | The url of the libot discovery service | true | string |
LIBOT_EXPORT_URL | The url of the libot export service | true | string |
LIBOT_CALLBACK_URL | The url provided to libot to call back to the service | true | string |
TOKEN_LIBOT | The token to authenticate with libot | true | string |
products filtering params
| Name | Description | Required | Type |
|---|---|---|---|
MC_CSW_REF_DATE | The reference date for the filter products | false | string Default: 2023-10-15T00:00:01Z |
TARGET_RESOLUTION | The target resolution for filtering products | false | number Default: 17 |
MC_MIN_RESOLUTION_DEG | The minimum resolution for exporting maps | true | number Default: 0.0000429153 |
MC_MAX_RESOLUTION_DEG | The maximum resolution for exporting maps | true | number Default: 0.0000013411 |
WFS supporting
| Name | Description | Required | Type |
|---|---|---|---|
PRODUCTS_CREATION_METHOD | set the method to create products Options: single, polygonParts | false | enum Default: single |
POLYGON_PARTS_WFS | The url of the polygon parts wfs service. Required if using the 'polygonParts' method in PRODUCTS_CREATION_METHOD. | Required if: PRODUCTS_CREATION_METHOD = "polygonParts" | string |
MANEUVER_AREA | The maneuver area for the polygon parts method, in the format of 'lat,lon,lat,lon,...'. Required if using the 'polygonParts' method in PRODUCTS_CREATION_METHOD. Example: 32.1,34.8,32.2,34.9,32.3,35.0 | Required if: PRODUCTS_CREATION_METHOD = "polygonParts" | string |
SEQUENTIAL_PRODUCT_ID | The sequential product id for the polygon parts method, in format of 'productId-productType'. Required if using the 'polygonParts' method in PRODUCTS_CREATION_METHOD. Example: 12345-ortho | Required if: PRODUCTS_CREATION_METHOD = "polygonParts" | string |
service configs
| Name | Description | Required | Type |
|---|---|---|---|
UPDATE_GOB_TIME | The cron time to update the GOB, default is every 6 hours | false | string Default: 0 0 */6 * * * |
PRODUCTS_STALE_AFTER | The time in minutes to consider a product stale, default is 3 minute | false | number Default: 3 |
USE_PRODUCTS_CACHE | A flag if using cache for products, default is true | false | boolean Default: true |
PERIODIC_GET_MAP_STATUS | Seconds to set the periodic time to request status for map — default is 3 seconds ⚠️ This value should exceed the sum of the values in `MAP_RETRY_EXPONENTIAL_TIMES` to prevent premature timeout errors when checking job status before the export completes. | false | number Default: 3 |
MAP_RETRY_EXPONENTIAL_TIMES | The exponential times for retrying the request in array, default is [0.3, 5, 15] | false | string Default: [0.3, 5, 15] |
MAP_RETRY_WAIT_TIME | The time to wait between retries, default is 0.3 | false | number Default: 0.3 |
MAP_RETRY_COUNT | The number of retries, default is 3 | false | number Default: 3 |
UPDATE_JOB_MAP_TAKE | The number of maps to take in each update job, default is 25 | false | number Default: 25 |
libot emulator
| Name | Description | Required | Type |
|---|---|---|---|
LIBOT_EMULATOR | set if use an emulator to emulate libot | false | boolean Default: false |
Miscellaneous
| Name | Description | Required | Type |
|---|---|---|---|
PROXY_DOWNLOAD_BASE_URL | When using proxy server for vpn connection, this prefix will change the original prefix | false | string |