Styles in the context of OGC Portrayal Services
16
Copyright © 2014 Open Geospatial Consortium
- Styles can be accessed from the registry using a URL with a fragment identifier to reference the particular StyleStyleMap element in the KML document.
- Once published, such URLs must remain active forever - or at least as long as anyone might reference the particular styles.
In general, it would be optimal, if the same style resources could be used for OGC Portrayal Services and KML data, i.e. KML and SLDSE would simply be different
representations of the same resource. There are, however, a few open issues, which are items for future work:
- KML features references styles, OGC Portrayal Service requests reference SLD containing a set of layers with one or more styles. I.e., these are different resources
that would need to be managed consistently in the registry. - The current KML encoding rule does not support different styles per feature type. A
similar filtering mechanism as in SLDSE would need to be supported by the encoding rule to achieve the styling of features on the same level of granularity.