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

Oliver.Raymond at ga.gov.au Oliver.Raymond at ga.gov.au
Mon Oct 15 20:39:40 EDT 2012

Hi Steve,

I don't know the specs of SLD, but it seems to me that being able to apply a single SLD to many WMS services (with potentially different names) is a valid use case for SLD.  Did the SLD designers not consider that as a use case?


From: geosciml-bounces+oliver.raymond=ga.gov.au at lists.opengeospatial.org [mailto:geosciml-bounces+oliver.raymond=ga.gov.au at lists.opengeospatial.org] On Behalf Of Steve Richard
Sent: Tuesday, 16 October 2012 05:06
To: A mailing list for GeoSciML
Subject: [GeoSciML] using SLDs - big problem with OneGeology layer naming conventions

Hi everyone-

I've been trying to get SLD's assembled as examples for OneGeology services using GeoSciML-portrayal. OneGeology requires WMS layers to be named with a pattern that results in layer names in each service being unique (see http://www.onegeology.org/wmsCookbook/2_5.html), e.g. 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.

The effect is that the SLD will have to be customized for each OneGeology WMS you want to use it against, because the layer names will be unique to each service.  This greatly complicates the work for generating a client that uses SLD to customize map portrayals from OneGeology services.

Am I missing something here, or does oneGeology need to require additional layers in each service that are named something like SLD_lithology and SLD_age, so one SLD file can be applied to multiple services....


WMS request:

In the SLD:
<sld:StyledLayerDescriptor xmlns:gml="....">

In the WMS GetCapabilities:
              <Title><![CDATA[AZGS USGIN Geology]]></Title>
              <BoundingBox ...>
              <Layer queryable="1">

Stephen M Richard
Arizona Geological Survey
416 W. congress #100
Tucson, AZ
AZGS: 520-770-3500
Office: 520-209-4127
FAX: 520-770-3505

Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/geosciml/attachments/20121016/d2e55944/attachment.htm>

More information about the GeoSciML mailing list