Backport ProjectionHandler geometry cast exception bug to 2.5.x
---------------------------------------------------------------
Key: GEOT-2989
URL: http://jira.codehaus.org/browse/GEOT-2989
Project: GeoTools
Issue Type: Bug
Components: core render
Affects Versions: 2.5.8, 2.5.7, 2.5.6, 2.5.5, 2.5.4, 2.5.3, 2.5.2, 2.5.1,
2.5.0, 2.5-RC0, 2.5-M3, 2.5-M2, 2.5-M1, 2.5-M0
Reporter: Alessio Fabiani
Assignee: Andrea Aime
The ProjectionHandler preProcess method has a known bug which has been solved
on geotools 2.6.x and above.
When turning the envelope into a geometry and performing the intersection
Geometry result = JTS.toGeometry((Envelope) envInt).intersection(geometry);
the line above throws a cast exception and should be turned on
Geometry result = geometry.intersection(JTS.toGeometry((Envelope) envInt));
--
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