I am trying to create an SLD to style a polygon; the goal is a simple block fill along with a single point image added to the most northern edge of the polygon. Something like this:
This example SLD code will add a symbol to the start point of a polygon:
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#000000</CssParameter>
</Fill>
</PolygonSymbolizer>
<PointSymbolizer>
<Geometry>
<ogc:Function name="startPoint">
<ogc:PropertyName>the_geom</ogc:PropertyName>
</ogc:Function>
</Geometry>
<Graphic>
<Mark>
<WellKnownName>square</WellKnownName>
<Fill>
<CssParameter name="fill">#00FFFF</CssParameter>
</Fill>
</Mark>
<Size>5</Size>
</Graphic>
</PointSymbolizer>
However I can't work out how to show the point symbol to the most northern edge of the polygon?
One more thing I tried: Using QGIS I can create styles and export to SLD, and using the geometry generator as follows:
closest_point( $geometry, make_point( x($geometry), y( $geometry)+20000))
This works. However when exporting this to SLD it fails due to 'not implemented yet'.