Skip to main content
Question

Setting PDF scale

  • September 23, 2013
  • 5 replies
  • 82 views

Hello,

 

 

when exporting data to a PDF writer how can i set the scale? For example, when doing a simple translation from geotiff to PDF, but with the scale 1:50.000.

 

 

Thanks

5 replies

davideagle
Contributor
Forum|alt.badge.img+19
  • Contributor
  • September 23, 2013
You'll need to hard clip your data so that the 'extents' of the image that ends up in PDF matches your required scale. Any data sent to PDF is scaled based on it's physical extents.

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 24, 2013
You can calculate that.

 

I have an extensive pdf writer workbench that does that pretty neatly; fixed and extentdriven scale. Datagrid extraction etc., logo's and whatmore. Big bench..lol.

 

 

To fit your map in pdf worldspace you need to set required scale, extract boundingbox and calculate aspectratio and then relate to map- and paperspace taking into account your paperformat like A3, A4 etc. You'll want to have your map fit the paper...

 

 

No need to hardclip...i find that counterintuitive to such a nice program as FME is.

 


davideagle
Contributor
Forum|alt.badge.img+19
  • Contributor
  • September 25, 2013
Gio - That sounds like a great article to add to FMEPedia and expand on what's already there on this topic:

 

 

http://fmepedia.safe.com/articles/Samples_and_Demos/Creating-PDF-Cartographic-Output

 

 

I'm sure Safe would post your process and article if you were to send it to them as it sounds very valuable for others to learn from your approach!

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • October 2, 2013
Hi 1Spatial,

 

 

I will put some effort in it.

 

Need to adapt some text, as half of it is Dutch.

 

 

I also was further developing this bench to make it more generic. Adding userparamters for all the different variables one can set etc.

 

 

Will let you know.

 

 

greetings

 

Gio

  • November 29, 2013
Gio, thank you so much for your trying on "Adding userparamters for all the different variables one can set etc". It will really help use create customized PDF processing application.

 

Looking forward to your further good news.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings