[GeoSciML] using SLDs - big problem with OneGeology layer naming conventions

Sen, Marcus A. mase at bgs.ac.uk
Thu Oct 18 11:40:38 EDT 2012

> -----Original Message-----
> From: geosciml-bounces+mase=bgs.ac.uk at lists.opengeospatial.org
> [mailto:geosciml-bounces+mase=bgs.ac.uk at lists.opengeospatial.org] On
> Behalf Of Steve Richard
> Sent: 15 October 2012 19:06

> USA_USGIN_3M_Lithostratigraphy.  From the experimenting I’ve done,
> looking at the OGC spec, GeoServer, and ArcGIS server documentation, it
> looks like the ‘sld:NamedLayer’ value in an SLD has to match one of the
> layer names in the WMS you want to apply the SLD to.
I don't think this is true. In the simple GeoServer examples you can enable several styles with different names to each layer. E.g. for the layer tiger:tiger_roads the styles tiger_roads, simple_roads, lines and simple_streams can all be enabled and applied to the same layer. (SLD would be pretty crippled if you had to edit it just to apply the same style to a different layer.) 


This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.

More information about the GeoSciML mailing list