Skip to main content
Question

Creating interactive PDFs with layer visibility


Forum|alt.badge.img

Does anyone know if in FME it is possible to create a PDF with different layers (shapefiles) where you can switch off and on their visibility?

6 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • May 4, 2016

Yes, you can write geospatial pdfs to do this

There is an FME webinar that may be a useful starting point

how-to-share-spatial-data-with-anyone-anywhere-as-pdf


Forum|alt.badge.img
  • May 4, 2016

Yes it is possible. You can use the PDF2D-Writer, but i dont know if you could set different layers on/off while creating.


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • May 4, 2016
silvo wrote:

Yes it is possible. You can use the PDF2D-Writer, but i dont know if you could set different layers on/off while creating.

There is a layer visibility on open parameter that you can set to control what is displayed initially


Forum|alt.badge.img
  • Author
  • May 4, 2016
ebygomm wrote:

Yes, you can write geospatial pdfs to do this

There is an FME webinar that may be a useful starting point

how-to-share-spatial-data-with-anyone-anywhere-as-pdf

This is not exactly what I want. I need to read a couple shapefiles into a PDF, where I can turn on and off their visility, as you would do in an ArcMap/QGIS workspace.


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • May 4, 2016
darius wrote:

This is not exactly what I want. I need to read a couple shapefiles into a PDF, where I can turn on and off their visility, as you would do in an ArcMap/QGIS workspace.

You can do this with a geospatial pdf


Forum|alt.badge.img
  • November 21, 2016

@darius

To create individual pdf layers for every input shapefiles, use AttributeCreator for every input shapefile and add the "fme_feature_type" attribute assigning a name for every layer as you want it to appear in a pdf.

Then make sure to use @Value(fme_feature_type) as a name of the output pdf in the pdf writer.

Hope that helps.

Magda


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