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
In the GeoServer left-side navigation pane, click Stores.

Click Add new Store.

Select PostGIS as the store type.

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.
该文章对您有帮助吗?