Skip to main content
Question

Creating interactive PDFs with layer visibility

  • May 4, 2016
  • 6 replies
  • 68 views

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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • 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+46
  • Influencer
  • 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.

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

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+46
  • Influencer
  • May 4, 2016

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