Hi,
Johnathan is right, I was looking at an old yaml for mapfish-print 1.2.
That setting has changed name from 1.2 to 2.0.
Thanks Johnathan.
Mauro
2014-06-13 16:56 GMT+02:00 Bettina Lechner <[email protected]>:
> Jonathan,
>
>
>
> Thanks for your reply! I noticed in your config, it’s “iconMaxHeight”
> instead of “maxIconHeight” and changed it to that in mine and that fixed
> it. Thanks!
>
>
>
> Bettina
>
> (402) 554-2088
>
>
>
>
>
> *From:* Jonathan Moules [mailto:[email protected]]
> *Sent:* Friday, June 13, 2014 09:51
> *To:* Bettina Lechner
> *Cc:* Mauro Bartolomeoli; [email protected]
>
> *Subject:* Re: [Geoserver-users] Chloropleth legend printing
>
>
>
> Hi Bettina,
>
> Just worth checking, have you confirmed that your GetLegendGraphics is
> returning with a full sized legend? It almost certainly is, but worth
> checking.
>
>
>
> My legend is attached below and scales up to fairly large legends:
>
>
>
> #Legend
> - !columns
> #This line determines if the legend is shown in the template.
> condition: legends
> absoluteX: 37
> absoluteY: 814
> width: 160
> config:
> borderWidth: 1
> cells:
> - borderWidth: 1
> borderColor: #555555
> padding: 5
> items:
> - !legends
> iconMaxWidth: 145
> iconMaxHeight: 200
> defaultScale: 0.5
> maxWidth: 150
> #Padding between layers
> layerSpace: 5
> layerFont: Helvetica
> layerFontSize: 8
> #Padding between text and icon within layer
> classSpace: 2
> classIndentation: 5
> classFont: Helvetica
> classFontSize: 8
> backgroundColor: white
> inline:true
>
>
>
> Cheers,
>
> Jonathan
>
>
>
>
>
>
>
> On 13 June 2014 15:21, Bettina Lechner <[email protected]> wrote:
>
> Mauro,
>
>
>
> Thank you for your reply again. Unfortunately, this does not work in my
> case. I still get the tiny legend entry even with maxIconHeight: 0.
>
>
>
> Bettina
>
> [email protected]
>
>
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Mauro Bartolomeoli
> *Sent:* Friday, June 13, 2014 02:53
> *To:* Bettina Lechner
> *Cc:* [email protected]
> *Subject:* Re: [Geoserver-users] Chloropleth legend printing
>
>
>
> Hi Bettina,
>
> usually a maxIconHeight: 0 setting inside the !legends block solves this
> kind of issues. This removes the default maxHeight for icons so that they
> can extend up to real generated image height.
>
>
>
> Mauro
>
>
>
> 2014-06-12 20:49 GMT+02:00 Bettina Lechner <[email protected]>:
>
> Hello,
>
>
>
> I am using the MapFish printing plugin (print-lib-2.0-SNAPSHOT-20140410)
> with GeoServer 2.5.1.
>
>
>
> When I try to print a chloropleth layer with multiple symbols based on
> values, the entry for that layer in the legend is too small. A PDF with
> the small legend entry is at
> https://unomaha.box.com/s/8qfxjyhrx9reaaotq7q2. My config is at
> http://pastebin.com/c3D5nbGh
>
>
>
> Is there anything I can fix on my end?
>
>
>
> Thank you!
>
>
>
> Bettina
>
> [email protected]
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
>
>
> --
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
>
>
> Dott. Mauro Bartolomeoli
>
> @mauro_bart
>
> Senior Software Engineer
>
>
>
> GeoSolutions S.A.S.
>
> Via Poggio alle Viti 1187
>
> 55054 Massarosa (LU)
>
> Italy
>
> phone: +39 0584 962313
>
> fax: +39 0584 1660272
>
>
>
> http://www.geo-solutions.it
>
> http://twitter.com/geosolutions_it
>
>
>
> -------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
> This transmission is intended for the named addressee(s) only and may
> contain confidential, sensitive or personal information and should be
> handled accordingly. Unless you are the named addressee (or authorised to
> receive it for the addressee) you may not copy or use it, or disclose it to
> anyone else. If you have received this transmission in error please notify
> the sender immediately. All email traffic sent to or from us, including
> without limitation all GCSX traffic, may be subject to recording and/or
> monitoring in accordance with relevant legislation.
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users