[Geoserver-users] unfilled polygons

I just upgraded to iText 2.1.3. Same problem here. I try my luck in the iText mailing list. Where can I find the iText/pdf related stuff in GeoServer? Is it just the PDFMapProducer class?

Stefan

-----Ursprüngliche Nachricht-----
Von: Andrea Aime [mailto:aaime@anonymised.com]
Gesendet am: Donnerstag, 11. September 2008 11:02
An: Ziegler Stefan
Cc: geoserver-users
Betreff: Re: [Geoserver-users] unfilled polygons

Ziegler Stefan ha scritto:

Hi
we are using GeoServer’s pdf output option to generate high quality
pdf-maps (we just put some title, north arrow and frame
around it with a
small servlet). Filling polygons with a raster image gives me some
headache: Sometimes some polygons are not filled with the
raster image
[1]. This only happens when setting transparent=true. They
are filled
when using transparent=false [2]. The same polygon is
filled by changing
the bounding box [3]. Please note the color of the stripes
of the left
polygon in [2] (should be the same as in the right polygon).
It occurs with shapefiles and postgis data and with
GeoServer 1.5.4,
1.6.4b and the latest trunk version.
I was looking into the PDFMapProducer class but wasn’t able to see
something special. Probably it’s an iText related problem?
Any help etc.
is appreciated!

[1] http://www.john-longo.org/geo/true.pdf
[2] http://www.john-longo.org/geo/false.pdf
[3] http://www.john-longo.org/geo/true2.pdf

Indeed it seems an issue with iText, as far as I remember we just
render PDF as we render any other image format, and iText does the
work of translating our java2d calls into a pdf output.
Maybe try your chance by upgrading iText? I believe GeoServer is
using a pretty old version, 2.0.6, whilst the latest is 2.1.3

Cheers
Andrea

Ziegler Stefan ha scritto:

I just upgraded to iText 2.1.3. Same problem here. I try my luck in the iText mailing list. Where can I find the iText/pdf related stuff in GeoServer? Is it just the PDFMapProducer class?

That class invokes the streaming renderer, that is quite a complex
piece of code. If you can provide me with sample data, sld, graphics, and requests to reproduce the issue, I can have a look into it.
If you can, please open a jira issue and attach everything there.

Cheers
Andrea