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
13 views

Is age based SLD styling possible in GeoServer?

I have a set of features in a PostGIS table, where each feature has an attribute describing when the feature was created. I would like to serve the features as a WMS layer and I would like to style ...
0
votes
1answer
17 views

GeoServer 2.7.0 WMS Scale Issue

So while using GeoServer 2.2 I did not have an issue with disappearing polygons in my display, now after upgrading to 2.7 my WMS now has scale dependent display of polygons, the data is there but not ...
0
votes
0answers
10 views

Cannot display labels properly with SLD style

I'm using sld to visualize partner name on my chart. The point is that I can't ever visualize all the names at once! This is my code: <?xml version="1.0" ...
0
votes
2answers
28 views

Geoserver efficiency in serving images

I am a little bit stack here. I want to serve a background tif using geoserver and I don't know which is the best way in terms of efficiency. My raster is 1-band GTiff UInt16 with height/terrain ...
2
votes
2answers
46 views

Use SLD to conditionally display points or polygons based on zoom level?

This is not a duplicate of: how to display polygons as points until certain zoom level? I want to do this with Geoserver v2.5.5 if possible (not openlayers). Basically - I have a layer of polygons, ...
2
votes
1answer
33 views

How to create graphic margin around labels in geoserver using sld?

I have a little problem using VendorOption - graphic-margin around labels of roads. In some cases they're drawn and somewhere they're not. You can see it on this picture. In the square its drawn ...
0
votes
0answers
21 views

Can <PropertyIsBetween> be replaced by a “AND” and two conditions in an SLD Body?

I am working on a GIS API that uses OpenLayers. I have a method that autimatically generates an SLD Body given the right properties. For this filter "azimuth > 50 AND azimuth < 100", I obtain ...
1
vote
0answers
18 views

How do I generate a WorldWind importable image file with a transparent background using an SLD file with PointSymbolizers on Geoserver?

I've been tasked with visualizing a few types of metoc data onto Worldwind based on .grib files. I'm VERY new to the GIS world and I'm just beginning to figure out how a lot of these pieces go ...
0
votes
0answers
27 views

GeoServer - Single Image Request - Graphic Label Issues

I posted this on the OSGEO GeoServer Mailing List but received no love, so I'll try here. I have GS 2.6.0. connected to a PostgreSQL 9.2 DB (PostGIS 2.1). I have an SLD where I am trying use graphic ...
1
vote
0answers
39 views

GeoServer: Get styles from PostgreSQL/PostGIS table

We're running GeoServer with all layers coming from a PostGIS data source. Most people work directly on the PostGIS database, but we have one person sitting 10.000km away, and for him, connecting to ...
1
vote
0answers
14 views

Query about How to display arrow on road in two ways if road is twoway

I am a beginner with GeoServer, i built a code for road mapping and it work but now i want to display arrow on road according to road direction in both way if road is bidirectional,then arrow should ...
3
votes
3answers
58 views

Geoserver : add extra style (SLD) with Curl

In my geoserver I have a layer with a default style (SLD) and i want to add another style to this layer with Curl. I tried command below with <style></style> instead of ...
0
votes
0answers
8 views

Place labels in the center of the geometry, not visible part of the geometry, using SLD [duplicate]

I'm trying to create labels for a index map, like this: The labels need to be in the center of each polygon, and should appear clipped when are in the border of the window. But they are placed in ...
2
votes
1answer
48 views

SLD based on two attribute values

