[Geomoose-users] print.php

Dan Little danlittle at yahoo.com
Fri Jun 24 08:12:12 EDT 2011


Nope.  Those lines apply to the feature report only.  Where you want to go is into print_util.php.

It's not going to be pretty.  You'll need to replace the loop in print_util.php, line 89.  Instead of using the paths from the URL you'll want to feed it all the potential map-sources from the mapbook and then replace lines 131 and 155 with something that includes all of the layers as parsed from the mapbook.

Even then you'll probably have a few bugs to fight on this one.



>________________________________
>From: Jacob Rodel <jacob.rodel at co.todd.mn.us>
>To: geomoose-users at lists.sourceforge.net
>Sent: Wednesday, June 22, 2011 8:52 AM
>Subject: [Geomoose-users] print.php
>
>
>                I’m trying to get Geomoose 2.2 to print all layers  regardless of whether they are turned on in the catalog or not.   Is this possible?  Is this where I edit?
> 
>$path = explode('/', $_REQUEST['src']);
>                $layer = false;
>                if($path[1] == 'all') {
>                                $layer = $mapObj->getLayer(0); # Don't use all...
>                } else {
>                                $layer = $mapObj->getLayerByName($path[1]);
>                }
> 
>Jake Rodel
>GIS Technician
>Todd County GIS & Land Services Dept.
>347 Central Ave Suite 1
>Long Prairie, MN 56347
>(320) 732-4248
> 
>------------------------------------------------------------------------------
>Simplify data backup and recovery for your virtual environment with vRanger.
>Installation's a snap, and flexible recovery options mean your data is safe,
>secure and there when you need it. Data protection magic?
>Nope - It's vRanger. Get your free trial download today.
>http://p.sf.net/sfu/quest-sfdev2dev
>_______________________________________________
>Geomoose-users mailing list
>Geomoose-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/geomoose-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20110624/10e75b3b/attachment.html


More information about the Geomoose-users mailing list