Grow your YouTube channel like a PRO with a free tool
Get Free YouTube Subscribers, Views and Likes

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

Follow
OpenGeo Lab

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 Sentinel2 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:
https://drive.google.com/file/d/1qYZI...

AWS Free tier Account:
https://aws.amazon.com/free/?allfree...

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

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

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


Web Resources:
https://openlayers.org
https://github.com/walkermatt/ollaye...
https://docs.geoserver.org/main/en/us...
https://geoserver.org
https://geoserver.org/download/
https://docs.geoserver.org/stable/en/...

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:
Amazon S3 or Amazon Simple Storage Service is a service offered by Amazon Web Services (AWS) that provides object storage through a web service interface.Amazon S3 uses the same scalable storage infrastructure that Amazon.com uses to run its ecommerce network. Amazon S3 can store any type of object, which allows uses like storage for Internet applications, backups, disaster recovery, data archives, data lakes for analytics, and hybrid cloud storage.

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 2clause BSD License (also known as the FreeBSD).

posted by SofMoonyHydayt8