[
http://jira.codehaus.org/browse/GEOT-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Caradoc-Davies reopened GEOT-2226:
--------------------------------------
Changes made to GeoTools for this issue break GeoServer trunk (data module):
-------------------------------------------------------------------------------
Test set: org.geoserver.feature.ReprojectingFilterVisitorTest
-------------------------------------------------------------------------------
Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.973 sec <<< F
AILURE!
testIntersectsWithFunction(org.geoserver.feature.ReprojectingFilterVisitorTest)
Time elapsed: 0.003 sec <<< ERROR!
java.lang.ClassCastException: org.geoserver.feature.ReprojectingFilterVisitorTes
t$GeometryFunction
at org.geotools.filter.GeometryFilterImpl.setExpression2(GeometryFilterI
mpl.java:144)
at org.geotools.filter.spatial.AbstractPreparedGeometryFilter.setExpress
ion2(AbstractPreparedGeometryFilter.java:205)
at org.geotools.filter.spatial.AbstractPreparedGeometryFilter.<init>(Abs
tractPreparedGeometryFilter.java:158)
at org.geotools.filter.spatial.IntersectsImpl.<init>(IntersectsImpl.java
:32)
at org.geotools.filter.FilterFactoryImpl.intersects(FilterFactoryImpl.ja
va:377)
at org.geoserver.feature.ReprojectingFilterVisitorTest.testIntersectsWit
hFunction(ReprojectingFilterVisitorTest.java:154)
> Improve spatial filter performance with Prepared Geometries
> -----------------------------------------------------------
>
> Key: GEOT-2226
> URL: http://jira.codehaus.org/browse/GEOT-2226
> Project: GeoTools
> Issue Type: Improvement
> Components: core filter
> Affects Versions: 2.5.2
> Reporter: Jesse Eichar
> Assignee: Jesse Eichar
> Priority: Minor
> Fix For: 2.6-M0
>
> Attachments: GEOT-2226.patch, GEOT2226.patch
>
>
> I need to reuse a filter many thousands of times. It is a standard use case.
> One side of the filter is a literal geometry and the other is obtained from
> the feature. The literal geometry is very large and could be a prepared
> geometry to improve the performance characteristics of the spatial filters.
> Since this is a common use case we could check the expressions and for the
> literal expressions in the filter a prepared geometry could be cached and
> used for the calculation.
--
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
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel