Publishing Data Stored in PostGIS

Feedback


SuperMap iServer supports directly publishing PostGIS service as data service or map service, such as: REST Data Service, REST Map Service, WFS Service, WMS Service, WCS Service.

Publishing data stored in PostGIS as data service

You can quickly publish data stored in PostGIS as data service by the following steps:

  1. In service management Home, click Quickly publish services, choose PostGIS Service as data source, click Next.
  2. Input the PostGIS service address, such as "192.168.112.251", port, database name, user name and password. Click Next.
  1. Select the service type to be published as data services, such as REST Data Servicee, click Next.
  2. Check whether to open the editable function for the data service being published. Default is uneditable.
  3. The service configuration information will be listed on the page, including data source, service type, click Finish to finish the publishing flow.
  4. After finishing the publishing flow, it will show the name and link of the current service,  which can be accessed directly.

Publishing data stored in PostGIS as map service

You can quickly publish data stored in PostGIS as map service by the following steps:

  1. In service management Home, click Quickly publish services, choose PostGIS Service as data source, click Next.
  2. Input the PostGIS service address, such as "192.168.112.251", port, database name, user name and password. Click Next.
  1. Select the service type to be published as map services, such as REST Map Service, click Next.
  2. Specify a Mapbox style file for maps, such as: E:\SuperMapiServer\style\style.json. If not set, iServer will use the defaultstyle.json file in [SuperMapiServer installation directory] \webapps\iserver\WEB-INF\config\mapboxstyles\ directory. Click Next.
  3. The service configuration information will be listed on the page, including data source, service type, click Finish to finish the publishing flow.
  4. After finishing the publishing flow, it will show the name and link of the current service,  which can be accessed directly.