Hi,I have below question, please reply which file(s) to modify in geotools or geoserver source code to have different anchor points for directions(N,W,E,S,NW, ...) for point labels if maxDisplacement is used? If I use anchor point (1, 0.5) in geoserver sld file with maxDisplacement vendor option, all remaining directions(N,W,E,S,...) placing point text labels with anchor point define in sld, I want change anchor point for remaining directions or angles, how to achieve this, I found this file in geotools source code "...\geotools-24.1-project\geotools-24.1\modules\library\render\src\main\java\org\geotools\renderer\label\LabelCacheImpl.java", I changed RIGHT_UP_ANCHOR_CANDIDATES, RIGHT_DOWN_ANCHOR_CANDIDATES, ... in this file with no success, any suggestions? above question is in :which file(s) to modify in geotools source code to have different anchor points for directions(N,W,E,S,NW, ...) for point labels for maxDisplacement?
| | | | | | | | | | | which file(s) to modify in geotools source code to have different anchor... which file(s) to modify in geotools or geoserver source code to have different anchor points for directions(N,W,... | | | If solution is available in sld file of geoserver, please reply here or in below : How to achieve different Anchor Point based on N, W, E, S, NW, NE, SW, SE for point labels if max-displacement vendor option is used in geoserver sld? | | | | | | | | | | | How to achieve different Anchor Point based on N, W, E, S, NW, NE, SW, S... How to achieve point label placement should be always as shown in image,geoserver sld code: ... ...<L... | | | Thanks in advance (mmk)
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users