Re: [Geoserver-users] Geoserver Mapfish: how to print in multiple pages?
> "" >> ], >> "customParams":{ >> } >> } >>], >>"pages":[ >> { >> "bbox":[25.9937515258789, 31.9969902038574, 27.2562484741211, >> 33.0051727294922], >> "rotation":0, >> "mapTitle":"A custom title", >> "comment":"A custom comment" >> } >>] >> } >> >> ## >> >> This request result in printing the map in only one page with a high >> scale (1:1000,000). >> >> My question is how to print this map with a lower scale (e.g. 1:100,000), >> so that it fits in more than one page? >> >> I've tried to encrease the map size in the config.yaml file to be more >> than the page size, but results in the following exception: >> >> Error while generating PDF: >> com.itextpdf.text.DocumentException: com.itextpdf.text.DocumentException: >> Infinite table loop; row content is larger than the page (for instance >> because you didn't scale an image). >> at com.itextpdf.text.pdf.PdfDocument.add(PdfDocument.java:786) >> at com.itextpdf.text.Document.add(Document.java:278) >> at org.mapfish.print.config.layout.Page$1.add(Page.java:76) >> at org.mapfish.print.config.layout.MapBlock.render(MapBlock.java:81) >> at org.mapfish.print.config.layout.Page.render(Page.java:73) >> at org.mapfish.print.config.layout.MainPage.render(MainPage.java:63) >> at org.mapfish.print.config.layout.Layout.render(Layout.java:59) >> at >> org.mapfish.print.output.AbstractOutputFormat.doPrint(AbstractOutputFormat.java:30) >> at >> org.mapfish.print.output.PdfOutputFactory.print(PdfOutputFactory.java:58) >> >> What is my problem? >> >> Thanks, >> Fawzy >> >> -- >> Securely sent with Tutanota. Claim your encrypted mailbox today! >> https://tutanota.com >> >> 5. Aug 2018 06:28 by br...@frogmouth.net: >> >> I’m not at all familiar with this, but how have you defined the pages >> part of the {SPEC} you’re using? >> >> >> >> More generally, what have you already tried, what happened, and what were >> you expecting to happen instead? >> >> >> >> Brad >> >> >> >> *From:* faw...@tutamail.com >> *Sent:* Saturday, 4 August 2018 9:27 PM >> *To:* Geoserver Users >> *Subject:* [Geoserver-users] Geoserver Mapfish: how to print in multiple >> pages? >> >> >> >> Hi all, >> >> I need to print a large map with a high resolution. >> >> I wonder is it possible to print such a map in more than one page? and >> how? >> >> I've tested the Mapfish Printing Demo that comes with Geoserver admin >> page, but it only print in one page, even if I enlarge the map extent and >> resolution. >> >> >> >> Regards, >> >> Fawzy >> >> >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Geoserver-users mailing list >> >> Please make sure you read the following two resources before posting to >> this list: >> - Earning your support instead of buying it, but Ian Turton: >> http://www.ianturton.com/talks/foss4g.html#/ >> - The GeoServer user list posting guidelines: >> http://geoserver.org/comm/userlist-guidelines.html >> >> If you want to request a feature or an improvement, also see this: >> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer >> >> >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> > > > -- > > == > > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > == > Ing. Alessio Fabiani > > @alfa7691 > Founder/Technical Lead > > > GeoSolutions S.A.S. > Via di Montramito 3/A - 55054 Massarosa (LU) - Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 331 6233686 > > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > --- > > Con rife
Re: [Geoserver-users] Geoserver Mapfish: how to print in multiple pages?
gt; "rotation":0, >> "mapTitle":"A custom title", >> "comment":"A custom comment" >> } >>] >> } >> >> ## >> >> This request result in printing the map in only one page with a high >> scale (1:1000,000). >> >> My question is how to print this map with a lower scale (e.g. 1:100,000), >> so that it fits in more than one page? >> >> I've tried to encrease the map size in the config.yaml file to be more >> than the page size, but results in the following exception: >> >> Error while generating PDF: >> com.itextpdf.text.DocumentException: com.itextpdf.text.DocumentException: >> Infinite table loop; row content is larger than the page (for instance >> because you didn't scale an image). >> at com.itextpdf.text.pdf.PdfDocument.add(PdfDocument.java:786) >> at com.itextpdf.text.Document.add(Document.java:278) >> at org.mapfish.print.config.layout.Page$1.add(Page.java:76) >> at org.mapfish.print.config.layout.MapBlock.render(MapBlock.java:81) >> at org.mapfish.print.config.layout.Page.render(Page.java:73) >> at org.mapfish.print.config.layout.MainPage.render(MainPage.java:63) >> at org.mapfish.print.config.layout.Layout.render(Layout.java:59) >> at >> org.mapfish.print.output.AbstractOutputFormat.doPrint(AbstractOutputFormat.java:30) >> at >> org.mapfish.print.output.PdfOutputFactory.print(PdfOutputFactory.java:58) >> >> What is my problem? >> >> Thanks, >> Fawzy >> >> -- >> Securely sent with Tutanota. Claim your encrypted mailbox today! >> https://tutanota.com >> >> 5. Aug 2018 06:28 by br...@frogmouth.net: >> >> I’m not at all familiar with this, but how have you defined the pages >> part of the {SPEC} you’re using? >> >> >> >> More generally, what have you already tried, what happened, and what were >> you expecting to happen instead? >> >> >> >> Brad >> >> >> >> *From:* faw...@tutamail.com >> *Sent:* Saturday, 4 August 2018 9:27 PM >> *To:* Geoserver Users >> *Subject:* [Geoserver-users] Geoserver Mapfish: how to print in multiple >> pages? >> >> >> >> Hi all, >> >> I need to print a large map with a high resolution. >> >> I wonder is it possible to print such a map in more than one page? and >> how? >> >> I've tested the Mapfish Printing Demo that comes with Geoserver admin >> page, but it only print in one page, even if I enlarge the map extent and >> resolution. >> >> >> >> Regards, >> >> Fawzy >> >> >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Geoserver-users mailing list >> >> Please make sure you read the following two resources before posting to >> this list: >> - Earning your support instead of buying it, but Ian Turton: >> http://www.ianturton.com/talks/foss4g.html#/ >> - The GeoServer user list posting guidelines: >> http://geoserver.org/comm/userlist-guidelines.html >> >> If you want to request a feature or an improvement, also see this: >> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer >> >> >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> > > > -- > > == > > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > == > Ing. Alessio Fabiani > > @alfa7691 > Founder/Technical Lead > > > GeoSolutions S.A.S. > Via di Montramito 3/A - 55054 Massarosa (LU) - Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 331 6233686 > > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > --- > > Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE > 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si > precisa che ogni circostanza inerente alla presente email (il suo > contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è > riservata al/i solo
Re: [Geoserver-users] Geoserver Mapfish: how to print in multiple pages?
than the page (for instance > because you didn't scale an image). > at com.itextpdf.text.pdf.PdfDocument.add(PdfDocument.java:786) > at com.itextpdf.text.Document.add(Document.java:278) > at org.mapfish.print.config.layout.Page$1.add(Page.java:76) > at org.mapfish.print.config.layout.MapBlock.render(MapBlock.java:81) > at org.mapfish.print.config.layout.Page.render(Page.java:73) > at org.mapfish.print.config.layout.MainPage.render(MainPage.java:63) > at org.mapfish.print.config.layout.Layout.render(Layout.java:59) > at > org.mapfish.print.output.AbstractOutputFormat.doPrint(AbstractOutputFormat.java:30) > at > org.mapfish.print.output.PdfOutputFactory.print(PdfOutputFactory.java:58) > > What is my problem? > > Thanks, > Fawzy > > -- > Securely sent with Tutanota. Claim your encrypted mailbox today! > https://tutanota.com > > 5. Aug 2018 06:28 by br...@frogmouth.net: > > I’m not at all familiar with this, but how have you defined the pages part > of the {SPEC} you’re using? > > > > More generally, what have you already tried, what happened, and what were > you expecting to happen instead? > > > > Brad > > > > *From:* faw...@tutamail.com > *Sent:* Saturday, 4 August 2018 9:27 PM > *To:* Geoserver Users > *Subject:* [Geoserver-users] Geoserver Mapfish: how to print in multiple > pages? > > > > Hi all, > > I need to print a large map with a high resolution. > > I wonder is it possible to print such a map in more than one page? and how? > > I've tested the Mapfish Printing Demo that comes with Geoserver admin > page, but it only print in one page, even if I enlarge the map extent and > resolution. > > > > Regards, > > Fawzy > > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Alessio Fabiani @alfa7691 Founder/Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A - 55054 Massarosa (LU) - Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 331 6233686 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver Mapfish: how to print in multiple pages?
ened, and what were you > expecting to happen instead? > > > > Brad > > > > From:> > faw...@tutamail.com <mailto:faw...@tutamail.com>> <> > faw...@tutamail.com <mailto:faw...@tutamail.com>> > > Sent:> Saturday, 4 August 2018 9:27 PM > To:> Geoserver Users <> geoserver-users@lists.sourceforge.net > <mailto:geoserver-users@lists.sourceforge.net>> > > Subject:> [Geoserver-users] Geoserver Mapfish: how to print in multiple > pages? > > > > Hi all, > > I need to print a large map with a high resolution. > > I wonder is it possible to print such a map in more than one page? and how? > > I've tested the Mapfish Printing Demo that comes with Geoserver admin page, > but it only print in one page, even if I enlarge the map extent and > resolution. > > > > Regards, > > Fawzy > > >-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver Mapfish: how to print in multiple pages?
On 08/04/2018 01:27 PM, faw...@tutamail.com wrote: > Hi all, > > I need to print a large map with a high resolution. > > I wonder is it possible to print such a map in more than one page? and how? > > I've tested the Mapfish Printing Demo that comes with Geoserver admin > page, but it only print in one page, even if I enlarge the map extent > and resolution. Not very familiar with complex mapfish layouts but 2 solutions come to my mind: - client side create a large page (larger than a4 or letter) and use some tool on the client to print on multiple a4 or letter pages a large pdf. - server side create a config.yaml with as many pages as needed to put a section of the map on each page. Example: you create a config.yaml file with four pages and put on each NW, NE, SE, SW of the map. My 2 cents maxx -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver Mapfish: how to print in multiple pages?
I’m not at all familiar with this, but how have you defined the pages part of the {SPEC} you’re using? More generally, what have you already tried, what happened, and what were you expecting to happen instead? Brad From: faw...@tutamail.com Sent: Saturday, 4 August 2018 9:27 PM To: Geoserver Users Subject: [Geoserver-users] Geoserver Mapfish: how to print in multiple pages? Hi all, I need to print a large map with a high resolution. I wonder is it possible to print such a map in more than one page? and how? I've tested the Mapfish Printing Demo that comes with Geoserver admin page, but it only print in one page, even if I enlarge the map extent and resolution. Regards, Fawzy -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Geoserver Mapfish: how to print in multiple pages?
Hi all, I need to print a large map with a high resolution. I wonder is it possible to print such a map in more than one page? and how? I've tested the Mapfish Printing Demo that comes with Geoserver admin page, but it only print in one page, even if I enlarge the map extent and resolution. Regards, Fawzy -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users