PacktLib: GeoServer Beginner’s Guide

GeoServer Beginner's Guide

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Preface

GIS Fundamentals

What is GIS about?

The foundation of any GIS – spatial data

Understanding coordinate systems

Representing geometrical shapes

Modeling the real world with raster data

Representing the world

Time for action – exploring OpenStreetMap

Adding more colors to your maps

Time for action – making your thematic map

Summary

Getting Started with GeoServer

Installing Java

Time for action – checking the presence of Java on Windows

Time for action – checking the presence of Java on Ubuntu

Time for action – installing JRE on Windows

Time for action – installing JRE on Ubuntu

Installing Apache Tomcat

Time for action – installing Apache Tomcat on Windows

Time for action – installing Apache Tomcat on Ubuntu

Time for action – configuring Tomcat as a service on Ubuntu

Installing GeoServer

Time for action – deploying GeoServer on Tomcat

Implementing basic security

Time for action – improving security settings

Summary

Exploring the Administrative Interface

Understanding the interface

About & Status

Time for action – manually reloading configuration

Data

Time for action – OpenLayers preview

Time for action – KML preview

Time for action – creating a workspace

Services

Time for action – limiting the SRS list from WMS

Settings

Time for action – changing your logging configuration

Tile Caching

Security

Demos

Time for action – exploring Demo requests

Time for action – filtering the projection list

Summary

Accessing Layers

Layer types

OpenLayers

Time for action – exploring OpenLayers options

Exploring the Web Map Service output formats

Web Feature Service

Time for action – parsing GeoJSON

Extra output options

Time for action – using the GetFeatureInfo freemarker template

Using WMS Reflector

Time for action – using WMS Reflector

Summary

Adding Your Data

Configuring your data

Configuring vector data sources

Time for action – adding shapefiles

Time for action – installing PostgreSQL and PostGIS

Time for action – loading data in PostGIS and publishing them in GeoServer

Configuring raster data sources

Exploring additional data sources

Time for action – adding Oracle support in GeoServer

Time for action – adding MySQL data source

Summary

Styling Your Layers

Understanding Styled Layer Descriptor

Editing styles

Exploring the standard structure of a style

Time for action – viewing GeoServer bundled styles

Loading data for styling

Working with point symbols

Time for action – creating a simple point style

Time for action – adding a stroke value

Time for action – dealing with angles and transparency

Time for action – composing simple shapes

Time for action – using external graphics

Linestring symbols

Time for action – creating a simple line style

Time for action – adding a border and a centerline

Time for action – using hatching

Time for action – using dashed lines

Time for action – mixing dashing lines and markers

Working with polygon symbols

Time for action – creating a simple polygon style

Time for action – using a graphic filling

Time for action – using hatching with polygons

Adding labels

Time for action – labeling points

Time for action – labeling lines

Time for action – labeling polygons

Thematic mapping

Time for action – classifying roads

Setting visibility

Time for action – enhancing thematic roads map

Putting it all together

Time for action – grouping layers

Summary

Creating Simple Maps

Exploring Google Maps API

Time for action – adding a GeoServer layer as overlay

Time for action – adding a GeoServer layer as a base layer

Time for action – adding a GeoServer cached layer as overlay

Time for action – customizing Google basemap

Time for action – intercepting the Click event

Using OpenLayers

Time for action – integrating GeoServer and OpenLayers

Time for action – using GeoRSS with OpenLayers

Exploring Leaflet

Time for action – using Leaflet with GeoServer layers

Summary

Performance and Caching

Exploring GeoWebCache

Time for action – configuring GeoWebCache storage

Time for action – configuring Disk Quota

Setting caching defaults

Configuring gridsets

Time for action – creating a custom gridset

Configuring tile layers

Time for action – configuring layers and layer groups for caching

Time for action – using tiles with OpenLayers

Time for action – seeding a layer

Using an external GeoWebCache

Summary

Automating Tasks: GeoServer REST Interface

Introducing REST

Using REST

Time for action – installing the Requests library

Managing data

Time for action – managing workspaces

Time for action – managing data stores

Time for action – adding a new shapefile

Time for action – adding a PostGIS table

Publishing data

Time for action – adding a new style

Time for action – managing layers

Summary

Securing GeoServer Before Production

Basic security settings

Time for action – enabling strong encryption

Time for action – changing the master password

Defining users, groups, and roles

Time for action – creating users and groups

Time for action – defining roles

Accessing data and services

Time for action – securing layers

Summary

Tuning GeoServer in a Production Environment

Tuning Java

Time for action – configuring Java runtime parameters

Time for action – installing native JAI

Removing unused services

Time for action – disabling unused services

Setting a proxy

Time for action – configuring a proxy

Avoiding service faults

Time for action – configuring a cluster

Summary

Going Further: Getting Help and Troubleshooting

Going beyond maps

Time for action – retrieving vector data

Time for action – retrieving raster data

Getting help

Summary

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Index