So I want to create following Worksspace:
processing --> feature (perimeter) -> RasterReader (clipped to perimeter) -> further processing
So I want to create following Worksspace:
processing --> feature (perimeter) -> RasterReader (clipped to perimeter) -> further processing
did you try the FeatureReader with the extent bounding box as the Initiator feature? Set "Spatial interaction" to INTERSECTS.
David
Thank you for your answer. I have tried it and since the box and the raster intersect (so the condition is true I guess) the whole raster is loaded and not only the intersecting part...
I believe the FeatureReader will read any (complete) feature that intersects with your Initiator. That means that if the Initiator intersects a tiny part of one big raster, that whole raster will probably be read. I do not think there is any clipping going on.
Could that be the case here?
David
David
Simon
You can adapt the FeatureReader where clause to provide you with the area of interest, have a look at the SQL generated by the reader (set up with the clip)and emulate the where part in the FeatureReader.
Thank you
Simon
Normally this will appear in the logfile, however I am not 100% sure that this will be the case when reading a raster (works just fine for vectors), so by your answer I guess that is not the case. I would go with David's suggestion or clip the raster beforehand and read it with the RasterReader.