Skip to main content
Question

Checking if file GDB contains feature classes or a raster/mosaic dataset

  • March 21, 2022
  • 1 reply
  • 37 views

dms2
Contributor
Forum|alt.badge.img+11
  • Contributor
  • 48 replies

My FME translation includes 2 different streams depending on the type of data provided in a zipped file GDB. So the first step before processing data is to test whether it contains a rater dataset/mosaic dataset or any number of feature classes.

I don't want to read data yet, just check the data type of feature datasets.

 

What's the best way to check that? Tried a generic schema reader but it doesn't provide an attribute with the format of feature types inside the file GDB.

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • March 21, 2022

I would use a FeatureReader, set Features To Read to Schema Features.

2022-03-21_15h58_12