I think this behaviour is on purpose. And for me it makes sense
(unfortunately...). If you have a raster output you will have no
problems since the data is gone, if you request not a raster map but the
data itself you want the whole feature. And Geoserver is a WMS/WFS
server and the clipping would be some Web Processing Service stuff. So I
thought it would be the easiest way to clip the data in the pdf
graphic/image.
Stefan
-----Ursprüngliche Nachricht-----
Von: Paulo Soares [mailto:[EMAIL PROTECTED]
Gesendet am: Montag, 7. Januar 2008 15:46
An: Post all your questions about iText here
Betreff: Re: [iText-questions] clipping/deleting data
You should ask the geoserver developers about that.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Ziegler Stefan
> Sent: Monday, January 07, 2008 1:58 PM
> To: itext-questions
> Subject: [iText-questions] clipping/deleting data
>
> Hi
> is there a way to have the data in the not visible area
> really clipped in terms of deleted? I'm adding a existing
> pdf-file with the follow lines:
>
> URL PdfUrl = (URL) aMap.get("url");
> PdfReader reader = new PdfReader(PdfUrl);
> Image myImg = Image.getInstance(tp);
> myImg.scaleAbsolute(width, height);
> myImg.setAbsolutePosition(marginX, marginY);
> cb.addImage(myImg);
>
> The remote pdf is also generated with itext. Sometimes it is
> really big (~1.5 Mbyte) when you'd expect something around
> 300 KByte. The software (geoserver) is delivering only whole
> features (geodata), so you see only the requested part of the
> features but in the invisible part of the pdf document is the
> whole object (e.g. a really huge street object). This
> behaviour makes the pdf unnecessary big.
>
> Thanks.
> Stefan
>
>
> Mit freundlichem Gruss
> Stefan Ziegler
> Leiter Aufsicht
>
> Kanton Solothurn
> Bau- und Justizdepartement
> Amt für Geoinformation
> Rötistrasse 4
> 4501 Solothurn
> Telefon 032 627 75 96
> Telefax 032 627 75 98
> [EMAIL PROTECTED]
> http://www.so.ch
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta
transmissão desta mensagem não significa a perca de confidencialidade.
Se esta mensagem for recebida por engano, por favor envie-a de volta
para o remetente e apague-a do seu sistema de imediato. É proibido a
qualquer pessoa que não o destinatário de usar, revelar ou distribuir
qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may
contain confidential or legally protected information. The incorrect
transmission of this message does not mean the loss of its
confidentiality. If this message is received by mistake, please send it
back to the sender and delete it from your system immediately. It is
forbidden to any person who is not the intended receiver to use,
distribute or copy any part of this message.
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/