From: Michael B. (JIRA) <ji...@co...> - 2011-07-29 03:59:49
|
JTS.transform allocates incorrect array size for destination ------------------------------------------------------------ Key: GEOT-3763 URL: https://jira.codehaus.org/browse/GEOT-3763 Project: GeoTools Issue Type: Bug Components: api Affects Versions: 8.0-M1, 2.7.2 Reporter: Michael Bedward Assignee: Jody Garnett Fix For: 2.7.3, 8.0-M2 Attachments: jts-transform-2.7.x.patch, jts-transform-trunk.patch As reported by Mike O'Toole on the user list, JTS.transform fails when converting from WGS84 to DefaultGeocentric.CARTESIAN. The problem is that the destination array is allocated on the number of source CRS dimensions (2 in this case) but should be based on the number of target dimensions (3). The attached patches fix this on trunk and the 2.7.x branch. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |