Tagged Questions

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

3
votes
1answer
1k 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
161 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
495 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
624 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
288 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
935 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
41 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
121 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
2k 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
200 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
962 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
440 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
554 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
523 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
256 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
1k 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
713 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
724 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
651 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 ...
5
votes
3answers
661 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.
1
vote
1answer
579 views

How to use rotated text labels in GeoServer based on attribute value?

I have several text layers in GeoServer, which are now shown as point layers with tiny graphic size and with labels (As mentioned in my previous question). All thses labels are, as expected, drawn ...
2
votes
2answers
2k 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 ...
1
vote
0answers
80 views

SLD for OSM data in GeoServer [duplicate]

Possible Duplicate: Standard SLDs for OpenStreetMaps? I can't find a good SLD for OSM. I downloaded the OSM data and imported it to PostGIS. With GeoServer I use it as a data source to ...
6
votes
1answer
493 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 ...
1
vote
1answer
630 views

Point size based on the scale and point color based on the attribute in SLD

I want to edit points size based on the scale and also I want to set up colors based on one attribute column (Quantities in ArcMap, 10 classes). I already wrote SLD rules for colors, but I don't ...
1
vote
1answer
609 views

Is is possible to have a sld with a rotated point symbolizer along a line in geoserver?

Geoserver 2.1.3 I would like to symbolize a line with a Square but use the <Rotation>45</Rotation> tags to make the symbol look like a diamond. My sld is below and unfortunately the ...
4
votes
3answers
550 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 ...
5
votes
2answers
993 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 ...
1
vote
0answers
226 views

How to handle multipoint symbology catalogue (as in mil2525c, tactical graphics appendix b)

Is there a general format (standards based) to store a vector based drawing description for multipoint symbology (means having several anchor points reflecting symbol point <-> geographic point ...
1
vote
2answers
440 views

How to use the SLD Filter “Difference”

I have a postgis table with polygon geometries. I would like to create an sld which first does an inside buffer, and then a difference between the buffer and the original geometry. This is basically ...
3
votes
1answer
4k 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
1k 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 ...
0
votes
1answer
2k views

GeoServer VendorOption for SLD to place labels overlapping and out of bounds

I use GeoServer 2.1.1. and have an SLD to serve a layer with labels in OpenLayers. I noticed that some labels are not displayed because other labels are to near. GeoServer wants to make your labels ...
2
votes
1answer
416 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)?
13
votes
4answers
634 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?
3
votes
2answers
2k 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 ...
15
votes
5answers
3k 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 ...
0
votes
1answer
225 views

How to get multiple SLD files of the same shapefile?

I need to get multiple SLD files for the same shapefile. Geometry is polygons, and they need to be colored by one attribute column. What is the best solution? I'm working with ArcMap2SLD or ArcMap to ...
4
votes
2answers
996 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 ...
1
vote
3answers
1k 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
242 views

How to edit symbol diameter related to the catchment area?

I have a table with column Catchment area (in km2), and I need to set symbol diameter based on that column. I need to get .sld file so I'm working with uDig but if you know better software for this, I ...
2
votes
0answers
147 views

Optimizing SLD map styling implementation

Styling a map on demand can be a great bottleneck if you don't have a good strategy to deal with it. I'm sure there is a lot of techniques to implement the styling of maps, but I would like to ask you ...
2
votes
1answer
849 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 ...
1
vote
1answer
181 views

Duplicate display of annotation in SLD script

I am using one sld file in geoserver of village parcel display. It works fine, but the issue is that the annotation(parcelno) display duplicates/replicates when I zoom in. What can I do? Thanks
0
votes
1answer
871 views

What's the best way to author SLD files from ArcGIS? [duplicate]

Possible Duplicate: How to edit or convert ArcGIS 10 layer style to a SLD's file. I'd like to be able to create styled layer description (SLD) files for use with GeoServer. I'd like to ...
2
votes
2answers
398 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 ...