Skip to main content
Question

Creating multi-page PDF with Geospatial PDF Writer.

  • June 8, 2022
  • 1 reply
  • 238 views

agelfert
Contributor
Forum|alt.badge.img+8

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

debbiatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • 648 replies
  • June 9, 2022

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.