Olyster
November 12, 2020, 3:08pm
1
Hi,
I'm using this vendor option to get the labels to be aligned with the
polygon :
<VendorOption name="polygonAlign">mbr</VendorOption>
As stated in the description, "If the label does not fit horizontally the
minimum bounding rectangle will be computed and a label aligned to it will
be tried out as well"
I'd like my labels to always be aligned even if it fits horizontally.
Is there a way to force this ?
Thanks
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
Olyster
November 20, 2020, 3:32pm
2
Following up ...
there's no way to force the setting.
I ended up modifying gt-render directly.
Thanks
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
Then please make sure to push the changes back to the project to help out the next person who wants to do this too.
Cheers
Ian
···
Ian Turton
Do all users want this?
Why would you want it?
Ron
On Friday, 20 November 2020, 18:32:50 CET, Ian Turton ijturton@anonymised.com wrote:
Then please make sure to push the changes back to the project to help out the next person who wants to do this too.
Cheers
Ian
On Fri, 20 Nov 2020 at 15:36, Olyster <gagnon_olivier@anonymised.com > wrote:
Following up …
there’s no way to force the setting.
I ended up modifying gt-render directly.
Thanks
–
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Ian Turton
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users