If you extract from arcSDE with a spatial filter, (BBOX,POLYGON) then it
is filtered twice. The query to arcSDE has the spatial constraint so the
correct no. of records is returned. However, in
FilteringFeatureReader.hasNext() we have: while
(featureReader.hasNext()) { peek =
[Moved from the user list]
This is where the arcsde module suffers from not being one of the jdbc
modules, where this problem is solved be keeping two feature types: the
one used for handling the query and the one to be returned. Have a look
in gt-jdbc