Styled Layer Descriptor Profile of the Web Map Service Implementation Specification
Total Page:16
File Type:pdf, Size:1020Kb
Open Geospatial Consortium Inc. Date: 2005-10-19 Reference number of this OGC® document: OGC 05-078 Version: 1.1.0 (draft) Category: OpenGIS® Discussion Paper Editors: Dr. Markus Müller, James MacGill Styled Layer Descriptor Application Profile of the Web Map Service: Draft Implementation Specification Copyright Copyright © 2006 Open Geospatial Consortium, Inc. All Rights Reserved. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/. Warning This proposed document is not an OGC Standard. It is distributed for review and comment. It is subject to change without notice and may not be referred to as an OGC Standard. Document type: OpenGIS® Discussion Paper Document subtype: Application Profile Document stage: Approved Document language: English 05-078 Contents Page 1 Scope........................................................................................................................1 2 Conformance............................................................................................................1 3 Normative references...............................................................................................1 4 Terms and definitions ..............................................................................................2 5 Conventions .............................................................................................................2 5.1 Abbreviated terms ...............................................................................................2 5.2 UML notation......................................................................................................3 6 Web-Map-Server integration...................................................................................3 6.1 A review of WMS 1.3 .........................................................................................3 6.2 General HTTP request rules as used by WMS and SLD ....................................5 6.3 Styled-Layer Descriptor......................................................................................5 6.4 WMS requests using an SLD ..............................................................................6 6.5 GetMap POST method.......................................................................................8 6.6 Web Map Servers and Web Feature/Coverage Servers ......................................9 7 DescribeLayer operation (optional).......................................................................12 7.1 Introduction .......................................................................................................12 7.2 DescribeLayer operation request (TBD) ...........................................................13 7.2.1 DescribeLayer request parameters................................................................13 7.2.2 TBD request KVP encoding (optional or required)......................................13 7.3 TBD operation response....................................................................................14 7.3.1 Normal response parameters.........................................................................14 7.3.2 Normal response XML encoding..................................................................15 7.3.3 TBD exceptions ............................................................................................17 7.4 Examples ...........................................................................................................17 8 GetLegendGraphic operation (optional)................................................................18 8.1 Introduction .......................................................................................................18 8.2 TBD operation request ......................................................................................21 8.2.1 TBD request parameters ...............................................................................21 8.2.2 TBD request KVP encoding (optional or required)......................................22 8.2.3 TBD request XML encoding (required or optional).....................................22 8.3 TBD operation response....................................................................................27 8.3.1 Normal response parameters.........................................................................27 8.3.2 Normal response XML encoding..................................................................28 8.3.3 TBD exceptions ............................................................................................29 8.4 Examples ...........................................................................................................30 9 SLD encoding........................................................................................................31 9.1 SLD root element ..............................................................................................31 9.2 Named layers.....................................................................................................32 ii 05-078 9.3 User-defined layers............................................................................................35 9.3.1 Feature Constraints.......................................................................................36 9.3.2 Coverage Constraints....................................................................................38 9.4 User-defined styles............................................................................................40 iii 05-078 i. Preface This document explains how the Web Map Server specification can be extended to allow user-defined symbolization of feature and coverage data. It should be read in conjunction with the latest version WMS specification. The WMS 1.3 Specification, OGC 06-042, is the most recent OGC member approved version of that specification. This document is together with the Symbology Encoding Implementation Specification the direct follow-up of Styled Layer Descriptor Implementation Specification 1.0.0. The old specification document was split up into two documents to allow the parts that are not specific to WMS to be reused by other service specifications. ii. Document terms and definitions This document uses the specification terms defined in Subclause 5.3 of [OGC 05-008], which is based on the ISO/IEC Directives, Part 2. Rules for the structure and drafting of International Standards. In particular, the word “shall” (not “must”) is the verb form used to indicate a requirement to be strictly followed to conform to this specification iii. Submitting organizations The following organizations submitted this document to the Open Geospatial Consortium Inc. CubeWerx Inc. lat/lon GmbH (Co-Editor) Pennsylvania State University. (Co-Editor) Syncline Ionic Software s.a. iv. Document contributor contact points All questions regarding this document should be directed to the editor or the contributors: Name Organization Larry Bouzane Compusult Ltd. iv 05-078 Dr. Craig Bruce CubeWerx Inc. Ivan Cheung ESRI Adrian Cuthbert m-spatial Reinhard Erstling interactive instruments GmbH Ron Lake Galdos Systems Inc. Seb Lessware Laser-Scan Ltd. Marwa Mabrouk ESRI James Macgill Penn State Dimitri Monie Ionic Software s.a. Dr. Markus Müller lat/lon GmbH Dr. Andreas Poth lat/lon GmbH Raj Singh Syncline Dan Specht US Army ERDC John Vincent Intergraph Corp. Peter Vretanos CubeWerx Inc. v. Revision history Date Release Editor Primary clauses modified Description 2001-02-07 01-028 Adrian initial paper for SLD 0.7.0 WMT-2 Project-Discussion Paper Cuthbert 2001-08-31 01-028r2 Craig re-write for SLD 0.7.1 MPP-1 Project-Discussion Paper Bruce 2001-11-30 01-028r3 Craig update for SLD 0.7.2 and MPP-1.1 DIPR preview Bruce DIPR format 2001-11-30 01-028r4 Craig fixed up pre-pages, added MPP-1.1 DIPR Bruce GeoSym content 2001-12-28 01-028r5 Craig minor fixes, added 2525B MPP-1.1 IPR Bruce content, example pictures 2002-03-12 02-013 Carl Reed Modified for submission Implementation Specification Craig and consideration as RFC Bruce Proposal for SLD Bill Implementation Lalonde Specification 2002-04-24 02-013r1 Bill Minor formatting changes Formating for Public Comment Lalonde Greg Buehler 2002-08-15 02-013r2 Craig Incorporated RFC changes Incorporated RFC comments Bruce 2004-02-26 02-070r1 Craig Incorporated SLD-1.0.20/ First draft for 1.1.0 Bruce Style-Management-System changes 2004-04-13 02-070r2 Donéa Incorporated 03-004 Second draft for 1.1.0 Luc change proposal for coverage-data selection and styling v 05-078 Clemens 2004-05-01 02-070r3 Incorporated change Third draft for 1.1.0 Portele, request 03-095r1, general Reinhard review for consistency Erstling 2004-12-17 02-070r4 Craig Partial Incorporation of Fourth draft for 1.1.0 Bruce SLD-RWG & interactive instruments changes; see Annex E. 2005-4-11 02-070r5 James Completed changes started Fith draft for 1.1.0 Macgill in r4 2005-04-29 02-070r6 Markus Sixth draft for 1.1.0 Müller, Incorporated change Andreas request 05-028 Poth 2005-08-22 02-070r7 Markus Seventh draft for 1.1.0 Müller, Finished changes regarding Andreas 05-028 Poth 2005-10-19 Markus Split SLD specification in SLD profile Müller All for WMS (this document) and Symbology Encoding 2006-20-04 C. Reed Various Get ready for posting as a DP vi. Changes to the OGC Abstract Specification The OpenGIS® Abstract Specification requires/does not require changes to accommodate the technical contents of this document. vi 05-078 Foreword This document together with OGC 05-077 (Symbology Encoding Implementation Specification)