Question

Creating multi-page PDF with Geospatial PDF Writer.

  • 8 June 2022
  • 1 reply
  • 45 views

Badge

Working on a little data quality initiative and would like to use Geospatial PDF writer.

 

So I'm reading some SQL spatial data, then filtering, grabbing a centroid, building a bounding box, using that for the 'Map Extents' parameter in the Geospatial PDF writer after adding some labels. With fanout, I can write a bunch of PDF files that show my feature/label pair.

 

Is there not a way to append all these pages to the same PDF instead? The section "Adobe Geospatial PDF Multi-Page Support" sure sounds like this should work but I can't figure out how. 😉

 

Only way I can see is use FeatureWriter and followup with a Python Caller to do this part.

Any suggestions appreciated.

 


1 reply

Userlevel 3
Badge +17

Hi @agelfert​ 

 

The format attribute pdf_page_number controls which page a feature should be written in the output PDF file. To create this attribute, I would recommend using a Counter (count start: 1) to add page number values to your features based on your fanout attribute.

 

I hope this information helps.

Reply