Section | Description |
---|---|
1. AWS Connection Setup | Setting up SSH connection permissions to AWS GeoServer |
2. Adding Images to Timeseries WMS | Process of adding new images to existing WMS timeseries |
3. Creating New Timesereis WMS | Steps to create a new WMS timeseries from scratch |
4. Style Updates | Instructions for updating layer styles and color schemes |
5. Metadata Updates | Procedures for updating WMS metadata |
Add the following ssh key to C:/.ssh: <REPLACE_WITH_KEY_FILE_NAME>.pem
Upload images to the data folder in AWS:
Use the following PowerShell commands (replace <FILE_PATH>
with the actual file path and <AWS_IP_ADDRESS>
with the server IP):
scp -i .ssh/<KEY_FILE_NAME>.pem -prq <FILE_PATH> ubuntu@<AWS_IP_ADDRESS>:<FOLDER_PATH>/<FILENAME>
Delete older metadata:
Connect to AWS GeoServer:
ssh -i .ssh/<KEY_FILE_NAME>.pem ubuntu@<AWS_IP_ADDRESS>
Delete the older version of the metadata of the WMS.
cd ..
cd <FOLDER_PATH>
find . \\( -name "*.dat" -o -name "*.dbf" -o -name "*.fix" -o -name "*.prj" -o -name "*.qix" -o -name "*.shp" -o -name "*.shx" \\) -type f -delete
Update the auto-generated metadata on the GeoServer GUI:
<GEO_SERVER_URL>
.<USERNAME>:<PASSWORD>
.Stores
on the side menu and then search wms
on the search bar.Browse
to confirm the new datasets were uploaded successfully. Then click Save
Open WMS on QGIS:
Create a new folder on AWS for the new datasets:
Connect to AWS GeoServer:
ssh -i .ssh/<KEY_FILE_NAME>.pem ubuntu@<AWS_IP_ADDRESS>
Create a new folder:
cd ..
cd <FOLDER_PATH>
cd mkdir <SUBFOLDER_NAME>
Upload new datasets to AWS
Use the following command (replace <FILE_PATH>
with the actual file path):
scp -i .ssh/<KEY_FILE_NAME>.pem -prq <FILE_PATH> ubuntu@<AWS_IP_ADDRESS>:<FOLDER_PATH>/<SUBFOLDER_NAME>/<FILENAME>
Upload the configuration files, the following two files, to all new folders just created.
scp -i .ssh/<KEY_FILE_NAME>.pem -prq <CONFIG_FILE_PATH> ubuntu@<AWS_IP_ADDRESS>:<FOLDER_PATH>/<SUBFOLDER_NAME>/<CONFIG_FILE>
Configure in GeoServer GUI:
<GEO_SERVER_URL>
.<USERNAME>:<PASSWORD>
.Create a new store for each new set of data
Stores
on the side menuAdd new store
ImageMosaic
Workspace
for this projectData Source Name
as for example <SUBFOLDER_NAME>Connection Parameters
, enter or choose the URL where the data is stored, for example, <FOLDER_PATH>/<SUBFOLDER_NAME>publishing layers
, and click publish
Publishing
page, under the WMS Settings
section, change the Default Style to the one that best suits the layer. Following the next section of this tutorial and learn how to create a style.