Re: [Geoserver-users] Labels Burst out of their Polygons

2017-07-01 Thread Andrea Aime
Hi, in this case I encourage you to open a ticket on https://osgeo-org.atlassian.net/projects/GEOS/summary The ticket has to be reproducible on a developer machine, so please attach a sample data set, the full style, and a request showing the bug in action, against a supported version of GeoServer

Re: [Geoserver-users] Labels Burst out of their Polygons

2017-06-30 Thread FunkMonkey33
Hi Andrea, No, it's not KML. It's a basic polygon, coming from GWC/WMS, being served by postgis. We render it as an ImageMapType class, which is Google Maps' version of a tile layer. Aaron -- View this message in context:

Re: [Geoserver-users] Labels Burst out of their Polygons

2017-06-30 Thread FunkMonkey33
Hi Edward, Yes, we did play around with that. You can see in my SLD above that we are using a value of 0.9 for this. Using 1.0 doesn't help either. Thanks. Aaron -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Labels-Burst-out-of-their-Polygons-tp5326100p5326265.html

Re: [Geoserver-users] Labels Burst out of their Polygons

2017-06-30 Thread Edward Mac Gillavry
Hi, Did you investigate the goodnessOfFit vendor option (http://docs.geoserver.org/latest/en/user/styling/sld/reference/labeling.html#goodnessoffit). That way you can nudge the label placement algorithm. Best, Edward On 29-06-17 23:23, FunkMonkey33 wrote: I've seen a lot of posts like "I

Re: [Geoserver-users] Labels Burst out of their Polygons

2017-06-30 Thread Andrea Aime
On Thu, Jun 29, 2017 at 11:23 PM, FunkMonkey33 < aedwa...@ponderosa-advisors.com> wrote: > I've seen a lot of posts like "I want to render a label, even if the > polygon is too small to fit it". My problem is the opposite: I want to make > sure that a label only will render if it fits in its

[Geoserver-users] Labels Burst out of their Polygons

2017-06-29 Thread FunkMonkey33
I've seen a lot of posts like "I want to render a label, even if the polygon is too small to fit it".My problem is the opposite: I want to make sure that a label only will render if it fits in its polygon.Supposedly that's the default behavior, yet here is this: