
Table of Contents GeoServer Cookbook Credits About the Author Acknowledgments About the Reviewers www.PacktPub.com Support files, eBooks, discount offers, and more Why Subscribe? Free Access for Packt account holders Preface What this book covers What you need for this book Who this book is for Sections Getting ready How to do it… How it works… There's more… See also Conventions Reader feedback Customer support Downloading the example code Downloading the color images of this book Errata Piracy Questions 1. Working with Vectors Introduction Using different WFS versions in OpenLayers How to do it… How it works… There's more… Using WFS nonspatial filters How to do it… How it works… Using WFS spatial filters How to do it… How it works… Using WFS vendor parameters How to do it… How it works… Filtering data with CQL How to do it… How it works… Filtering data with CQL spatial operators How to do it… How it works… Creating a SQL view How to do it… How it works… There's more… Creating a parametric view How to do it… How it works… Improving performance with pregeneralized features How to do it… How it works… 2. Working with Rasters Introduction Getting coverages in different formats How to do it… How it works… Using WCS vendor parameters How to do it… How it works… Publishing a mosaic Getting ready How to do it... How it works… Using pyramids How to do it… How it works… Adding GDAL formats Getting ready How to do it… How it works... Adding a PostGIS raster data source How to do it… How it works… 3. Advanced Styling Introduction Installing the CSS module How to do it… How it works… Creating a simple polygon style with CSS How to do it… How it works… Adding filters to your style How to do it… How it works… Adding labels with CSS How to do it… How it works… Creating scale-dependent rules How to do it… How it works… Rendering transformations for raster data How to do it… How it works… Creating a dot density chart How to do it… How it works… 4. Geoprocessing Introduction Installing the WPS module How to do it… How it works… Using the WPS process builder How to do it… How it works… Chaining process – selecting features contained in a polygon How to do it… How it works… Chaining process – building your own task How to do it… How it works… There is more… 5. Advanced Configurations Introduction Upgrading GeoServer How to do it… How it works… See also Creating a script for automatic startup How to do it… How it works… Optimizing Java How to do it… How it works… Setting up a JNDI connection pool How to do it… How it works… Working with CRS How to do it… How it works… See also Using the reprojection console How to do it… How it works… Overriding an official EPSG code How to do it… How it works… Setting up GeoWebCache – how to make pre-rendered tiles for high availability How to do it… How it works… Storing configurations in an RDBMS How to do it… How it works… 6. Automating GeoServer Configurations Introduction Managing workspaces with REST Getting ready How to do it… How it works… There's more… Creating and editing data stores with REST How to do it… How it works… There's more… Managing layers with REST How to do it… How it works… There's more… Uploading and updating styles with REST How to do it… How it works… Managing layers with the GWC REST API How to do it … How it works … Managing cache tiles with the GWC REST API How to do it… How it works… 7. Advanced Visualizations Introduction Adding time to WMS maps Getting ready How to do it… How it works… Using the WMS animator How to do it… How it works… There's more… Keyhole Markup Language styling Getting ready How to do it… How it works… There's more… Using z-order creatively How to do it… How it works… Using transparency creatively Getting ready How to do it… How it works… Using symbology encoding How to do it… How it works… 8. Monitoring and Tuning Introduction Installing the control flow module How to do it… How it works… Setting a per-user limit How to do it… How it works… Setting a per-request limit Getting ready How to do it… How it works… Installing the monitoring extension Getting ready How to do it… How it works… Configuring the monitoring extension Getting ready How to do it… How it works… Creating reports from the monitoring database How to do it… How it works… There's more… Limiting the GeoWebCache disk use How to do it… How it works… A. OGC for ESRI Professionals Introduction ArcGIS versus GeoServer Understanding standards WMS versus the mapping service WFS versus feature access Publishing raster data with WCS Index GeoServer Cookbook GeoServer Cookbook Copyright © 2014 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: November 2014 Production reference: 1201114 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78328-961-5 www.packtpub.com Credits Author Stefano Iacovella Reviewers Dan Blundell Daniela Cristiana Docan Antonio Santiago Commissioning Editor Usha Iyer Acquisition Editor Subho Gupta Content Development Editor Vaibhav Pawar Technical Editor Pooja Nair Copy Editors Roshni Banerjee Adithi Shetty Project Coordinator Kranti Berde Proofreaders Simran Bhogal Ameesha Green Paul Hindle Indexers Mariammal Chettiyar Tejal Soni Production Coordinators Kyle Albuquerque Arvindkumar Gupta Cover Work Arvindkumar Gupta About the Author Stefano Iacovella is a long-time GIS developer and consultant living in Rome, Italy. He also works as a GIS instructor. He has a PhD in Geology. Being a very curious person, he developed a deep knowledge of IT technologies, mainly focusing on GIS software and related standards. Starting his career as an ESRI employee, he was exposed to and became confident in proprietary GIS software, mainly the ESRI suite of products. In the last 14 years, he has been involved with open source software, integrating it with proprietary software. He loves the open source approach, and really trusts in collaboration and sharing knowledge. He strongly believes in the open source idea and constantly manages to spread it, not only in the GIS sector but also in others. He has been using GeoServer since the release of Version 1.5, configuring, deploying, and hacking it in several projects. Some of the other GFOSS projects he mainly uses and likes are GDAL/OGR, PostGIS, QGIS, and OpenLayers. Prior to this cookbook, Stefano worked on GeoServer Beginner's Guide, which covers the basics of GeoServer. When not playing with maps and geometric shapes, he loves reading about science (mainly physics and math), riding his bike, and having fun with his wife and two daughters, Alice and Luisa. You can contact him at <[email protected]> or follow him on Twitter at @iacovellas. Acknowledgments I would like to thank all those people who helped me make this book a real thing. A special mention for GeoServer's developers; they are the wonderful engine without which this software, and hence, this book too, would not exist. I would like to thank all the people at Packt Publishing who worked on this book. They helped me a lot and were very patient and encouraging when I had difficulties meeting deadlines. A special thanks to my technical reviewers; they constantly checked for my errors and omissions. This book has become better thanks to all their hard work. Last but not least, I want to express my gratitude to Alessandra, Alice, and Luisa for their support and patience when I was working on this book. About the Reviewers Dan Blundell is a designer and developer with over 10 years of experience. He has worked in both the public and private sector, from the government to creative agencies. With clients ranging from district authorities and local businesses to international brands, Dan not only has a breadth of experience, but also a reputation for delivery. Today, he is working towards making the government more open, creative, and collaborative. Daniela Cristiana Docan is a survey engineer. She works as a lecturer for the Faculty of Geodesy, Technical University of Civil Engineering Bucharest, Romania. Formerly, she worked for ESRI Romania and ANCPI (National Agency for Cadastre and Land Registration). While working for ESRI Romania, Daniela trained teams from different private or state companies as an authorized instructor in ArcGIS by Environmental Systems Research Institute, Inc., USA. In 2009, she created the logical and physical data model of the National Topographic Dataset for ANCPI on a large scale (TOPRO5). She was also a member of different workgroups that elaborated on technical specifications and country reports for INSPIRE (Infrastructure for Spatial Information in the European Community) in 2010.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages288 Page
-
File Size-