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

Steve Richard steve.richard at azgs.az.gov
Thu Oct 18 12:58:42 EDT 2012


Marcus-- that works in GeoServer configuration (Alistair Ritchie noted that as well), but it doesn't work for WMS getMap requests with an SLD parameter.
steve

> -----Original Message-----
> From: geosciml-bounces+steve.richard=azgs.az.gov at lists.opengeospatial.org
> [mailto:geosciml-bounces+steve.richard=azgs.az.gov at lists.opengeospatial.org]
> On Behalf Of Sen, Marcus A.
> Sent: Thursday, October 18, 2012 8:41 AM
> To: A mailing list for GeoSciML
> Subject: Re: [GeoSciML] using SLDs - big problem with OneGeology layer naming
> conventions
> 
> > -----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.)
> 
> Marcus
> 
> --
> 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