Nondeterministic bug loading reprojected shapefile
--------------------------------------------------

                 Key: GEOT-2811
                 URL: http://jira.codehaus.org/browse/GEOT-2811
             Project: GeoTools
          Issue Type: Bug
          Components: data
    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)
x86_64

Also tested on MacOS 10.5.8 with Java 1.6.0_15.
            Reporter: David Turner
         Attachments: TestShapefileReprojection.java

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

        

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to