The map below is produced in ArcGIS software using the multiple attribute visualization tool (a map based on two attributes the color represents different zones based on the zone attribute value and ...
0
votes
0answers
50 views

passing sld as a variable in parameter in ol3

I have a wms layer and I want to pass the sld variable in a parameter. I refer to Styling WMS layers in OL3 as well but cannot solve. The fiddle is http://jsfiddle.net/shumanbaral/x6qwyuvk/1/. ...
0
votes
0answers
62 views

GeoServer Style referencing SQL Server data store

I have a SQL server (2012) based data store in GeoServer (version 2.6) . For better readability I created a spatial layer with a whitespace in a column (attribute) name. Trying to use a style with ...
0
votes
1answer
47 views

the requested Style can not be used

I have added a new SLD style for my nyc_roads layer but no map is displayed with the new style. I get the error "The requested Style can not be used with this layer. The style specifies an attribute ...
1
vote
2answers
59 views

Is it possible to use simple Math in an SLD file on Geoserver?

Is it possible to use simple Math in an SLD file on Geoserver? Suppose I want to read a text size property from a database and multiply its value, how can I do this? <sld:TextSymbolizer> ...
0
votes
0answers
47 views

PNG external graphic symbol does not look smooth in Geoserver/Openlayers?

I have a problem when i'm styling point using external graphic from .png image. I use 32 bit depth .png created in Photoshop, but when it display in openlayers or geoexplorer the edge of the image ...
0
votes
0answers
36 views

Geotools/Geoserver Modifiy interpolate function with dynamic color fill

Here I am again with a different approach to my problem. I use the interpolate function in geoserver to get a choropleth from my data. The problem is that I have to hardcode the color for each value ...
0
votes
0answers
27 views

Error while editing SLD in geoexplorer

I am trying to create map with my own style with the help of geoserver and geoexplorer,but there is an error message while i am editing the style with geoexplorer, message is "There was an error ...
0
votes
0answers
67 views

how apply an SLD to vector layer in geoTools java

I have been using geoTools 11.2 in Java 1.8 to display a vector layer with a desired style of it in worldwind 2.0. I have read features and styles and created objects. I have my own defined vector ...
0
votes
0answers
73 views

How to select main cities in a country from planet OSM data

I am trying to create a map with my own style with the help of geoserver and planet OSM data,but trying to give style to the polygon at different zoom level ,need to highlight main in cities in ...
1
vote
1answer
259 views

Styling WMS layers in OL3

I have managed to get my WMS layers working in OL3. Now I want to style them, as they are all set as blue on the server side and I can't change that. I know the common answer seems to be WMS is an ...
2
votes
0answers
46 views

Linesymbolizer SLD For geoerver using SVG imags

I want to create a linesymbolizer which is consisted of a SVG (or png) image that is repeated along line. I have used this code but it does not show the image - can some one please gives me some ...
1
vote
0answers
24 views

Issue while marking to Point when multiple points exists at same location

I am facing Issue while drawing mark on points. When I am giving a image to points, image is coming only to those points where points are not overlapping. for example, if three POI exists at exact ...
2
votes
1answer
20 views

Mapserver - Standard Pointsymbolizer edited by SLD

I have pointfeatures in a OpenLayers map. Every feature has a different attribute or several have even more than one attribute. Thus I would like to use not the standard point symbols like that ...
0
votes
0answers
17 views

Sld for main city names in a country

I am working with Geoserver and Geoexplorer and try to create my own sld to style those maps. I was download osmdata and add layers to map how to filter main cities in a country using sld ?
0
votes
0answers
15 views

Sld label repeating for polygon while zooming [duplicate]

I was already referred Polygon label repeated for each tile I am working with Geoserver and Geoexplorer and try to create my own sld to style those maps. I was download osmdata and add layers to map. ...
-1
votes
1answer
96 views

What are alternatives for SLD editor?

I am working with Geoserver and Geoexplorer and try to create my own sld to style those maps. I was download osmdata and add layers to map. I was try to use Qgis and Udig for styling data,but the ...
1
vote
0answers
73 views

styling wms layer using sld in openlayers3

i want to style wms layer using sld in openlayers 3.written part of code shown below.but not any console error messages are shown and not applied styles to layer..... var sld = ...
1
vote
1answer
89 views

GeoServer rendering performance significantly affected by vector icon size

I'm having the craziest GeoServer experience right now and I was hoping to get some input on what might be causing this behaviour. I'm using Apache Bench to benchmark rendering performance for a ...
1
vote
0answers
24 views

How to use Infinity in GeoServer SLD colormapentry

I am trying to write an SLD with the last interval ending at infinity, (i.e. have the last interval include arbitrarily large numbers. Currently, I am using a large value like this: ...
0
votes
0answers
51 views

mapp css from open street map to geo server shows error message

I am using Geoserver version2.6.0 and try to create my own map with styles.. I copy style from https://github.com/gravitystorm/openstreetmap-carto/blob/master/roads.mss and try to save it in ...
0
votes
1answer
80 views

GeometryCollection styling in Geoserver

I am trying to style an GeometryCollection geometry data type from PotGIS table in Geoserver. I have not found any examples on the Internet how to do it nor is it supported in Geoserver or not. When I ...
1
vote
0answers
43 views

geoserver wms layer doesn't see

I've created a new layer, and styled with an .sld file (categorized by value). It works, if I check with Geoserver OpenLayer Preview, but when I citate for this in a .html It doesn't appear. Is the ...
0
votes
0answers
38 views

SLD for showing hatched color pattern of overlapping geometries

I am using Geoserver to serve a WMS layer to a web application which shows projects and their state-wise reach. When multiple projects are selected I want to show the states in multiple colors (based ...
1
vote
1answer
200 views

OpenLayers 3 - submit SLD text in wms call

Earlier versions of OpenLayers allowed for the submission of the text of an SLD in a call to the server side WMS. This describes the procedure, and cautions that, if your sld is too long, you ...
2
votes
1answer
137 views

Geoserver GetLegendGraphic not working for single rule

<?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" ...
1
vote
1answer
49 views

SLD supports <Displacement>?

I am trying to give style to a vector point layer published on GeoServer and I can notice the displacement command is not working. (Displacement inside PointSymbolizer Graphic) Do you know it could ...
2
votes
0answers
103 views

Geoserver SLD scale based view for multiple geometry styles

I have a FeatureStyle that draws line and adda an arraow to end point of the line. And I want to see this line and arrow by scale. So I specified a MaxScaleDenominator property. Now line is not ...
1
vote
0answers
138 views

Geoserver SLD external graphic path

<Rule> <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="glass.png" /> ...
0
votes
1answer
118 views

Apply an sld to a vector layer in OpenLayers

I'm trying to apply an sld style to a vector layer in Openlayers. I already took a look on google and here and I got a lot of informations, but still I don't manage to achieve the result I'm looking ...
0
votes
1answer
112 views

GeoServer SLD: fill a polygon with color sampled from gradient

I have a "geometry" and a "rating" column. I want to symbolize the geometries in an SLD (PolygonSymbolizer) but fill it with a color value that is interpolated between BLUE-PURPLE-RED based on the ...
1
vote
1answer
74 views

Using WMS external SLD with OpenLayers application

I want to use external SLD file in my OpenLayers application. So I created WMS layer like this: var ly= new OpenLayers.Layer.WMS("mylyer", serverurl, { layers: ...
0
votes
1answer
197 views

Apply an SLD saved on Geoserver to OpenLayers 3

I am a complete beginner in javascript, xml and code in general (so if there's anyway for me make my question more clear please tell me). I have loaded a wms onto my openlayers 3 map. The relevant ...
2
votes
0answers
87 views

SLD question regarding filter

I had a problem with my SLD today, I actually solved my issue but i'm very curious if there's another way around it, Mainly because my method is a hassle and may not work in other situations. I've ...
0
votes
1answer
70 views

Is there a way to remove shadows of piechart of GeoServer

Is there a way to remove shadows of piechart of GeoServer (Eastwood library)? GeoServer always makes shadow in piechart, while the original Google piechart API does not have shadow. Note: The ...
1
vote
0answers
41 views

GeoServer SLD PropertyIsEqualTo problem

I'm having a, frankly, super annoying problem with SLD and the ogc:PropertyIsEqualTo/ogc:PropertyIsEqualTo filters. I have 3 different GeoServer instances on 3 different machines. All instances are ...
2
votes
0answers
202 views

How to put a piechart <Graphic> in <TextSymbolizer> of a Geoserver style?

I reckon that GeoServer layer label style has excellent feature of TextSymbolizer where text label can be positioned relatively on centroid of VISIBLE PART of polygon, as oppose to a geographically ...