Skip to main content
Question

Which transformer do I use to join a query(from data lake) in the SQLExecutor to an existing GIS featureclass?


juneacosta
Contributor
Forum|alt.badge.img+2

Hello everyone,

 

I'm a beginner in FME and need some help. I'm trying to join (1:1) data from our datalake with an existing GIS layer. My goal is to append the result of this join nightly to another existing layer. I've attempted to use SQLExecutor to query multiple tables in the datalake and DatabaseJoiner to join the query table with the GIS layer, but it doesn't seem to be working.

 

Any suggestions or advice would be greatly appreciated. Thank you!

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

Can you elaborate what kind of database you have?


juneacosta
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • June 27, 2023

Both the datalake and the GIS db are MSSql.

 

I attached an image of my workflow. After exporting the GIS layer to an Esri file geodatabase, I used SQL creator for querying the datalake. Then, I attempted to use the FeatureJoiner to join the tabular data from the datalake to the file geodatabase layer. Unfortunately, the FeatureJoiner keeps failing and I'm encountering the following error.

 

FeatureJoiner_<Rejected> (TeeFactory): FeatureJoiner_<Rejected>: Termination Message: 'FeatureJoiner output a <Rejected> feature. To continue translation when features are rejected, change 'Workspace Parameters' > Translation > 'Rejected Feature Handling' to 'Continue Translation''

image


evieatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • June 30, 2023
juneacosta wrote:

Both the datalake and the GIS db are MSSql.

 

I attached an image of my workflow. After exporting the GIS layer to an Esri file geodatabase, I used SQL creator for querying the datalake. Then, I attempted to use the FeatureJoiner to join the tabular data from the datalake to the file geodatabase layer. Unfortunately, the FeatureJoiner keeps failing and I'm encountering the following error.

 

FeatureJoiner_<Rejected> (TeeFactory): FeatureJoiner_<Rejected>: Termination Message: 'FeatureJoiner output a <Rejected> feature. To continue translation when features are rejected, change 'Workspace Parameters' > Translation > 'Rejected Feature Handling' to 'Continue Translation''

image

Hi @juneacosta​ What's the rejection message for the feature that was rejected? fme_rejection_message

If you turn on 'Continue Translation' in the Rejected Feature Handling do you get the desired result?


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