Shapefile filters does not work when no attributes are requested
----------------------------------------------------------------
Key: GEOT-2973
URL: http://jira.codehaus.org/browse/GEOT-2973
Project: GeoTools
Issue Type: Bug
Components: data shapefile
Affects Versions: 2.6.2
Reporter: Jody Garnett
Assignee: Andrea Aime
This appears to just be an over sight; when performing a Query that does not
request any attributes returned (ie just asking for a FeatureID set
representing a "selection") shapefile fails to return anything.
The workaround is include the attributes mentioned in the Filter as part of the
initial query; and then strip them out using Retype afterwords.
{code}
Set<String> set = (Set<String>) myFilter.accept( new
FilterAttributeExtractor(), null );
{code}
--
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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel