Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Geoserver

You're reading from  Mastering Geoserver

Product type Book
Published in Nov 2014
Publisher
ISBN-13 9781783287697
Pages 420 pages
Edition 1st Edition
Languages
Author (1):
Colin Henderson Colin Henderson
Profile icon Colin Henderson

Table of Contents (19) Chapters

Mastering GeoServer
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Installing GeoServer for Production 2. Working with Raster Data 3. Working with Vector Data in Spatial Databases 4. Using GeoServer to Serve Complex Features 5. Using GeoServer as a Proxy 6. Controlling the Output of GeoServer 7. Using GeoServer to Print Maps 8. Integrating GeoServer in a Spatial Data Infrastructure 9. GeoServer as a Spatial Analysis Platform 10. Enterprise Security and GeoServer 11. Monitoring the Performance and Health of GeoServer 12. Optimizing GeoServer for Production Index

Styling data using Cascaded Style Sheets


Although SLDs are the default method to apply styles to the data served by GeoServer, it is not the only way. There is an extension available that adds the ability to provide styling information using Cascaded Style Sheets (CSS). There are a couple of reasons why you might choose to use CSS styles over traditional SLDs:

  • If you have built any kind of web page, then you are likely already familiar with the syntax of CSS

  • The CSS syntax is much leaner than SLD, making styles more readable

  • You don't need to understand XML, making CSS styles less prone to syntax errors

Getting started with CSS styles is as easy as installing the extension and restarting GeoServer.

Installing the extension

Like with all other GeoServer extensions, installation of the CSS extension is as straightforward as copying some JAR files to the <geoserver_home>/WEB-INF/lib folder and restarting GeoServer. First, we must download the version of the extension that matches the version...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}