[Geomoose-users] How to set specific scale factors for printing to PDF?

Ed Boesenberg, III eboesenberg at niraengineers.com
Fri Sep 9 14:12:55 EDT 2011


I figured out how to get the scale factor of the image for the PDF, which I
stored in a variable named $pdfScaleFactor within print_util.php.  

 

Now my question is how do I insert the result of the variable into my final
PDF?

 

Ed

 

 

From: Ed Boesenberg, III [mailto:boesiii at yahoo.com] 
Sent: Friday, September 09, 2011 12:09 PM
To: 'Ed Boesenberg, III'; geomoose-users at lists.sourceforge.net
Subject: RE: [Geomoose-users] How to set specific scale factors for printing
to PDF?

 

If the map image from print_util.php is being generated from what's
currently on the screen then it is pulling the scale factor from that image.

 

When GM first loads how is the scale factor, shown in the scale box,
calculated?  Does it use the coordinates from the initial extent parameter?

 

From: Ed Boesenberg, III [mailto:eboesenberg at niraengineers.com] 
Sent: Friday, September 09, 2011 11:54 AM
To: geomoose-users at lists.sourceforge.net
Subject: [Geomoose-users] How to set specific scale factors for printing to
PDF?

 

When the user prints to PDF I would like to have it round the scale factor
to typical engineering scales.  Is this possible?  What part of the code
will I need to look at to accomplish this?  print_util.php?

 

Ed Boesenberg, III

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20110909/700c94f7/attachment.html


More information about the Geomoose-users mailing list