Tag Info

New answers tagged

1

I found an answer right away at mapserver. Cartographical Symbol Construction with MapServer¶ http://mapserver.org/mapfile/symbology/construction.html Other ideas are very much appreciated!


0

You actually forgot to mention, nor included it in the graph, how you measure "icon size": 1) width/height on the X-axis, 2) pixel area of icon in number of pixels I guess it is 1), based on regular icon sizes. That probably explains your graph: the increase in icon area size as measured in number of pixels is quadratic, each doubling of the width, ...


0

What you are seeing is the correct behaviour as described by the SLD Spec. If you want to only apply one symbolizer to a feature then you need to provide a filter that selects one (or more) of the symbolizers for each feature. The GeoServer documentation covers how to handle multiple geometries in one column quiet clearly here.


1

The documentation for params is correct when it says: "At least a LAYERS param is required. STYLES is '' by default. VERSION is 1.3.0 by default. WIDTH, HEIGHT, BBOX and CRS (SRS for WMS version < 1.3.0) will be set dynamically.". So when you want to set SLD_BODY, you also have to unset STYLES: source.updateParams({STYLES: undefined, SLD_BODY: ...


3

If you add LEGEND_OPTIONS parameter to your request and the value forceLabels:on then you can force GeoServer to draw the text for a single rule. Here is an example of a request: ...


0

SLD 1.0.0 specification can be downloaded from https://portal.opengeospatial.org/files/?artifact_id=1188 Read below what is written about the Graphic. In short, Displacement does not work because it is not supported for Graphic. A Graphic is a “graphic symbol” with an inherent shape, color(s), and possibly size. A “graphic” can be very informally defined ...



Top 50 recent answers are included