2

I have a problem with a MULTIPOINT WKT string (SLD file for GeoServer) that is not displaying at all:

<WellKnownName>wkt://MULTIPOINT((-1.5 1), (0 1), (1.5 1), (-1 -1), (1 -1))</WellKnownName>

I have also tried without nested parenthesis but same issue:

<WellKnownName>wkt://MULTIPOINT(-1.5 1, 0 1, 1.5 1, -1 -1, 1 -1)</WellKnownName>

The features are not visible at all, whereas they are with a simple WellKnownName parameter such as circle.


Here is the symbol I need to produce:

enter image description here

1

Correct, it won't be painted.

Marks are "stroked" and "filled", that is, their outline is painted as a line, and if a fill is available, filled as a polygon. With points one cannot do either. Instead of doing points, you'll have to prepare very small polygons.

"circle" is indeed a small polygon.

  • So do I have to repeat 5 times the <PointSymbolizer> tag or is it possible to just repeat <WellKnownName> tags within one single <PointSymbolizer> tag? – wiltomap Jan 26 '17 at 9:44
  • buffering your multi point should work – Ian Turton Jan 26 '17 at 9:49
  • The problem is how can I positionnate the points on my symbol? I have updated my initial post to show the symbol I need. – wiltomap Jan 26 '17 at 9:55
  • @iant: How would you buffer the WKT multipoint string? <ogc:Function name="buffer"> takes a geometry column to achieve that, so it allows buffering of geolocalized points. My situation is different for the points are part of a symbol... Could you be more accurate? – wiltomap Jan 26 '17 at 15:40
  • I'd use JTS and a short java program, or QGIS and copy and paste the feature. – Ian Turton Jan 26 '17 at 15:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.