0
votes
1answer
21 views

WMS Geometry Vector point label Styling

How can we add category based styling to geometry point my application show geoserver rendered map, and all the map POI are directly fetched from database and shown to the map.i need know how we can ...
6
votes
2answers
145 views

Is it necessary to master openlayers to use geoserver?

Is it necessary to learn openlayers to use geoserver? Can i completely ignore OpenLayers so long as i master using geoserver to publish data on my website because i understand openlayers is contained ...
0
votes
1answer
49 views

select (click) labels in openlayers

I have the following style for an OpenLayers vector layer. Color and Name come from Geoserver/PostGIS. I red that setting labelSelect to true, user can also click the label, not only the point and ...
1
vote
1answer
24 views

Geoserver getlegend graphic returning diagonal lines for polygon

I have been developing a dot density map using certain attributes and have been successful in doing so. But there has been a problem while getting the legend from geoserver wms using a ...
0
votes
0answers
115 views

How to use SLD to filter a WMS layer but without setting any styles?

I'm trying to filter (using OpenLayers) a WMS layer, served by MapServer. I've got this working by building the appropriate OpenLayers.Filter rule(s) with an empty Polygon symbolizer (so no specific ...
4
votes
1answer
107 views

Does WMS GetFeatureInfo takes into account the applied Style (SLD)?

As the title says, does WMS GetFeatureInfo takes into account the applied style to a layer? For example I have layer of all US States and I applied the following SLD: <PropertyIsEqualTo> ...
2
votes
1answer
103 views

OpenLayers.Format.SLD - Ignores 'matchCase'?

I've trying to use OpenLayers to construct an SLD element to include in a WMS layer's parameters. This SLD document can contain a number of filters. This works fine and resultant SLD does work to ...
2
votes
2answers
175 views

How do I generate SLD programmatically?

Is there any api,pulgin for generating SLD? Note: I want to generate SLD programatically. I have property stored in database from which i would like to generate sld. I also want to generate various ...
0
votes
1answer
123 views

Any ideas to display SLD TextSymbolizer property in Open Layers

I'm trying to display the SLD TextSymbolizer property for a vector layer in Open Layers but i found that ít's not supported. Has anyone ever dealt with this issue? I found these links but I have ...
0
votes
1answer
418 views

provide an alternative “label” when styling vector layer with openlayers

I'm using openlayers 2.12 and I am styling a vector layer using your typical new OpenLayers.Style({ Now, this layer does two things. First , renders polygons from Geoserver, so in the style I have ...
1
vote
0answers
50 views

georectification via SLD is not appearing at the correct place

I am trying to georectify layers on the fly (feeded by Geoserver) in OpenLayers. To do so, we have created a style (SLD) in Geoserver that does the georectification provided that we feed it a ...
0
votes
0answers
393 views

Show vector external graphic .svg or .png in map units with vector style?

Is possible define vector style to show vector external graphic file on map in map units? My vector is shown in fixed size. External graphic are from .svg and .png file. I tried both of file. I ...
0
votes
2answers
127 views

Linking sld to vector layer

I have created a vector layer by reading a geojson file and I have a SLD file created for this layer. I am wondering how do I link the SLD file to the layer. I had a read of this example on Openlayers ...
1
vote
1answer
161 views

Issue showing multiple labels on a polygon of a OpenLayers

I am facing an issue, that I want to show multiple labels on each polygon of openlayers. I am defining styles in style editor of a layer.like <sld:Label> ...
0
votes
1answer
746 views

How to dynamically change SLD style of WMS layer being served by GeoServer from PostGIS?

How can I dynamically change a SLD style of a WMS layer being served by GeoServer from PostGIS?
1
vote
1answer
286 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
177 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
100 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
88 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
175 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: ...
0
votes
2answers
85 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
239 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 ...
0
votes
1answer
214 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
1answer
98 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
804 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 ...
3
votes
1answer
863 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
2answers
558 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
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 ...
12
votes
4answers
6k 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 ...