Quick question, how do i add a legend to the printout? 2011/4/12 Andreas Hocevar <[email protected]>
> Hi, > > this depends on the scales you have available in config.yaml. To match the > map resolutions you have in the browser, replace the default scales with the > following: > > scales: > - 524288000 > - 262144000 > - 131072000 > - 65536000 > - 32768000 > - 16384000 > - 8192000 > - 4096000 > - 2048000 > - 1024000 > - 512000 > - 256000 > - 128000 > - 64000 > - 32000 > - 16000 > - 8000 > - 4000 > - 2000 > - 1000 > > Regards, > Andreas. > > On Apr 12, 2011, at 11:00 , Jude Mwenda wrote: > > > Hi, > > That worked. Thanks. Quick question. On clicking print, the map fails to > fully fit on the page/view. Any properties to change? Including the template > of the pdf? The map area fails to fit on the viewer? Any pointers on how to > solve this? > > > > 2011/4/12 Simone Dalmasso <[email protected]> > > Hi, > > I had the same issue and I solved by editing the > geoserver-data/printing/config.yaml file and adding the !dnsMatch rule like > follows: > > > > hosts: > > - !localMatch > > dummy: true > > - !dnsMatch > > host: tile.openstreetmap.org > > > > Hope this helps. > > > > Simone > > > > 2011/4/12 Jude Mwenda <[email protected]> > > Hi, > > I am having issues printing maps with OSM as the base layer. I get the > error depicted below. On searching this issue it seems there is something i > am doing wrong. Any pointers on how to solve this? Thanks > > > > org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has > an invalid value: > > > > > > > > > > > > -- > > Simone Dalmasso, Ing. > > ITHACA > > Information Technology for Humanitarian Assistance, Cooperation and > Action > > www.ithacaweb.org > > Via Pier Carlo Boggio 61 - 10138 Torino > > Tel: +39.011.1975.1860 > > > > -- > Andreas Hocevar > OpenGeo - http://opengeo.org/ > Expert service straight from the developers. > >
