[Geoserver-users] TextSymbolizer sometimes does not show text

Hello,

I’m writing a styled layer descriptor for U.S. Cities. At certain zoom levels certain city names do not get displayed. What it looks like is that the renderer thinks the size of the text (height and length) is too large to fit at that zoom level. If I decrease the font size then I can show it at higher zoom levels than before. What I would like to have happen is to have the renderer ignore the size of the font and just display as the SLD specifies. Are there any elements or VendorOptions that will allow me to do so? I’m using openlayers.

thank you very much,


Signed,
Alessandro Ferrucci

I added a VendorOption “minGoodnessOfFit” to the TextSymbolizer and gave it a value of 0 but this did not resolve the issue. I’m using GeoServer 1.7.4

thanks

ale

On Thu, Jun 25, 2009 at 4:35 PM, Alessandro Ferrucci <alessandroferrucci@anonymised.com> wrote:

Hello,

I’m writing a styled layer descriptor for U.S. Cities. At certain zoom levels certain city names do not get displayed. What it looks like is that the renderer thinks the size of the text (height and length) is too large to fit at that zoom level. If I decrease the font size then I can show it at higher zoom levels than before. What I would like to have happen is to have the renderer ignore the size of the font and just display as the SLD specifies. Are there any elements or VendorOptions that will allow me to do so? I’m using openlayers.

thank you very much,


Signed,
Alessandro Ferrucci


Signed,
Alessandro Ferrucci

Ok,

I resolved the issue the correct VendorOption was “goodnessOfFit” with a value of 0.

Thank you

Alessandro Ferrucci

On Thu, Jun 25, 2009 at 4:43 PM, Alessandro Ferrucci <alessandroferrucci@anonymised.com> wrote:

I added a VendorOption “minGoodnessOfFit” to the TextSymbolizer and gave it a value of 0 but this did not resolve the issue. I’m using GeoServer 1.7.4

thanks

ale

On Thu, Jun 25, 2009 at 4:35 PM, Alessandro Ferrucci <alessandroferrucci@anonymised.com> wrote:

Hello,

I’m writing a styled layer descriptor for U.S. Cities. At certain zoom levels certain city names do not get displayed. What it looks like is that the renderer thinks the size of the text (height and length) is too large to fit at that zoom level. If I decrease the font size then I can show it at higher zoom levels than before. What I would like to have happen is to have the renderer ignore the size of the font and just display as the SLD specifies. Are there any elements or VendorOptions that will allow me to do so? I’m using openlayers.

thank you very much,


Signed,
Alessandro Ferrucci


Signed,
Alessandro Ferrucci


Signed,
Alessandro Ferrucci