Introduction of iServer Image Service(Chapter 1)

Introduction of iServer Image Service(Chapter 1)

Preface

The SuperMap iServer 11i series provides an imaging service extension module that can quickly publish large-scale images or raster data into imaging services; Image services provide a way to manage and access image or raster data through web services.

Application Scenario

The main application scenarios of imaging services include:

  1. In SuperMap iServer, you can directly publish image or raster data in multiple storage modes (local file system, Object storage system, FTP server, HTTP server, shared directory), storage formats (. tif,. img,. ecw), and existing mosaic data integration results to image services, and provide data browsing capabilities. It also supports modifying the image display style and takes effect in real time, This process does not require desktop software for image data embedding and mapping, greatly improving publishing efficiency.
  2. Manage image or raster data through web services.
  3. After image or raster data is published as an image service, it can be queried and retrieved through the service; You can also add and remove image or raster data from the service.
  4. Third party clients need to interface with services that publish image or raster data.
  5. The image service provides a WMTS service interface, facilitating the docking of products outside of third-party clients and browsing the data managed by the imaging service.

Usage Mode

SuperMap iServer can quickly publish image or raster data as an image service, and also provides a series of presentation pages to support data preview, data statistics, image query and retrieval, and obtaining specified tiles. It also opens a REST API to support web side development of image service management capabilities.


Using iServer's Imaging Service

Next, we will mainly introduce how to publish image services, access and manage image services in SuperMap iServer.


Publishing Image Services

SuperMap iServer can quickly publish image (raster) data as an image service, and the source of images in the service can be provided in the following ways:

  • Single image file;
  • Image file directory (folder containing multiple image files);
  • UDBX file based data sources (data sources for storing image sets) or embedded datasets in PostGIS and PostgreSQL database based data sources;
  • The Manifest file is a .txt file. The content of this file is a list of image file paths. One line records the full path of an image file.

1.Publishing Image Service

There are two ways to publish image services in the new UI interface of iServer 11i series version:

  • Click on "Publish Service" on the "Home" of service management to enter the publishing wizard; Then, select 'Image Service';

  • Click on "Quick Publish" on the "homepage" of service management to enter the publishing wizard; Then, select 'Imaging Services';

2. Configure Image Service

Configure service names, service description information, and data sources for storing image collections.

  • The optional setting for 'Image Collection Datasource' is that if not set, the image collection will be stored in the default UDBX file type data source created. The image collection supports storage in UDBX file type data sources and PostGIS, PostgreSQL database type data sources.

  • Introduce the image set: The image set is used to configure image data for the image service. The images in the image service are organized in the image set, and a single image service can contain multiple image sets. Only images with the same pixel format and number of bands can be added to the same image set; The image set has its own coordinate system, and images in different coordinate systems under the set will be dynamically projected into a set coordinate system. An image service can have a set of images in different coordinate systems; The image collection also has its own rendering style, and the images under the collection will be displayed using the collection's rendering style. An image service can have a collection of images with different rendering styles. By understanding the image collection, one can use it to organize image data in services based on actual application needs.

Key Points:

Regarding the 'Image Collection Datasource', this data source must have a unique correspondence with the image service, meaning that it cannot be configured for other image services at the same time.

If the default setting is used for the 'Image Collection Datasource', the data source will be stored in the current program installation directory, which is not convenient for the migration of image sets during program upgrades. Therefore, it is recommended to configure the data source for storing image sets reasonably and use a database type data source.

3.Select service type

By selecting a service type, you can simultaneously publish REST imaging services, WMTS services, and WMS services.

4.Service Configuration

Configure whether the current image service allows editing and whether to allow downloading of image data. Among them, only when "Editable" is enabled can the images in the service be edited, such as adding and deleting image collections or image files in the collection. Due to the need to add image collections to the service in the future, "Editable" needs to be enabled here; When 'Downloadable' is enabled, the data download configured for the image collection will take effect.

5.Publish Service

After completing the settings according to the Publish Service Wizard, click 'Publish' to create an image service. At this point, there is no image data in the image service. You need to go to the image service management page and continue the "Add Image Collection" operation to add image data to the service.

Add images to the imaging service:

After the image service is created, image data needs to be added to the service by adding an image collection. In addition, image data can also be added to existing image services by adding image collections.

At present, in the service management page of iServer, adding and deleting image data to the image service can only be achieved by adding and deleting image collections. To add and remove a single image from a collection of imaging services, it can only be achieved through the REST API interface.

  1. Enter the service management page of the image service.
  2. Click on "New Image Collection" to enter the image collection configuration page
  3. Configure the image collection.

After completing the above process and saving and adding, a complete image service is published. Next, you can access and access the image service.


Note:?We are looking for distributors, resellers, and partners all over the world. For any inquiry, please contact us at:?[email protected] .

要查看或添加评论,请登录

社区洞察

其他会员也浏览了