[Geomoose-users] Printing issue

Jonathan Moules jonathanmoules at warwickshire.gov.uk
Thu Aug 2 03:36:33 PDT 2012


Hi,
I've set up GM2.6 and am now trying to get the print working. I've got
it such that it creates the print files in the temp directory (about
12 files for a single print!), however it doesn't actually present the
link to the user or anything. Once I've clicked "go" all I get is a
"loading" in the print tab, and then nothing.

The PHP error log (set to E_ALL) contains:

[02-Aug-2012 09:38:18 UTC] PHP Deprecated:  Assigning the return value
of new by reference is deprecated in
C:\ms4w\apps\geomoose2\htdocs\php\fpdi\fpdi.php on line 88
[02-Aug-2012 09:38:18 UTC] PHP Strict Standards:  Declaration of
FPDF_TPL::Image() should be compatible with FPDF::Image($file, $x =
NULL, $y = NULL, $w = 0, $h = 0, $type = '', $link = '') in
C:\ms4w\apps\geomoose2\htdocs\php\fpdi\fpdf_tpl.php on line 409
[02-Aug-2012 09:38:18 UTC] PHP Deprecated:  Assigning the return value
of new by reference is deprecated in
C:\ms4w\apps\geomoose2\htdocs\php\fpdi\fpdi_pdf_parser.php on line 244
[02-Aug-2012 09:38:18 UTC] PHP Deprecated:  Assigning the return value
of new by reference is deprecated in
C:\ms4w\apps\geomoose2\htdocs\php\fpdi\pdf_parser.php on line 102
[02-Aug-2012 09:38:18 UTC] PHP Deprecated:  Assigning the return value
of new by reference is deprecated in
C:\ms4w\apps\geomoose2\htdocs\php\fpdi\pdf_parser.php on line 285
[02-Aug-2012 09:38:18 UTC] PHP Deprecated:  Assigning the return value
of new by reference is deprecated in
C:\ms4w\apps\geomoose2\htdocs\php\fpdi\pdf_parser.php on line 437
[02-Aug-2012 09:38:18 UTC] PHP Notice:  Undefined index: mode in
C:\ms4w\apps\geomoose2\htdocs\php\print.php on line 50
[02-Aug-2012 09:38:18 UTC] PHP Notice:  Undefined index: padding in
C:\ms4w\apps\geomoose2\htdocs\php\print.php on line 51
[02-Aug-2012 09:38:18 UTC] PHP Notice:  Undefined index: units in
C:\ms4w\apps\geomoose2\htdocs\php\print.php on line 53
[02-Aug-2012 09:38:18 UTC] PHP Notice:  Undefined index: format in
C:\ms4w\apps\geomoose2\htdocs\php\print_util.php on line 112
[02-Aug-2012 09:38:18 UTC] PHP Notice:  Undefined index: srs in
C:\ms4w\apps\geomoose2\htdocs\php\print_util.php on line 123
[02-Aug-2012 09:38:18 UTC] GET IMAGE:
http://localhost/GeoMoose//images/blank.gif?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG:27700&FORMAT=image/png&WIDTH=1600&HEIGHT=1400&BBOX=363576.22242943,211879.19462575,496423.77757057,328120.80537425&LAYERS=blank&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=blank
[02-Aug-2012 09:38:19 UTC] PHP Notice:  Undefined index: format in
C:\ms4w\apps\geomoose2\htdocs\php\print_util.php on line 112
[02-Aug-2012 09:38:19 UTC] PHP Notice:  Undefined index: srs in
C:\ms4w\apps\geomoose2\htdocs\php\print_util.php on line 123
[02-Aug-2012 09:38:19 UTC] GET IMAGE:
http://geognosis-vip/wms/wms.exe?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG:27700&FORMAT=image/png&WIDTH=1600&HEIGHT=1400&BBOX=363576.22242943,211879.19462575,496423.77757057,328120.80537425&LAYERS=WMS&TRANSPARENT=false&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=WMS
[02-Aug-2012 09:38:22 UTC] PHP Notice:  Undefined index: format in
C:\ms4w\apps\geomoose2\htdocs\php\print_util.php on line 112
[02-Aug-2012 09:38:22 UTC] PHP Notice:  Undefined index: srs in
C:\ms4w\apps\geomoose2\htdocs\php\print_util.php on line 123
[02-Aug-2012 09:38:22 UTC] PHP Notice:  Undefined index: format in
C:\ms4w\apps\geomoose2\htdocs\php\print_util.php on line 112
[02-Aug-2012 09:38:22 UTC] PHP Notice:  Undefined index: srs in
C:\ms4w\apps\geomoose2\htdocs\php\print_util.php on line 123

But there's nothing obviously wrong there.



Secondly, looking at the PDF that was created, it seems to have made a
WMS request that has resulted in a different scale being used to the
one on the map image itself. Because I have scale-thresholding on,
this means that the PDF actually contains a different map from the one
I wanted to print (I printed using "current map scale" as the setting,
though its actually the "print quality" that changes the resolution
requested).

Any thoughts on these issues? Thanks,
Jonathan


This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED 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.


More information about the Geomoose-users mailing list