...
Create a workspace for your project - this will be where all the layers for your project live. (You may require devops to create the workspace for you)
Create a store within your workspace - this will be the connection to a specific schema in the Helium Rapid database.
After clicking “Add new store” select the option for “PostGIS Database“
Select the correct workspace and fill in the required connection parameters
host: za-preprod-db-1b
(you may require the postgres user & password from devops)All other values can be left as is, click save
Add your layers - these will be the layers you would like to display
Before adding your layer, be sure to grant the necessary
select
&usage
permissions on the schema you will be using for the geoserver user.Select the workspace you would like to add layers for
All the tables within the specified schema will be displayed. Choose the desired table and click publish.
The coordinate reference system should indicate EPSG:4326, if not you will need to set this correctly under “Declared SRS”
Under bounding boxes you will need to click on both “Compute from data“ and “Compute from native bounds“
Click save
You can change the style of the layer either by creating a new style or selecting a predefined style.
To select a predefined style click on the layer name on the layers page.
Select the “Publishing” tab
Scroll down to “WMS Settings” and select the default style from the dropdown.
Create a new style - this will be the style for a specific layer and can be create within geoserver or via a program like Qgis. Once the style is created a legend will automatically be created on geoserver. You are also free to upload your own legend.
Give your style a name and select the appropriate workspace.
You can choose to generate a style based on existing styles to get started
...