I have a large dataset split up into three shapefiles (south, middle, north). From this I use Clipper to cut out the area of interest. To save processing time I would like to only read the data necessary (i.e. one of the three files). I have a bounding box for my area of interest so I would like to select one (or two) of the files (south, middle, north) to read depending on the y-max/y-min values of my bounding box. Is this possible?
Solved
Select reader based on conditional statement
Best answer by redgeographics
Your best option would be to use the FeatureReader, you can have it read one or more files automatically based on the area of interest. In fact, it's worth investigating whether or not it'd be a time saver to simply have the FeatureReader take all three shapefiles but clip automatically to the extents of an Initiator feature (i.e. your area of interest), this would save you have to do a clip after reading the entire file.
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.