I would like to display land parcel dimensions on a map layer. The source layer in GeoServer has the parcel boundaries as line features.
I made an attempt using the
geomLength function in an SLD, however the displayed labels appear to represent the length in pixels, not metres or any other real-world unit. The values double when I zoom in and halve when I zoom out.
This same issue was reported a few years ago in this GeoServer forum post, but there appears to be no response.
The label code I'm using is here:
You can see a sample output WMS map image here
Is there a way to label the lines with lengths in real-world units?