WebGIS: Create fast cached Web Map using Geoserver, GeoWebCache, & AWS (S3 Bucket) as storage medium

preview_player
Показать описание
In this video, you will learn how to configure GeoWebCache in Geoserver for Tile caching, how to generate tiles and store in Amazon AWS cloud S3 Bucket and also in local storage, how to consume tiles in WebGIS using OpenLayers

Timeline of the video
00:00 Introduction
03:20 Install GWC AWS S3 Plugin of Geoserver
06:40 create File Blobstore in geoserver for storing tiles in local storage
08:10 create and configure bucket in AWS S3 storage, create S3 Blobstore in geoserver for storing tiles in Cloud
16:50 Publish Sentinel-2 Image in Geoserver for tile Caching.
21:10 create tiles using Geowebcache.
27:30 Consume generated Tiles using Openlayers for WebGIS (directly and using WMTS service of Geoserver)

WebGIS application shown in the video:

AWS Free tier Account:

Bucket policy (JSON) for allowing Public access to read files stored in AWS s3 Bucket:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicRead",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion"
],
"Resource": "arn:aws:s3:::karanbucket-2022/*"
}
]
}

The CORS configuration, written in JSON for AWS S3 Bucket:

[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET",
"HEAD"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": [],
"MaxAgeSeconds": 3000
}
]

Web Resources:

GeoServer:
GeoServer is an open source server for sharing geospatial data. GeoServer implements industry standard OGC protocols such as Web Feature Service (WFS), Web Map Service (WMS), and Web Coverage Service (WCS). Additional formats and publication options are available as extensions including Web Processing Service (WPS), and Web Map Tile Service (WMTS).

GeoWebCache:
GeoWebCache is a tiling server. It runs as a proxy between a map client and map server, caching (storing) tiles as they are requested, eliminating redundant request processing and thus saving large amounts of processing time. GeoWebCache is integrated with GeoServer, though it is also available as a standalone product for use with other map servers.

Amazon AWS S3:

OpenLayers:
OpenLayers makes it easy to put a dynamic map in any web page. It can display map tiles, vector data and markers loaded from any source. OpenLayers has been developed to further the use of geographic information of all kinds. It is completely free, Open Source JavaScript, released under the 2-clause BSD License (also known as the FreeBSD).
Рекомендации по теме
Комментарии
Автор

this video literally saved my project, thanks

kotek
Автор

Great content man! Keep such video created. hats off!

bipinmsit
Автор

Thank you very much for this valuable video

adamibrahim
Автор

I really want to learn WEBGIS rendering, what knowledge should I master?

张富伟-md
Автор

Hi, I'm getting this error "An error occurred in "Ev": Failed to obtain image tile X: 739 Y: 456 Level: 10."

sharjeelmd
Автор

can you please tell how can we utilize these tiles as wms service in geoserver, i mean about the rendering on the fly, like when user check on the layer it starts generating tiles at different zoom levels as youv'e shown without seed/truncate ( without actually storing them on my local drive(static)). and they are permanently there forever, i want them to be deleted once the session is completed, and can we do this for the entire workspace? Many Thanks.

GISCELLDHA
Автор

Hi, I'm getting this error "An error occurred in "Ev": Failed to obtain image tile X: 739 Y: 456 Level: 10."

sharjeelmd
visit shbcf.ru