Hi Mauro,

Many thanks for your help.

Attached the specification json (i hope) extracted from firebug

Concerning the mapfish image we have tried to remove, but I do not know exactly how give as url of an YAML file a local folder and not a complete url that I do not know


R

Eng. Roberto Marzocchi, PhD
R&D coordinator
Gter srl Innovazione in Geomatica, Gnss e Gis
Spin-off Progetto Uni.T.I. promoted by UNIGE
Via Greto di Cornigliano 6r - 16152 Genova
P.IVA/CF 01998770992
ph: 010-8694830 Fax: 010-8694737
mob: 349-8786575
E-mail: [email protected]
skype: roberto.marzocchi84
www.gter.it

--
Gter social
www.twitter.com/Gteronline - www.facebook.com/Gteronline - 
https://plus.google.com/+GterIt/posts
www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis

-----------------------------------------------------------------
Please consider the environment before printing this email!

On 12/12/2014 13:21, Mauro Bartolomeoli wrote:
Hi Roberto,

2014-12-12 13:02 GMT+01:00 Roberto Marzocchi <[email protected] <mailto:[email protected]>>:

    Dear Mauro,

    - the server of mapfish and geoserver is the same..
    - we use Geoext printing module and the request sent from the
    client is: http://IP_address/geoserver/pdf/create.json


With this request (an HTTP POST) a specification json is sent in the body with the details of the requested print. Do you have any chance to extract that json using browser tools that allow you to inspect network traffic from the browser to the server (Developer Tools for Chrome or Firebug for Firefox) ?

    - the IP address need to be generic (internet/intranet service) so
    we use the path of the
    WMS with a proxy (from apache tomcat to apache)


Ok, that's the url that I would like to see in the spec mentioned above.


    Attached the config.yaml file


Something strange I see in the yaml: a reference to an image with the following url: http://www.mapfish.org/svn/mapfish/trunk/MapFish/client/mfbase/mapfish/img/${icon}.png <http://www.mapfish.org/svn/mapfish/trunk/MapFish/client/mfbase/mapfish/img/$%7Bicon%7D.png>, I don't think the url is reachable anymore.

Is the geoserver host IP/name included in the lists of specified hosts?
Mauro

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Please, notice that GeoSolutions will be closed for seasonal holidays
from December the 24th to January the 6th
==

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 <tel:%2B39%200584%20962313>
fax: +39 0584 1660272 <tel:%2B39%200584%201660272>

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


{"units":"m","srs":"EPSG:900913","layout":"A4 
landscape","dpi":75,"outputFormat":"pdf","mapTitle":"Stampa con SitVI 
2.0","mapComment":"","mapFooter":"","mapAttribution":"Data CC-By-SA by 
OpenStreetMap","layers":[{"baseURL":"http://a.tile.openstreetmap.org/","opacity":1,"type":"OSM","maxExtent":[-20037508.34,-20037508.34,20037508.34,20037508.34],"tileOrigin":{"x":-20037508.34,"y":-20037508.34},"tileSize":[256,256],"extension":"png","resolutions":[156543.03390625,78271.516953125,39135.7584765625,19567.87923828125,9783.939619140625,4891.9698095703125,2445.9849047851562,1222.9924523925781,611.4962261962891,305.74811309814453,152.87405654907226,76.43702827453613,38.218514137268066,19.109257068634033,9.554628534317017,4.777314267158508,2.388657133579254,1.194328566789627,0.5971642833948135]},{"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.3,"singleTile":false,"type":"WMS","layers":["vicenza:L_COMUNE"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true,"RULE":"Confine
 
comunale"}},{"minScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.4,"singleTile":false,"type":"WMS","layers":["vicenza:L_CENTRO_ABITATO"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["vicenza:L_IDROGRAFIA"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["vicenza:L_AREE_STRADALI"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["vicenza:L_FERROVIE"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":4000.0000000000005,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["vicenza:L_PISTE_CICLABILI"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Verde_uffici_pubblici"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Verde_scuole"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Verde_cimiteri"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Orti_urbani"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Tazza"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Arredo_urbano"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Aiuole"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Oasi_naturalistica"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Bosco_urbano"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Verde_attrezzato"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Parco_giochi"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Parco_urbano"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":24999.999999999996,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["Parco_storico"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":2000.0000000000002,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["vicenza:L_MANUFATTI_STRADALI"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":9999.999999999998,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["vicenza:L_PARCHEGGI"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":9999.999999999998,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["vicenza:L_MANUFATTI_INDUSTRIALI"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":9999.999999999998,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["vicenza:L_EDIFICI_MINORI"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":49999.99999999999,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":0.5,"singleTile":false,"type":"WMS","layers":["vicenza:L_EDIFICI"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}},{"maxScaleDenominator":2000.0000000000002,"baseURL":"http://195.31.128.31/geoserver/vicenza/wms","opacity":1,"singleTile":true,"type":"WMS","layers":["vicenza:L_NR_CIVICI"],"format":"image/png","styles":[""],"customParams":{"TRANSPARENT":true}}],"pages":[{"center":[1281643.1815737,5712020.8186077],"scale":50000,"rotation":0}]}
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to