Image Service Provider Configuration Parameter |
The following is a detailed description of the image service provider configuration parameters:
Table 1 Configuration parameters of image service provider
| Parameter Name | Description | ||
|
Common Info |
Provider Type | 【Required】 This is the image service provider. |
|
| Provider Name | 【Required parameter】 Uniquely identifies the service providers. |
||
|
Basic Setting |
Tile Storage Config | storage type | The cache type supports UGCV5 original, compact, and MongoDB caches. |
| Storage directory/MongoDB database connection info | When the storage type is original and compact cache, the storage directory needs to be specified; when the storage type is MongoDB cache, the MongoDB database connection info needs to be set, including: server, database name, user name and password. | ||
| Data source connection info configuration | The engine type of the data source | A data source for storing a collection of images. The images in the image service will be organized into image collections, which are stored in a SuperMap data source that supports UDBX file type data sources and PostGIS, PostgreSQL database type data sources. | |
| udbx path/PostGIS、postgresql databaseconnection info | When the engine type of the data source is udbx type, the full path of the UDBX data source file needs to be specified; When the engine type of the data source is PostGIS or PostgreSQL database data source, you need to set the database connection info, including server, name, user name, and password. | ||
|
Image management configuration |
Set ID |
Used to uniquely identify the image management in the service. | |
| Title | The title of the image management, which briefly describes the characteristics of the collection. | ||
| Image management keyword | A list of keywords used to identify the image management feature. Multiple keywords are separated by commas. | ||
| Data License Agreement | The data use license agreement of the image management is generally set to point to the URL of the license agreement page, not the license agreement content. | ||
| Coordinate system reference | The coordinate system of image management. Images in different coordinate systems under this set will be dynamically projected into the set coordinate system. The coordinate system is specified by EPSG code, for example, 4326 represents the WGS 1984 geographic coordinate system. | ||
| Image data configuration | Method of adding image data | Specify the source of image data in image management. The following methods are supported: 1. Image file directory. 2. List file, a.txt file, the content of which is a list of image file paths, and one line records the full path corresponding to an image file. 3. Single image file. 4. Mosaic data set in udbx type or PostGIS, PostgreSQL database type data source. |
|
| Image source information | Depending on the "Add Image Data Method", the parameters that need to be further set are also different, which are described as follows: 1.Image file directory: Specify the image data directory. Support the addition of multiple directory paths separated by commas, for example, D:\ImageA,D:\ImageB; you also need to specify the image file type and whether to search the files in the subfolder. 2.Manifest file: Specifies the path to the manifest file (.txt). 3.Single image file: Specify the path of the image file. 4.Mosaic dataset: Specify the connection info of the mosaic dataset, including the data source location and the dataset name. |
||
| Editable | Whether operations such as adding and deleting images in the collection are allowed. | ||
| Eenable download data | Whether the image data in image management can be downloaded. If checked, this activates the Data Asset Access Address Mapping table, which further sets the access URLs for the different image directories in the collection. To support data download, you need to store the image data in the directory for publishing. In advance to support image download. | ||
| Enable dynamic cache | When dynamic caching is enabled, dynamically generated tiles are cached in the specified directory while browsing the images in the collection. | ||
| The tile scheme | Minimum tile level | Configure the minimum tile level of image management. The level number is counted from 0. The scale of layer 0 is 1: 591658710.909132. | |
| Maximum tile level | Configure the maximum tile level of image management. The number of levels starts from 0, and the scale of layer 0 is 1: 591658710.909132. | ||
| The tile format | The tile format supports PNG, JPG, and WEBP. | ||
| Size of the tile | The tile size, in pixels. Currently, only tiles 256 * 256 pixels in size are supported. | ||
| DPI | Resolution of tile. Currently, only 96 is supported. | ||
| Enable silent slicing | Minimum tile level | The minimum level at which silent slices generate tiles. | |
| Maximum tile level | The maximum level at which silent slices generate tiles. | ||
| Number of graph cutting tasks | When the number of cutting tasks is set to a value other than 0, the silent slice starts to produce tiles according to the tile scheme and the silent slice level range. | ||
| Timed start time (supported in later versions) | Use to specify a time of day to start a silent slice, 24-hour format, time format hh:mm. | ||
| Termination time (supported in later versions) | Used to specify the time of day to end the silent slice, 24-hour format, time format hh:mm. | ||
| Image display style | Display mode | Defines whether the image is displayed in a combination of multiple bands or in a single band. Band combination display: 3 specified bands are used for combination display; single band stretching display: one specified band is used for display. | |
| Band combination mode | Specifies the band or combination of bands in which the image is displayed. If "Single Band Stretch Display" is selected, the parameter value is the band index number of a certain band, and the band index number is counted from 0, for example, 0 indicates band 1; If "combined display of wave bands" is selected, this attribute is the index number of combined wave bands, and the index numbers of multiple wave bands are separated by commas ",". For example, the attribute values of 3, 2, and 1 indicate that the combined display of R, G, and B color channels corresponding to band 4, band 3, and band 2 are used respectively. | ||
| Stretch mode | Sets the stretch method used by the image display. | ||
| Coefficient of standard deviation | The standard deviation coefficient is used for the standard deviation stretch method. | ||
| Gaussian coefficient | The Gaussian coefficient is used in the Gaussian stretch mode. | ||
| Gaussians use intermediate values | Whether to use an intermediate value when Gaussian stretching. | ||
| Interpolation mode | Interpolation algorithm used in image display. | ||
| Brightness | The brightness of the image display. Values range from -100 to 100, with increasing brightness being positive and decreasing brightness being negative. | ||
| Contrast | The contrast of the image display. Values range from -100 to 100, with increasing contrast positive and decreasing contrast negative. | ||
| No value | No value for image. When the image is multi-band, the R, G, and B color channels are separated by commas and have no values for the corresponding bands. | ||
| Transparent with no value | No value transparent display. | ||
| Background value | The background value of the image. When the image is a multi-band image, the background values of the bands corresponding to the R, G, and B color channels are separated by commas. | ||
| The background value is transparent | The background value is transparent. | ||