Hello!
I try to label some polygons with with its area. I try to do this via the
SLD with this Statement:
<Label>
<ogc:PropertyName>shortname</ogc:PropertyName>
(<ogc:Function name="numberFormat">
<ogc:Literal>00</ogc:Literal>
<ogc:Function name="area">
<ogc:PropertyName>geom</ogc:PropertyName>
</ogc:Function>
</ogc:Function>m^2)
</Label>
This works mostly fine(despite the numberformat, which does not matter
here), but the calculated area differs with the mapping scale (smaller
scale -> larger area). There is no projection change or so, the origin is
EPSG:25832 also the output.
Is this a bug or am i doing something wrong?
Thank you in advance
Uwe Sher
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users