Book Image

GeoServer Beginner's Guide - Second Edition

By : Stefano Iacovella
Book Image

GeoServer Beginner's Guide - Second Edition

By: Stefano Iacovella

Overview of this book

GeoServer is an opensource server written in Java that allows users to share, process, and edit geospatial data. This book will guide you through the new features and improvements of GeoServer and will help you get started with it. GeoServer Beginner's Guide gives you the impetus to build custom maps using your data without the need for costly commercial software licenses and restrictions. Even if you do not have prior GIS knowledge, you will be able to make interactive maps after reading this book. You will install GeoServer, access your data from a database, and apply style points, lines, polygons, and labels to impress site visitors with real-time maps. Then you follow a step-by-step guide that installs GeoServer in minutes. You will explore the web-based administrative interface to connect to backend data stores such as PostGIS, and Oracle. Going ahead, you can display your data on web-based interactive maps, use style lines, points, polygons, and embed images to visualize this data for your web visitors. You will walk away from this book with a working application ready for production. After reading GeoServer Beginner's Guide, you will be able to build beautiful custom maps on your website using your geospatial data.
Table of Contents (20 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Index

Installing native JAI


Java Advanced Imaging (JAI) is a library developed by Oracle for advanced image manipulation. GeoServer can run without it, as it is shipped with a pure Java version of JAI. Installing JAI greatly improves performance when working with images, that is, raster format data. If you don't use spatial raster data, GeoServer works with image formats when you ask for a map, for example, in a WMS GetMap request, so it is really worthwhile to have it on your production site:

  1. Download the proper package for your system, Linux or Windows, from http://download.java.net/media/jai/builds/release/1_1_3/ as follows:
$ wget http://download.java.net/media/jai/
        builds/release/1_1_3/jai-1_1_3-lib-linux-amd64.tar.gz
  1. Extract the file into a temporary directory:
$ tar xfz jai-1_1_3-lib-linux-amd64.tar.gz
  1. Move JAR files into the JDK/JRE lib/ext folder:
$ mv ./jai-1_1_3/lib/*.jar $JAVA_HOME/jre/lib/ext/ && \
  1. Move so files into the JDK/JRE lib/amd64 folder:
$ mv ./jai-1_1_3/lib/*.so...