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

Per-request styling of map features


It is possible to ask GeoServer to render features in a style that does not exist within its own catalog. This ability to do per-request styling is also referred to as external styles.

Note

Per-request styling of map features is part of the OGC WMS standard. Any web mapping software that conforms to the standard will contain a similar capability. As this is a book on GeoServer, we will explore GeoServer's implementation of the WMS standard.

There are three different ways in which an external style can be provided to GeoServer:

  • The SLD= parameter can be set on the GetMap GET request to point at an Internet-accessible SLD file

  • The SLD_BODY= parameter can be set on the GetMap GET request to provide the SLD document as a URL-encoded XML

  • The SLD can be provided in the XML GetMap POST request body

The mode in which GeoServer works to apply the styling depends on whether or not the LAYERS parameter is included in the GetMap request. When the LAYERS parameter is not...

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}