Skip to main content
Question

Reading specific layer by user Param from a Geopackage.

  • July 6, 2020
  • 2 replies
  • 100 views

Firstly I'm fairly new to FME so this might be something so simple but I couldn't find anything.

My aim is to read a Geopackage (that may or many not have many layers) and grab a specific layer from that Geopackage that is defined by a user param and write it as a Geopacakage with the associated schema.

I started playing with the feature reader and using the Feature Reader with Feature types to read but the output port doesn't change after the first run through.

This has to be something simple I'm missing.

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.

2 replies

david_r
Celebrity
  • July 7, 2020

Could it be that you're wanting to use a dynamic schema?

https://knowledge.safe.com/articles/1050/dynamic-workflow-tutorial-introduction.html

The article uses regular readers and writers in the examples, but the principles hold for the FeatureReader as well.


  • Author
  • July 8, 2020

Could it be that you're wanting to use a dynamic schema?

https://knowledge.safe.com/articles/1050/dynamic-workflow-tutorial-introduction.html

The article uses regular readers and writers in the examples, but the principles hold for the FeatureReader as well.

So I'm not sure I've explained myself to well, I am expecting dynamic schemas as I am looking to pull specific layers from geopacakges these could be different geometry types, the sample data set I am working with has two point layers and one polygon. The layer to be request is a user param. I orginally did get this to work with a feature reader however now ive notice it only works on the first run. I'm attaching the workspace as it might make more sense update_delatas_vector_v0.2.fmw