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

learn more… | top users | synonyms

1
vote
1answer
392 views

How to show Two Labels of One feature In Geoserver…?

I have prepared a Web GIS Map using Geoserver-Openlayers_Postgis....For One Feature I need to show two labels such as "premise_no' & "bld_name'... The following is the xml I used for styling(in ...
4
votes
2answers
99 views

How do I parse getStyle request?

I am having problem parsing http://localhost:8080/geoserver/wms?request=GetStyles&layers=topp%3Astates&service=wms&version=1.1.1 getStyle response from geoserver of layer topp:states. ...
1
vote
1answer
512 views

Converting avl to sld or qml

Is there a simple way to convert a avl file into a sld or qml? Deegree does not work an my laptop (java problems) Or is there a way to open the original avl file in qgis? Thanks
3
votes
2answers
725 views

Display points labels starting at certain zoom level

I use WMS to display my points on the map. I would like to display points labels(name_ID) starting at certain zoom level. From What I have read I understand I can do it with GeoServer rules, but I ...
3
votes
0answers
67 views

SLD - disable follow line

I have a simple SLD style using in GeoServer v2.3.0 and testing in uDig. I have a interstate symbol that I do not want the label symbol to follow the line. I thought if I set: <sld:VendorOption ...
0
votes
1answer
38 views

A PROBLEM WITH XML Standard Layer Descriptor for GeoServer

I wrote an xml in Standard Layer Descriptor for GeoServer, with the objective to map a satellite image with discrete values. I wrote: < ColorMap type="intervals"> < ColorMapEntry ...
1
vote
2answers
208 views

how to produce xml file in SLD to add discrete colors and color legend

I have to produce a xml file, according to Styled Layer Descriptor (SLD) (for more informations you can see: http://www.opengeospatial.org/standards/sld). The file is required by GeoServer and it has ...
0
votes
2answers
92 views

Draw line as a text in wfs

I have a WFS for addresses where geometry is a line with 2 points. Is it possible to have an SLD that draws a text (i.e. house number) along the line using the line as vector defining the text ...
1
vote
0answers
106 views

SLD style definition from GeoServer to Drupal

I've been experimenting with the SLD style definitions in both GeoServer and Drupal. What I want to achieve is to create a new style in GeoServer (by a curl operation, but I know how that works) and ...
1
vote
0answers
281 views

How can I parse the SLD file that sits in Geoserver so that I can apply the styling to WFS layer?

I have a layer that can be configured to render as WFS or WMS. I want to apply the same sld styling that I have defined in Geoserver to make it consistent. But when I try to get the SLD text from ...
-1
votes
2answers
191 views

styles when merging shapefiles in qgis

Trying to create something for mapstory.org It wants it in all one shapefile. So I create a polygons and lines (with time attributes) in qgis 1.8 Then merge them all into one shapefile, how can you ...
1
vote
1answer
793 views

Why won't GeoServer render my SVG symbols?

I'm trying to use GeoServer to render a point layer with custom symbols. This worked perfectly well when my symbols were PNGs, but we haven't decided exactly what size our symbols should be, so I ...
0
votes
1answer
237 views

OpenLayers SLD duplication problem

Hey guys i am creating a web map and I am running into a little problem. I am serving two WMS layers from GeoServer to my OpenLayers script. For styling I am using SLD in GeoServer. The SLD script ...
1
vote
0answers
158 views

SLD Pointsymbolizer with color ramp based on first random attributes

The company I work at does drillings all over the country. These drillings are then presented as a service. So obviously this layer needs an SLD. For the moment every drilling is a green point, but we ...
1
vote
1answer
194 views

GeoServer Transformation Function (Categorize) Problem

I'm trying run three filter functions(Recode,Categorize,Interpolate) described at the bottom of this page http://docs.geoserver.org/stable/en/user/filter/function_reference.html Recode and ...
1
vote
1answer
314 views

Desktop client symbolozing a WMS layer by sending SLD to the WMS server?

Objective is simple: finding 'desktop software' (such as ArcGIS, QGIS, etc) that can load a WMS layer, and then send its own SLD to apply to the WMS server in order to get the WMS layer back with the ...
0
votes
1answer
124 views

sld parser for version 1.1.0 with Openlayers

I am using Openlayers 2.11 and need to style a layer with a sld file version 1.1.0. the error it says is Uncaught Can't find a SLD parser for version 1.1.0. i have also tried it with Openlayers 2.12.
3
votes
1answer
1k views

How to use a sld file with Openlayers using OSM data?

My app, made with openlayers, displays building data called from overpass api. var data_url = "http://overpass-api.de/api/interpreter?data=(way[building](bbox);node(w););out body;"; //main working ...
2
votes
1answer
439 views

How to style a point based on Actual Attribute Values?

I have published a point layer in Geoserver, which is the data from a GPS Survey. In addition to the geometry, my layer, also contains an Attribute for Accuracy, which indicates the Accuracy in meters ...
3
votes
2answers
297 views

Problem with Styles having a Workspace

I've encountered a little problem with my styles having an assigned workspace. For one, I've got to admit that I'm not really sure what good does it make to put a certain style inside a workspace. I ...
3
votes
0answers
391 views

Add SLDs to GeoServer using REST API Fails

I have been writing some python code to automatically add data layers from PostGIS to GeoServer and attach a suitable SLD as default. I got this working using the following code: ...
3
votes
0answers
116 views

Display house numbers on the street corners

I have a street map (MuliLineString geom and house numbers min and max, left and right). I would like to show this numbers on the street corners. I use GeoServer. If I use the TextSymbolizer with ...
3
votes
0answers
316 views

SLD filter with embedded strTrim function in Geoserver

Using Geoserver 2.2.2 (GeoTools Version 8.4) on Windows 7, I'm trying to create a SLD that trims the leading and trailing spaces of a string property (using the strTrim function) and compares it to a ...
6
votes
1answer
588 views

In SLD, how do I add a string to a label describing a property?

Using Geoserver, is there any way that I can add a predefined string: "No. " to a property: postalnumber? <sld:Label> <ogc:PropertyName>postalnumber</ogc:PropertyName> ...
3
votes
1answer
386 views

Dynamic SLD styling - unique colours for linestrings

I have a postGIS table that looks like this: (plus a 'track' geometry column, a linestring for the vessel's track) sampling_interval | voyage_name | start_time_utc | id | ship_name | ...
1
vote
0answers
59 views

Is there a way to retrieve the shape of a styled object from a database?

I am working with geoserver on an oracle database. I am trying to generalize my SLDs and make them more dynamic. The idea is to store all styling information in the database and let the SLD retrieve ...
3
votes
1answer
589 views

How can I save the label style as SLD in QGIS?

In QGIS there are 2 options to style labels. Using the style properties. Using the label in the toolbox When I dbl click layer -> styles -> save as SLD , the style of the label isn't saved in ...
3
votes
1answer
945 views

Is there up to date OSM SLD file for GeoServer?

I've tried looking for some but only found old from 2009 which are apparently out of date. Any help will be welcome. This is the sld I was looking at: https://github.com/mitchelljj/openstreetmap-sld ...
3
votes
1answer
1k views

Setting transparency in an SLD file for a 4 channel GEOTIFF

I'm struggling to set the a background colour to transparent in an SLD file for a 4-channel GEOTIFF using GeoServer 2.1.4. I think I've set my background colour to transparent alpha layer in a ...
2
votes
1answer
155 views

How to draw labels with line in SLD?

I want to be able to draw labels with line. How can i do this? Just like labels with line of some USA states in Google Maps, labels with red line in right : Example from Google Maps
11
votes
2answers
1k views

SLD to Esri lyr file?

Does anybody know if there's a sw/extension to convert an SLD to Esri. lyr format, or to import the SLD directly?
1
vote
1answer
427 views

CssParameter stroke-width min max value Geoserver

I wonder if there is a minimum value for the stroke width parameter since I've a LineSymbolizer with stroke 0.1 but i want it to be thinner so i change the value to 0.05 but i dont see any difference ...
4
votes
1answer
564 views

Creating an ArcGIS Add-In to Export SLD

If I wanted to create an add-in for ArcGIS that exported the styling of a layer to SLD how much work would it be and what languages could I use? More info: I'm an experienced programmer, and have ...
7
votes
1answer
268 views

How to migrate SVG-based styles for QGIS to other computers?

I'm working on a project that has involved creating many recolourable SVG icons and bringing them into QGIS. These are then used in layer symbologies, with these subsequent layer styles exported as ...
4
votes
1answer
829 views

Mixed geometry types styling with Geoserver 2.2

I have a PostGIS table with geometry colunm. In this column i have geometries of several types (polugons, points, lines). I publish this this table on Geoserver. Now i want to create OpenLayers layer ...
2
votes
0answers
40 views

Avoid multiple labels geoserver styling [duplicate]

Possible Duplicate: Labeling Geoserver SLD I have a geoserver 2.1.x installation with SLD stylization. I have used a property to label the polygons which forms a map. But the issues is the ...
1
vote
1answer
107 views

Editing multiple SLDs

I have to edit and maintain multiple SLD's. Is there a tool to do bulk edits/ updates? I have used tools like Atlas SLD to one SLD at a time, and could use XML editing tools to potentially edit ...
6
votes
2answers
1k views

Can i do Custom Styling on Geoserver

i want to use Geoserver WMS server for custom styling. lets say i have an area as polygon in a shape file. But i dont have this area's temperature as an attribute. From a web service i gather ...
3
votes
2answers
1k views

Can QGIS automatically load an SLD with a Shapefile?

I have SLD's/lyr files with my shp/gdb files. They all have the same name except for the extension. Is it possible for me to force qgis to load the sld with the shp so that I don't need to manually go ...
3
votes
1answer
197 views

What are the differences between formats for storing styles?

I'm looking for a format for store information about data styles for my web application. There are different formats for describing vector data styles. For example, SLD, Mapnik XML, and there may be ...
4
votes
4answers
876 views

How to update a SLD file in GeoServer?

I'm working on my own geoportal. I have prepared a php page which users can describe their own SLD configuration. The SLD file will be stored in GeoServer style folder. But when I tried to view maps I ...
1
vote
1answer
412 views

Is it possible to convert a Geoserver SLD to Quantum QML format?

I have a web application which runs on Geoserver. I am migrating my application to desktop and am struck at applying the same color schemes and symbology. I am not able to find a way to convert SLDs ...
0
votes
1answer
461 views

Unexpected font family displayed using custom SLD from a published WMS using geoserver

When publishing a WMS in geoserver using a custom SLD file, I'm seeing the WMS preview correctly on my local geoserver. However, doing everything the same on a remote hosted geoserver, my seeing an ...
2
votes
0answers
462 views

What is the least painful way to style ENC data for the Web?

Currently working on a project that among other things requires displaying NOAA ENC for a web based intranet portal. We downloaded S-57 ENC data from NOAA site and successfully imported them into ...
5
votes
1answer
228 views

Is there a parellel line function for slds?

I am attempting to make an sld style which symbolizes a line with an offset. I have tried with filters, functions online graphics but can achieve only ugly results. The line consists out of 2 line ...
1
vote
2answers
2k views

Geoserver SLD for OSM valdation errors

I'm trying to build a Geoserver (V2.0.2) style file for OSM data using https://github.com/FlorentDotMe/OSM-Styles-for-GeoServer as a starting point but they produce a number of validation errors Can ...
1
vote
1answer
893 views

How to add a title in a GetLegendGraphic Request

The GetLegendGraphic request works well. I display the legend at a fixed position in my viewer using OpenLayers. But I would like to know if there is any way to add some custom text to the legend. ...
1
vote
2answers
628 views

Labels not visible at same zoom range

I am using geoserver and sld : I want to make all labels visible at all zoom levels. How can I do that with SLD? <?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor ...
3
votes
1answer
639 views

Serving 4 band GeoTIFF in GeoServer 2.1.4

I have an uncompressed GeoTIFF file (figure 1) with the following band information: Image Structure Metadata: INTERLEAVE=PIXEL Band 1 Block=5000x1 Type=Byte, ColorInterp=Red Band 2 Block=5000x1 ...
4
votes
2answers
578 views

How do you make map styles NOT appear in a legend?

I am using GeoServer to serve up OSM data. I am making use of the GetLegendGraphic command, but I do not want some of my styles to appear in the legend (for example, the styles that are ONLY for text ...