Publish geometric data

更新时间:
复制 MD 格式

Publish geometric data stored in a GanosBase database as a web map service using GeoServer.

This topic uses GeoServer 2.23.2. The UI may vary in other versions.

Add a data source

  1. In the GeoServer left-side navigation pane, click Stores.

    image.png

  2. Click Add new Store.

    image.png

  3. Select PostGIS as the store type.

    image.png

  4. Configure the connection parameters for your GanosBase database.

Access data via RESTful API

After the layer is published, use the GeoServer RESTful API to query and access the geometric data programmatically. For the full API reference and request formats, see the GeoServer PostGIS documentation.