Skip to main content
Question

Why a gdb with another name field is not read?


Forum|alt.badge.img

Hello,

When I put a gdb file in my process with the reader, its works, the file is read. But when I put another gdb file with the same reader (thanks to a parameter) it isn't read if this file hasn't the same name field. Why ?

 

Thanks you

2 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • April 22, 2022

If you chose the Individual Feature Types option when you created the Reader, it would have created Reader feature types for each feature class specifically. So when you read in another dataset with different feature classes, it doesn't know what to do with those.

 

One way around it is to use the Single Merged Feature Type option instead. This will allow you to read in all feature types regardless of naming convention. You can then use a FeatureTypeFilter or TestFilter to separate out the feature types for processing.

 

image


Forum|alt.badge.img
dustin wrote:

If you chose the Individual Feature Types option when you created the Reader, it would have created Reader feature types for each feature class specifically. So when you read in another dataset with different feature classes, it doesn't know what to do with those.

 

One way around it is to use the Single Merged Feature Type option instead. This will allow you to read in all feature types regardless of naming convention. You can then use a FeatureTypeFilter or TestFilter to separate out the feature types for processing.

 

image

Thanks you !!!! It work !!


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