A Styled Layer Descriptor (SLD) is an XML schema specified by the Open Geospatial Consortium (OGC) for describing the appearance of map layers.
1
vote
0answers
15 views
How to make interpolation with SLD?
I want to make color interpolation with SLD on Geoserver. Interpolation works fine. But i need to know min, middle and max property values to make it correct. So i want to know this values, i says:
...
1
vote
0answers
28 views
Dynamic SLD styling based on min / max value in a PostGIS column
I have a PostGIS table that contains the GDP of countries together with their polygon boundaries. I am using GeoServer to display this data via OpenLayers.
When styling the data, I want to avoid ...
1
vote
0answers
13 views
Geoserver not buffering external graphic in PointSymbolizer
We've got some Point data we're displaying in a WMS layer using geoserver 2.2 (same problem on 2.3.1). We style it with the following SLD
<Rule>
<PointSymbolizer>
<Graphic>
...
0
votes
0answers
15 views
Arrow labels not rendered correctly
Geoserver SLD:
<sld:LineSymbolizer>
<sld:Stroke>
<sld:CssParameter name="stroke">
<ogc:PropertyName>geo_color</ogc:PropertyName>
...
1
vote
1answer
42 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 ...
0
votes
0answers
25 views
Dynamically scaling PointSymbolizer with external svg without using scaledenominator filter in sld
In this example taken from Graphic Symbology - External Graphics,
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" ...
0
votes
0answers
32 views
SLD based selection on WMS layers - How to set the new style of clicked point?
I'm trying to follow this example:
http://openlayers.org/dev/examples/SLDSelect.html
When I click on the point, its color should be changed, here is a piece of my code:
control = new ...
4
votes
2answers
72 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.
...
0
votes
0answers
35 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
75 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 ...
2
votes
0answers
33 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
24 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 ...
0
votes
0answers
28 views
Rotation on label in PointSymbolizer
I have a point symbolizer that should display a symbol image and a label text. Rotation on the symbol works, but I have not found out how to rotate the label text.
This is what I have:
...
1
vote
2answers
48 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
1answer
32 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 ...
0
votes
0answers
69 views
Problem in GeoServer with applying automaticly created SLD to a layer
I'm trying to create an automatic procedure for uploading shapefiles on a drupal portal website (see Create CMS system using Cartaro for my previous post that is related to this).
Today I've started ...
1
vote
0answers
37 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
51 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
96 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
118 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
107 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 ...
0
votes
0answers
63 views
Masking NaN values in raster as transparent in SDL
I have several floating point raster files where nodata values are signified by NaNs. I would like to mask these values as transparent using an SDL style before uploading to GeoServer. However, when ...
1
vote
0answers
69 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
0answers
65 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
91 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
0answers
34 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.
2
votes
1answer
249 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
83 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 ...
0
votes
0answers
314 views
How to convert *.lyr to *.sld using ArcMap 10.1?
I want to convert .lyr to .sld in arcmap 10.1
I saw there is a program to do it, arcmap2sldconverter, but it does work only in 10.0
Or some thing which would create .sld file would also be helpful.
...
2
votes
1answer
103 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 ...
1
vote
0answers
179 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
77 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
133 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 ...
4
votes
1answer
135 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
128 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
38 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 ...
1
vote
1answer
204 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
...
1
vote
0answers
177 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
111 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
5
votes
0answers
171 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
148 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 ...
7
votes
1answer
151 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
299 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
29 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
89 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 ...
5
votes
2answers
658 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
1answer
394 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
141 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
451 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
225 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 ...





