A Styled Layer Descriptor (SLD) is an XML schema specified by the Open Geospatial Consortium (OGC) for describing the appearance of map layers.
13
votes
4answers
392 views
Is there any software (with a graphical user interface) for creating Style Layer Descriptors?
Is there any software that can easily create a Styled Layer Descriptor (SLD) without using a script?
11
votes
4answers
4k views
OpenLayers: how to style WFS layer with SLD file?
I'm experimenting with a simple web mapping service build on PostGIS/GeoServer/OpenLayers stack on Win 2008 Server.
I overlay vector layer from PostGIS using:
var Index1v = new ...
11
votes
5answers
2k views
Standard SLDs for OpenStreetMaps?
We have downloaded OSM data for our region and loaded them into PostGIS using osm2pgsql. So far so good. On top we have GeoServer and we would like to expose the OSM data using WMS. We would as well ...
9
votes
3answers
7k views
How to edit or convert ArcGIS 10 layer style to a SLD's file
Greetings everyone, I am putting together a GIS server using GeoServer and need some help with importing my layer styles from ArcGIS 10 to SLD format. I have one layer in ArcMap properly symbolized ...
7
votes
1answer
2k views
Is there a free and open-source MXD to SLD converter? [duplicate]
Possible Duplicate:
How to edit or convert ArcGIS 10 layer style to a SLD’s file
I'm trying to set up a web map server for one of the government agencies in my country. Server setup's done ...
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 ...
6
votes
1answer
1k views
Styling a polygon layer using external graphics
I have a layer which is comprised of a number of different polygons symbolised according to their type.
I have set up a style which successfully filters by type then applies a corresponding fill (in ...
5
votes
1answer
94 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 ...
5
votes
3answers
312 views
Is it possilbe to change SLD from client side?
How to change predefile SLD in client side? The reason I want this is I want to turn label on and off on client side.
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 ...
5
votes
2answers
575 views
SLD encoding in GeoSever on Ubuntu
I am facing a challenge with the encoding in my SLD file in GeoServer on a Ubuntu server.
When I create a SLD file containing the danish letters æ, ø, å in the GeoServer web interface like this ...
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?
5
votes
0answers
271 views
Geoserver with SQL server consuming all my CPU
This question is long please bear me and my problem.
SQL Server Query profiler
The Sample Query from profiler that geoserver is running that corresponds to SLD I am using and not the SQL SERVER view I ...
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 ...
4
votes
2answers
297 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 ...
4
votes
3answers
314 views
Geoserver SLD for OS Mastermap
We are just looking into moving from Mapserver to Geoserver for some of out WMS needs, one of which is to serve OS Mastermap to our users.
Before i have a go at creating the SLD styles for Mastermap ...
4
votes
2answers
510 views
How to create varying opacity within a layer in Mapserver?
Suppose you have a mapfile containing a background layer and a layer with a lot of overlapping linestrings.
Now, for the overlapping linestrings, it might be good to visualize their density, thus at ...
4
votes
1answer
136 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>
...
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.
...
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 ...
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 ...
3
votes
2answers
1k views
Generating SLD dynamically using php in Geosever
I am fairly new to Geoserver and I have a question before I launch into something bigger than me: if i replace the XML code in the SLD style sheet inside geoserver with some PHP which generates the ...
3
votes
6answers
800 views
flex/AIR based SLD generator?
styling layers in GeoServer can be tedious to say the least. while Styler can relieve some of that tedium it doesn't yet work in chrome, can wreck existing styles if not carefully used & still ...
3
votes
2answers
1k views
How to style a WMS layer?
I also posted this question on stackoverflow.
I successfully overlayed a WMS layer in google maps v3, however, as the information on tiles is black on transparent, it is not well seen on dark ...
3
votes
1answer
2k views
Geoserver SLD using PropertyIsEqualTo And PropertyIsLike
I have two SLD rules one using PropertyIsEqualTo and another using PropertyIsLike
Using PropertyIsEqualTo
<Rule>
<Name>Vendor FirstVendor</Name>
...
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 | ...
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 ...
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 ...
2
votes
2answers
918 views
Text layer styling in GeoServer?
I am wondering what is the best approach to use for text layers in GeoServer. AFAIK, there is no text layer in GeoServer. But in many occassions we need to use text layers and not simply label for ...
2
votes
1answer
262 views
Using SLD to style according table column value
How to style various points with different image according to value(text) in the column of table(layer)?
2
votes
2answers
299 views
The submit button for styles in Geoserver
Say I have a layer L in Geoserver to which i attach a style S (in the GS backend i published L using S). Of course, If I use the style editor in the GS backend and change the SLD for S and then ...
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 ...
2
votes
1answer
558 views
Mapserver can't write in /var/www/mapserver/log/
I'm executing Mapserver 5.6.4 under Apache2 in a Ubuntu 10.04 machine.
I'm having problems writing log file. In the mapfile, I have:
CONFIG "MS_ERRORFILE" "/var/www/mapserver/log/mylogfile.log"
...
2
votes
1answer
833 views
Can a layer's style be modified dynamically using an SLD in OpenLayers?
I am a complete novice with GeoServer and OpenLayers. I'm trying to ascertain at what point a style is applied to a GeoServer layer which is drawn in OpenLayers, when using an SLD.
The Introduction ...
2
votes
1answer
528 views
Free Geoserver SLD for 2009 Tiger Line Data (preferably google maps color scheme)
I need to render a base map using the Open layers. I have downloaded 2009 Tiger line Data. I need to get up and running quickly. I think I can save some time if i use ready made SLDs, instead of ...
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
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 ...
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
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 ...
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
2answers
343 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 ...
1
vote
3answers
679 views
How to write SLD rules with data-defined symbol size and color?
I have shapefile with points. They are classified - Graduated colors. I made SLD file with ArcMap2SLDConverter. I have a task to manual edit SLD file to show symbol diameters relating to field Area.
...
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 ...
1
vote
1answer
390 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 ...
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 ...
1
vote
1answer
205 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
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 ...
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 ...




