Unable to calculate query extent using Id filter
------------------------------------------------
Key: GEOT-2522
URL: http://jira.codehaus.org/browse/GEOT-2522
Project: GeoTools
Issue Type: Bug
Components: data arcsde
Reporter: Shaun Forbes
Assignee: Gabriel Roldán
I can't use a FidFilter to calculate an extent in ArcSDE.
I believe the problem stems from the fact that
ArcSDEQuery.calculateQueryExtent(...) is using FidReader.NULL_READER when
calling createQuery rather than obtaining the FID strategy from the typeInfo as
is done in the ArcSDEQuery.calculateResultCount(...), which does work correctly
with a FidFilter.
# calculateQueryExtent
boundsQuery = createQuery(session, fullSchema, realQuery,
FIDReader.NULL_READER,
versioningHandler);
# calculateResultCount
final FIDReader fidStrategy = typeInfo.getFidStrategy();
countQuery = createQuery(session, fullSchema, query,
fidStrategy, versioningHandler);
I think ArcSDEQuery.createInprocessViewQuery(...) may have a similar issue
since it also just uses a NULL_READER, but my usage doesn't follow this code
path so I can't say for sure.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel