Tag Info

New answers tagged

0

You can do line offsets using geometry "offset" function: <LineSymbolizer> <Geometry> <ogc:Function name="offset"> <ogc:PropertyName>geom</ogc:PropertyName> <ogc:Literal>0.00004</ogc:Literal> <ogc:Literal>-0.00004</ogc:Literal> ...


0

sorry, just got it to work. My mistake was, that I missed the workspace in my url of the wms...


0

This is modification of burg.sld that comes along with geoserver. I have provided earthquake.png in styles directory of GEOSERVER_DATA_DIRECTORY. <?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" ...


0

Here is the simple version var aVectorLayer = new OpenLayers.Layer.Vector('someLayer', someOptions); //apply the stylemap with ajax request OpenLayers.Request.GET({ url: "some_sld_url", success: function(req) { var format = new OpenLayers.Format.SLD(); var sld = format.read(req.responseXML || ...


0

I think Literal is always required with that operator. Morever this snippet code is not valid because seems OR or AND condition: take a look here. An example of your code could be: <ogc:Or> <ogc:PropertyIsEqualTo> <ogc:PropertyName>aaaaaa</ogc:PropertyName> <ogc:Literal>cccccc</ogc:Literal> ...


1

Figured it out! The following SLD uses a rendering transformation to call "gs:Clip", which clips vector features to a bounding geometry. The result is then rasterized by GeoServer's WMS. <?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor version="1.0.0" xmlns:ogc="http://www.opengis.net/ows" ...


1

I finally solved the problem. I hope it might be useful to someone else... This is the string I needed it so that GeoServer could see my image xlink:href="file:///C:/Program%20Files%20(x86)/Boundless/OpenGeo/jetty/webapps/geoserver/data/styles/cliente.png"/> It finally worked! And I also find out that GeoServer cannot access all the folder of your pc, ...



Top 50 recent answers are included