Skip to main content
Hello,

 

 

I have a project and I am not sure if what I want to do is possible from the reading I have done so far, I hope someone has experience and can help me. I have generated a workspace that has a 10m buffer around various neighbourhoods in a city (which it reads from a spreadsheet) currently they are all on the same large output. My 2 Questions are:

 

 

1. I want to output these neighbourhoods onto separate sheets in a pdf file by the neighbourhood.  Each will have a legend and the neighbourhood name, but I would like to do this by selecting the buffer area as the area to print, as they are all different shapes and sizes. All my reading says it is done by x,y coordinates…  can I use a buffer?

 

 

2.  I think I need to actually generate the PDF files by ‘looping’ the print job as I am not sure I can do all the neighbourhoods at once.  Or can I??

 

 

I am on FME 2014, so maybe some of what I want to do is in 2015, I am just waiting for my office to upgrade for me to see.

 

 

Thanks for any help!

 

Iris
Hi Iris,

 

 

You can control destination page number using a format attribute of the PDF writer called "pdf_page_number". See the help doc on the PDF writer to learn more about that. This format attribute is available also in FME 2014.

 

FME Readers and Writers > Adobe Geospatial PDF Writer > Writer > Multi-page Support (http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Desktop_Help.htm#../Subsystems/FME_Readers_Writers/Content/pdf2d/multi_page_support.htm)

 

 

Regarding buffering, I couldn't grasp what your requirement is, sorry.

 

Could you please explain more concretely?

 

If you post examples of the source data and screenshot illustrating required transforming process, it would help us to understand the requirement correctly.

 

 

Takashi
Hi,

 

 

 

You need to set a counter on the "bufferarea's" . (Wich I would call "printextent" rather then bufferarea btw).

 

 

Name the counter "pdf_page_number".

 

Just write it out, the pdf will see the attribute, and you get a multipage pdf.

 

 

If you want single , mult page pdf with more layers, use a fanout on the "pdf_page_number". This must be "synchronised" of course.

 

 

If you want single page pdf outputs you must set the fanout in Navigator panel on your pdfwriter. Parameters==>Advaced++>fanout dataset.

 

 

(don't fanout on attribute.) If you fanout on attributes, you must set the dataframe extent yourself.
Hello there... sorry for the delay in writing back... So to explain better

 

 

These maps are selected neighbourhoods in a City. So I have selected neighbourhoods that I need these maps for as I do not need all in the City (which come from an excel file, there are about 50 neighbourhoods selected) and I have set a 50m buffer around each neighbourhood which is the area I want to show in the printout , and each area is different.  

 

 

Where I am now is, when I run the workbench, I get the whole city in a large PDF and you see 'pockets' of the map showing and these are the areas I have the buffers on.  Now what I want to so is print each neighbourhood 'pocket' onto it's own sheet with a titleblock.

 

 

What I do not know how to do is set every buffer area as the print frame for the sheet.  Does this make more sense?  Thanks for all the help!

 

 
I uploaded a simple demo workspace here just for a starting point. (https://drive.google.com/file/d/0B0ufVP2t0eApNUE2aUV4d0dTMVE/view?usp=sharing)

 

 

See also the help doc about the PDF Reader/Writer to learn more about the multi-page support.
Thanks Takashi!  I have downloaded it and will see how I can use this as a start point for my project!  Very much appreciated!

Reply