Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 27874

A Styled Layer Descriptor (SLD) is an XML schema specified by the Open Geospatial Consortium (OGC) for describing the appearance of map layers.

4 votes
Accepted

SLD based on several Value Fields

You need to use rules with an And Filter something like: <sld:Rule> <sld:Name>Style 1</sld:Name> <sld:Abstract>Type = Ventil and Aabningsgrad = 0</sld:Abstract> <ogc:Filter> <ogc: …
nmtoken's user avatar
  • 13.6k
2 votes

Styling SLD Files for Geoserver XML Editors and Notepad++

It will happily work with the SLD schemas, to allow you to hand craft your styles. …
nmtoken's user avatar
  • 13.6k
2 votes

Data-defined override in SLD possible?

If the WMS is SLD enabled (GeoServer supports this, but must be enabled by the service provider), then you can pass SLD as part of a GetMap request using either SLD_BODY (passing the SLD as url encoded … content) or SLD (passing a URL pointing to an SLD file accessible to the WMS server). …
nmtoken's user avatar
  • 13.6k
2 votes
Accepted

Style layer on server side or client side?

should I style the GetFeatureInfo response on server side or client side? A GetFeatureInfo response is not styled. The WMS layers are styled, and the request to get the map image of the WMS laye …
nmtoken's user avatar
  • 13.6k
0 votes

Exporting QGIS styles to SLD for GeoServer?

Technically it shouldn't be a problem which namespace prefixes you associate with which namespace, as long as you declare the associations in the XML declaration at the top of your SLD file. …
nmtoken's user avatar
  • 13.6k
4 votes

Adding SLD using OpenLayers 3

Well it is certainly possible to construct an SLD and send it directly or by reference as part of a WMS GetMap request to a GeoServer service, with OpenLayers as a client. …
nmtoken's user avatar
  • 13.6k
2 votes

Is it possible to use NamedStyle inside of UserStyle with MAPSERVER SLD?

AFAIK MapServer doesn't use SLD internally, but will accept an SLD as part of a GetMap request, either by reference through an SLD& parameter or directly as the value of an SLD_BODY& parameter. … In any case MapServer supports the SLD standard, and allows for named styles, so it should be possible to add your style on top of the default style if required. …
nmtoken's user avatar
  • 13.6k
0 votes

SLD for OS Mastermap

You can use the GetStyles SLD operation on a MapServer WMS to get an SLD representation of the style used by MapServer …
nmtoken's user avatar
  • 13.6k
-1 votes
Accepted

SLD not linking to ArcGIS wms service

understood, rather than there being a problem with your your SLD. … An example of a request to an ArcGIS 10.n WMS service with external SLD is shown below: http://gisweb.unr.edu/arcgis/services/OneGeology/NBMG_Geology/MapServer/WMSServer? …
nmtoken's user avatar
  • 13.6k
2 votes

Looking for a MAP to SLD converter

You can use the map file to create a MapServer WMS, then you can perform a GetStyles request which will generate an SLD file. …
nmtoken's user avatar
  • 13.6k
2 votes

Fix problem of long URL when changing the dynamic style of a WMS?

Write the style to a web location accessible by the WMS server and use the SLD parameter instead of the SLD_BODY parameter to provide a URL to the SLD. …
nmtoken's user avatar
  • 13.6k
1 vote

Using WMS server parameter SLD

Your SLD on GitHub has: <sld:NamedLayer> <sld:Name>CH001L2_ZURICH_UA2018</sld:Name> The SLD schema (http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd) tells us that: <xsd:element name … </xsd:documentation> But the WMS has no layer called CH001L2_ZURICH_UA2018 only layers eea-urban-atlas_DE002L1_HAMBURG_UA2018 and eea-urban-atlas_SI001L2_LJUBLJANA_UA2018 So the SLD is not applied, and …
nmtoken's user avatar
  • 13.6k
1 vote

WMS Custom styles (remotely)

It's difficult to tell looking at the WMS layer whether the raw coverage data, being provided as an image through the WMS, is a raster if it is then you won't be able to supply an external SLD to change … If it is actually vector data, and if SLD capability is enabled in the service then it should be possible to supply your own style as part of the GetMap request. …
nmtoken's user avatar
  • 13.6k
1 vote

How to use SLD to filter a WMS layer but without setting any styles?

or through an externally referenceable SLD (through an SLD parameter). … The SLD you are sending in the SLD_BODY parameter of your request is overwriting the style generated by MapServer for the polygon. …
nmtoken's user avatar
  • 13.6k
3 votes
Accepted

Style MapServer layers easily (or as easy as possible)

As MapServer doesn't deal internally with SLD's, any SLD's given to it externally have to be parsed before being applied, unless you already have a tool for creating SLD, using SLD's with MapServer for …
nmtoken's user avatar
  • 13.6k

15 30 50 per page