Tag Info

New answers tagged

0

I took the "tiger_roads.sld" from the default data_dir and modified it to add a symbol "burg02.svg" with the labelObstacle vendor option and it does seem to work for me with GeoServer 2.6 Without labelObstacle: With labelObstacle: <?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor version="1.0.0" ...


1

Geoserver labels polygons,by default at the determined centroid of the polygon. You can try the Geoserver Extension PolygonAlign to allow Geoserver to try different orientations for the label to get it to fit .. GeoServer normally tries to place labels horizontally within a polygon, and gives up if the label position is busy or if the label does not fit ...


1

if you change the StyleLayerDescriptor to this...it does validate <StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...


3

The GeoServer documentations states how to extract start and end points with geometry transformations (just use the end- point rule). The code example provided uses square as marks, but you could always replace this with e.g. the shape symbol shape://oarrow. EDIT: I forgot to mention how to rotate the triangle correctly (couldn't find it in the ...


1

The vertices function might help you, as documented in the GeoServer manual. I used this to show cadastral survey points.



Top 50 recent answers are included