Simone asked me to bring this up on the list instead of direct.
Using the latest source from github, (https://github.com/geosolutions-it/mapfish-print)
I built a war and put it on our server.
Using this url:
http://204.62.18.181:8090/print-servlet-2.0-SNAPSHOT_GS/
you get the test screen.
Paste this text:
{
layout: ‘Letter portrait’,
title: ‘A simple example’,
srs: ‘EPSG:900913’,
units: ‘meters’,
layers: [
{
type: ‘WMS’,
format: ‘image/png’,
layers: [‘ogi:oklakes’,‘ogi:quad100’,‘ogi:okzip’],
baseURL: ‘http://204.62.18.181/geoserver/wms’,
customParams: {TRANSPARENT:true}
}
],
pages: [
{
center: [-10964969.841611111, 4230671.17964707],
scale: 1000000,
dpi: 190,
mapTitle: “OKMaps”,
comment: “”,
data: [
{id:1, name: ‘blah’, icon: ‘icon_pan’},
{id:2, name: ‘blip’, icon: ‘icon_zoomin’}
]
}
]
}
Click “Get Print” and you get an error:
org.mapfish.print.JsonMissingException: attribute [spec.forwardHeaders] missing
I also tried this with the main trunk of mapfish-print 2.0, and it works fine.
Thanks!
Roger
Ciao Roger,
while this should be fixed for good, I confirm the suggested fix does work.
Regards,
Simone Giannecchini
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Simone Giannecchini
@simogeo
Founder/Director
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
On Tue, Mar 18, 2014 at 12:31 PM, Mauro Bartolomeoli
<mauro.bartolomeoli@anonymised.com> wrote:
Hi Roger,
the forwardHeaders parameter should be optional, but apparently is not (I
will check and provide a fix).
For the moment, could you try adding:
"forwardHeaders":
to the root of your spec?
Mauro
2014-03-17 20:50 GMT+01:00 Roger Bedell <sylvanascent@anonymised.com>:
Simone asked me to bring this up on the list instead of direct.
Using the latest source from github,
(https://github.com/geosolutions-it/mapfish-print)
I built a war and put it on our server.
Using this url:
http://204.62.18.181:8090/print-servlet-2.0-SNAPSHOT_GS/
you get the test screen.
Paste this text:
{
layout: 'Letter portrait',
title: 'A simple example',
srs: 'EPSG:900913',
units: 'meters',
layers: [
{
type: 'WMS',
format: 'image/png',
layers: ['ogi:oklakes','ogi:quad100','ogi:okzip'],
baseURL: 'http://204.62.18.181/geoserver/wms’,
customParams: {TRANSPARENT:true}
}
],
pages: [
{
center: [-10964969.841611111, 4230671.17964707],
scale: 1000000,
dpi: 190,
mapTitle: "OKMaps",
comment: "",
data: [
{id:1, name: 'blah', icon: 'icon_pan'},
{id:2, name: 'blip', icon: 'icon_zoomin'}
]
}
]
}
Click "Get Print" and you get an error:
org.mapfish.print.JsonMissingException: attribute [spec.forwardHeaders]
missing
I also tried this with the main trunk of mapfish-print 2.0, and it works
fine.
Thanks!
Roger
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
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
-------------------------------------------------------
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Thanks!
I’ll give it a try straight away.
Roger
···
On Wed, Mar 19, 2014 at 8:08 PM, Simone Giannecchini <simone.giannecchini@anonymised.com> wrote:
Ciao Roger,
while this should be fixed for good, I confirm the suggested fix does work.
Regards,
Simone Giannecchini
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Simone Giannecchini
@simogeo
Founder/Director
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
On Tue, Mar 18, 2014 at 12:31 PM, Mauro Bartolomeoli
<mauro.bartolomeoli@anonymised.com1107…> wrote:
Hi Roger,
the forwardHeaders parameter should be optional, but apparently is not (I
will check and provide a fix).
For the moment, could you try adding:
“forwardHeaders”:
to the root of your spec?
Mauro
2014-03-17 20:50 GMT+01:00 Roger Bedell <sylvanascent@anonymised.com>:
Simone asked me to bring this up on the list instead of direct.
Using the latest source from github,
(https://github.com/geosolutions-it/mapfish-print)
I built a war and put it on our server.
Using this url:
http://204.62.18.181:8090/print-servlet-2.0-SNAPSHOT_GS/
you get the test screen.
Paste this text:
{
layout: ‘Letter portrait’,
title: ‘A simple example’,
srs: ‘EPSG:900913’,
units: ‘meters’,
layers: [
{
type: ‘WMS’,
format: ‘image/png’,
layers: [‘ogi:oklakes’,‘ogi:quad100’,‘ogi:okzip’],
baseURL: ‘http://204.62.18.181/geoserver/wms’,
customParams: {TRANSPARENT:true}
}
],
pages: [
{
center: [-10964969.841611111, 4230671.17964707],
scale: 1000000,
dpi: 190,
mapTitle: “OKMaps”,
comment: “”,
data: [
{id:1, name: ‘blah’, icon: ‘icon_pan’},
{id:2, name: ‘blip’, icon: ‘icon_zoomin’}
]
}
]
}
Click “Get Print” and you get an error:
org.mapfish.print.JsonMissingException: attribute [spec.forwardHeaders]
missing
I also tried this with the main trunk of mapfish-print 2.0, and it works
fine.
Thanks!
Roger
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
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
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
I'll ask the guys here to send a sample.
Mind you we just (yesterday) perform a minor fix on the mapfish integration.
If you have additional problems it might be worth to get the latest.
Regards,
Simone Giannecchini
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Simone Giannecchini
@simogeo
Founder/Director
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
On Thu, Mar 20, 2014 at 3:41 PM, Roger Bedell <sylvanascent@anonymised.com> wrote:
Thanks!
I'll give it a try straight away.
Roger
On Wed, Mar 19, 2014 at 8:08 PM, Simone Giannecchini
<simone.giannecchini@anonymised.com> wrote:
Ciao Roger,
while this should be fixed for good, I confirm the suggested fix does
work.
Regards,
Simone Giannecchini
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Simone Giannecchini
@simogeo
Founder/Director
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
On Tue, Mar 18, 2014 at 12:31 PM, Mauro Bartolomeoli
<mauro.bartolomeoli@anonymised.com> wrote:
> Hi Roger,
> the forwardHeaders parameter should be optional, but apparently is not
> (I
> will check and provide a fix).
> For the moment, could you try adding:
>
>
> "forwardHeaders":
>
> to the root of your spec?
>
> Mauro
>
> 2014-03-17 20:50 GMT+01:00 Roger Bedell <sylvanascent@anonymised.com>:
>>
>> Simone asked me to bring this up on the list instead of direct.
>>
>> Using the latest source from github,
>> (https://github.com/geosolutions-it/mapfish-print)
>> I built a war and put it on our server.
>>
>> Using this url:
>> http://204.62.18.181:8090/print-servlet-2.0-SNAPSHOT_GS/
>>
>> you get the test screen.
>>
>> Paste this text:
>>
>> {
>> layout: 'Letter portrait',
>> title: 'A simple example',
>> srs: 'EPSG:900913',
>> units: 'meters',
>> layers: [
>> {
>> type: 'WMS',
>> format: 'image/png',
>> layers: ['ogi:oklakes','ogi:quad100','ogi:okzip'],
>> baseURL: 'http://204.62.18.181/geoserver/wms’,
>> customParams: {TRANSPARENT:true}
>> }
>> ],
>> pages: [
>> {
>> center: [-10964969.841611111, 4230671.17964707],
>> scale: 1000000,
>> dpi: 190,
>> mapTitle: "OKMaps",
>> comment: "",
>> data: [
>> {id:1, name: 'blah', icon: 'icon_pan'},
>> {id:2, name: 'blip', icon: 'icon_zoomin'}
>> ]
>> }
>> ]
>> }
>> Click "Get Print" and you get an error:
>> org.mapfish.print.JsonMissingException: attribute [spec.forwardHeaders]
>> missing
>>
>> I also tried this with the main trunk of mapfish-print 2.0, and it
>> works
>> fine.
>>
>> Thanks!
>> Roger
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
>
> --
> ==
> Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
> 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
>
> -------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
Ok, it is very easy to build.
Thanks!
···
On Thu, Mar 20, 2014 at 3:44 PM, Simone Giannecchini <simone.giannecchini@anonymised.com07…> wrote:
I’ll ask the guys here to send a sample.
Mind you we just (yesterday) perform a minor fix on the mapfish integration.
If you have additional problems it might be worth to get the latest.
Regards,
Simone Giannecchini
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Simone Giannecchini
@simogeo
Founder/Director
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
On Thu, Mar 20, 2014 at 3:41 PM, Roger Bedell <sylvanascent@…84…> wrote:
Thanks!
I’ll give it a try straight away.
Roger
On Wed, Mar 19, 2014 at 8:08 PM, Simone Giannecchini
<simone.giannecchini@anonymised.com> wrote:
Ciao Roger,
while this should be fixed for good, I confirm the suggested fix does
work.
Regards,
Simone Giannecchini
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Simone Giannecchini
@simogeo
Founder/Director
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
On Tue, Mar 18, 2014 at 12:31 PM, Mauro Bartolomeoli
<mauro.bartolomeoli@anonymised.com> wrote:
Hi Roger,
the forwardHeaders parameter should be optional, but apparently is not
(I
will check and provide a fix).
For the moment, could you try adding:
“forwardHeaders”:
to the root of your spec?
Mauro
2014-03-17 20:50 GMT+01:00 Roger Bedell <sylvanascent@anonymised.com>:
Simone asked me to bring this up on the list instead of direct.
Using the latest source from github,
(https://github.com/geosolutions-it/mapfish-print)
I built a war and put it on our server.
Using this url:
http://204.62.18.181:8090/print-servlet-2.0-SNAPSHOT_GS/
you get the test screen.
Paste this text:
{
layout: ‘Letter portrait’,
title: ‘A simple example’,
srs: ‘EPSG:900913’,
units: ‘meters’,
layers: [
{
type: ‘WMS’,
format: ‘image/png’,
layers: [‘ogi:oklakes’,‘ogi:quad100’,‘ogi:okzip’],
baseURL: ‘http://204.62.18.181/geoserver/wms’,
customParams: {TRANSPARENT:true}
}
],
pages: [
{
center: [-10964969.841611111, 4230671.17964707],
scale: 1000000,
dpi: 190,
mapTitle: “OKMaps”,
comment: “”,
data: [
{id:1, name: ‘blah’, icon: ‘icon_pan’},
{id:2, name: ‘blip’, icon: ‘icon_zoomin’}
]
}
]
}
Click “Get Print” and you get an error:
org.mapfish.print.JsonMissingException: attribute [spec.forwardHeaders]
missing
I also tried this with the main trunk of mapfish-print 2.0, and it
works
fine.
Thanks!
Roger
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
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
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and
their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users