From: David Turner (JIRA) <jira@co...> - 2009-10-29 19:50:40
Nondeterministic bug loading reprojected shapefile
Issue Type: Bug
Affects Versions: 2.5.7
Environment: Ubuntu, java version "1.6.0_0"
IcedTea6 1.3.1 (6b12-0ubuntu6.4) Runtime Environment (build 1.6.0_0-b12)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)
Also tested on MacOS 10.5.8 with Java 1.6.0_15.
Reporter: David Turner
Our test generates 77,000 random line strings and stores them to a shapefile in EPSG 2263. Then it loads them out of the shape file, reprojecting to EPSG 4326 as it goes. It puts each coordinate of each linestring into a HashSet. Then it loads the coordinates a second time, and checks to see if they are in the set. Sometimes, they are not, in which case, the program prints "missing" and then the coordinate.
For a real fun time, try doing 2605, instead of 77,000 -- sometimes it will work and sometimes it won't. 1000 always succeeds (never prints "missing") for us.
We believe that the problem is a sporadic loss of precision (we believe this based on tests with our own data, a modified version of New York City's LION data).
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
Get latest updates about Open Source Projects, Conferences and News.