Skip to main content
Question

Attempting to Clip 1000+ Feature Classes in 100 Geodatabases


Hi guys,

 

I have put together a FME list which generated I have 1000 feature classes after I located 100 geodatabases.

 

These 100 geodatabases are all in one folder.

 

I am just wondering if there is a easy way to clip this data to one standard. So clipper is one file which i want all 1000 feature classes to clip to.

 

Is there a quick and easy way to clip all 1000 feature classes and then output to exactly same featureclass and geodatabase name? I can do this by selecting schema and then clipping it but struggling to ensure the output is the same as the input in terms of geodatabase name/featureclass name and fields..

3 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+38

Should be pretty doable with a dynamic reader writer combo to preserve the schemas along with a Clipper (Set to single clipper mode). You can use a WorkspaceRunner to specify the input geodatabase and run in batch mode - you can use the PATH reader to get the file path for the WorkspaceRunner.

The FeatureReader could also be used with the Clipper feature as a spatial filter which will reduce the number of features read into FME. This might be the better option.

Let is know if you get stuck anywhere​


  • Author
  • October 5, 2020
virtualcitymatt wrote:

Should be pretty doable with a dynamic reader writer combo to preserve the schemas along with a Clipper (Set to single clipper mode). You can use a WorkspaceRunner to specify the input geodatabase and run in batch mode - you can use the PATH reader to get the file path for the WorkspaceRunner.

The FeatureReader could also be used with the Clipper feature as a spatial filter which will reduce the number of features read into FME. This might be the better option.

Let is know if you get stuck anywhere​

That is great, thanks for sharing. I will have a think about this, if it is clever enough to pick up all 100 geodatabases that would make my life a lot easier :)


virtualcitymatt
Celebrity
Forum|alt.badge.img+38
cardiofaz wrote:

That is great, thanks for sharing. I will have a think about this, if it is clever enough to pick up all 100 geodatabases that would make my life a lot easier :)

Yeah should be able to. FME will keep track of the Schema, geometry type and Feature​ type name. There might be small differences so you'll want to run a few small test runs


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