Skip to main content
Open

FeatureReader and FILEGDB with Where-clause

Related products:Transformers
  • Oct 4, 2017 12:00 AM UTC
  • 12 replies
  • 127 views

david_r
Celebrity

The FeatureReader currently doesn't support a where-clause for the FILEGDB reader, although the regular FILEGDB reader does.

It would be great if the FeatureReader could also support a where-clause.

See also: https://knowledge.safe.com/questions/54705/select-statement-using-file-geodb-open-api.html

12 replies

nielsgerrits
VIP
Forum|alt.badge.img+67
A no-brainer if it is a GUI thing only, as it is already working in the traditional reader.

Traditional Reader.

'

FeatureReader GDB API

'

FeatureReader GDB

'

featurereadergdbapi_2.png

bruceharold
Influencer
Forum|alt.badge.img+20
  • Influencer
  • Dec 22, 2017 8:39 PM UTC
Also GEODATABASE_FILE reader needs a where clause per feature type.

 

 


aarcra
Contributor
  • Contributor
  • Feb 21, 2018 8:08 PM UTC

I wonder if this has to do with how the regular readers execute where clauses.

The ESRI fgdb's where clause is executed against the entire gdb (and currently can not have where clauses on different feature types from the same gdb). Where as the OPEN API reader can execute individual where clauses at the feature type level.


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • Feb 23, 2018 5:28 PM UTC

Hi @bruceharold and @aarcra, in our latest FME 2018 betas you can specify a feature type where clause on both File Geodatabase Readers (GEODATABASE_FILE and FILE_GEODB).


nielsgerrits
VIP
Forum|alt.badge.img+67
Nice work!

bruceharold
Influencer
Forum|alt.badge.img+20
  • Influencer
  • Feb 23, 2018 10:13 PM UTC
Woohoo! I'm on it...

 

 


nic_ran
Supporter
Forum|alt.badge.img+20
  • Supporter
  • Jun 25, 2018 5:28 AM UTC
Hi @TiaAtSafe, I'm on FME 2018.1 beta build 18501 and this option is greyed out. Was it made available and then taken away again?

 


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • Jun 25, 2018 2:39 PM UTC
Hi @nic_ran, my apologies, I wasn't explicit in my post. The where clause is on the feature type for both Readers. The FeatureReader currently only supports a where clause for the GEODATABASE_FILE version (not the API version).

nic_ran
Supporter
Forum|alt.badge.img+20
  • Supporter
  • Jun 26, 2018 10:46 PM UTC
Are there any pans to add this support to the FeatureReader? It would seem to be not too difficult if it's already implemented in the standard Reader.

 

 


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • Jun 27, 2018 6:54 PM UTC
Hi @nic_ran, there is an existing problem report asking for this functionality. I've linked this idea to the report, we will update here when the report is resolved.

Forum|alt.badge.img+2
  • Oct 14, 2018 11:35 AM UTC

Throwing my two cents worth in. Using the File Geodb API as a standard reader with a WHERE clause but wanted the flexibility to apply a process before reading using a FeatureReader but not possible without more complexity.

I have a 40M row table that I need to extract 1.4M rows from. Standard reader without where clause and a tester 78 minutes... using a where clause 9 minutes!


winkel_tripel
Contributor
Forum|alt.badge.img+1

Is there any update on this? This feature would really help to reduce processing time for some of our workspaces.