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

        

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to