Book Image

Expert GeoServer

By : Ben Mearns
Book Image

Expert GeoServer

By: Ben Mearns

Overview of this book

GeoServer is open source, server-side software written in Java that allows users to share and edit geospatial data. In this book, you'll start by learning how to develop a spatial analysis platform with web processing services. Then you'll see how to develop an algorithm by chaining together geospatial analysis processes, which you can share with anyone in the world. Next you'll delve into a very important technique to improve the speed of your map application—tile caching. Here, you'll understand how tile caching works, how to develop an effective tile cache-supported web service, and how to leverage tile caching in your OpenLayers web application. Further on, you'll explore important tweaks to produce a performant GeoServer-backed web mapping application. Moving on, you'll enable authentication on the frontend and backend to protect sensitive map data, and deliver sensitive data to your end user. Finally, you'll see how to put your web application into production in a secure and user-friendly way. You'll go beyond traditional web hosting to explore the full range of hosting options in the cloud, and maintain a reliable server instance.
Table of Contents (7 chapters)

Optimizing vector data stores

In the previous section, you learned how to identify bottlenecks and resolve them by tuning. In this section, you will learn how to configure vector stores for maximum performance, thereby eliminating a possible source of bottlenecks. First, we'll look at data storage, a factor that impacts vector and raster data performance. Next, we'll learn about the best formats for our vector data, based on their intended use. Finally, we'll learn about a topic that's particularly important to vector performance – indexing.

Choosing a data storage location is a relatively simple topic that has a big impact on performance if it is overlooked. Since the capacity is less of a concern with vector data than raster data, speed is the most important factor here. Whenever practical, opt for data that is stored locally on the GeoServer server...