Skip to main content
Solved

feature reader where clause


boubcher
Contributor
Forum|alt.badge.img+11
Hello There

I am reading a large file GDB , using the FeatureReader , but the where clause is disabled, when I user normal reader this option is enabled ?? andy reason for that

 

the goal is to increase the performance when reading the features

Thanks

 

Best answer by markatsafe

@boubcher The Esri Geodatabase (File Geodb Open API) reader only supports WHERE on Feature Types, not at the reader level. Most other database readers (including Esri Geodatabase (File Geodb)) support a WHERE at both the reader level (not that useful) and on the Feature Types.

The FeatureReader currently only supports the WHERE at the reader level, not on individual feature types. Hence WHERE isn't available for the Esri Geodatabase (File Geodb Open API) reader in the FeatureReader but it is for Esri Geodatabase (File Geodb) reader. For most other databases the FeatureReader WHERE applies to all feature types that are read (which isn't that useful).

The plan is to update the FeatureReader to support all the reader feature type parameters.

 

 

View original
Did this help you find an answer to your question?

2 replies

danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • June 25, 2020

Hi @boubcher

There is a Idea to implement this Here .

 

Thanks,

Danilo


Forum|alt.badge.img+2
  • Best Answer
  • June 25, 2020

@boubcher The Esri Geodatabase (File Geodb Open API) reader only supports WHERE on Feature Types, not at the reader level. Most other database readers (including Esri Geodatabase (File Geodb)) support a WHERE at both the reader level (not that useful) and on the Feature Types.

The FeatureReader currently only supports the WHERE at the reader level, not on individual feature types. Hence WHERE isn't available for the Esri Geodatabase (File Geodb Open API) reader in the FeatureReader but it is for Esri Geodatabase (File Geodb) reader. For most other databases the FeatureReader WHERE applies to all feature types that are read (which isn't that useful).

The plan is to update the FeatureReader to support all the reader feature type parameters.

 

 


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