Skip to main content

Hi,

 

I have a table with 10 points. I convert these points into a squares of 100 by 100 meters. Then I cut another table on these squares with the clipper. Next I want to make a PDF file of each square separately with a map of the 100 by 100 area. So it should be 10 separate pdf files. How can you best handle that? Currently the squares are put in 1 pdf instead of 1 pdf per squares. I've tried looping the PDFPageformatter, but it's not allowed.

 

One way to do this is to set a counter before the FeatureWriter and add the _count attribute in the Dataset field output name.


I have fanout turned on in the writer. Then I get a pdf per square (location). But the data is no longer neatly squared. See print screen 1.

If I only let through 1 square with a tester, the pdf output is good. See print screen 2. Ensuring that everything is written separately at the writer seems not to be a good option.

 


Now each pdf file has a square with data in it. The only thing that is not right is the scale. See attachment. I have to zoom 3200% to see the data in the pdf. This only happens when I print all the squares at once. When I run de workspace to save only one square the scale is good.

In the PDF page formater the page size is A4. How to set the right scale for the pdf writer?

 

 

 


Reply