[Mapserver-users] Render a WMS layer to a PDF file using PHP Mapscript?
Stephen Clark
stephen.clark at focus.ca
Mon Nov 10 14:51:34 PST 2003
Hi all:
Has anyone been able to render a WMS layer to a PDF file using php
mapscript?
In reference:
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapscriptPDF
At this stage:
$img = $map->draw();
$url = $img->saveWebImage?(MS_PNG, 0, 0, 0);
I get the following error:
Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named
'trimphoto'. in C:\Program Files\Apache
Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf01.php on line 179
Warning: [MapServer Error]: msDrawRaster(): Unrecognized or unsupported
image format in C:\Program Files\Apache
Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf01.php on line 179
Warning: [MapServer Error]: drawEPP(): EPPL7 support is not available. in
C:\Program Files\Apache
Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf01.php on line 179
finished rendering image ...
Fatal error: Call to a member function on a non-object in C:\Program
Files\Apache Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf01.php on line
181
Any thoughts?
thanks
Stephen
More information about the MapServer-users
mailing list