Problems with online tests
--------------------------

                 Key: GEOT-1946
                 URL: http://jira.codehaus.org/browse/GEOT-1946
             Project: GeoTools
          Issue Type: Bug
          Components: data db2
         Environment: linux
            Reporter: Christian Mueller
            Priority: Minor


1)
The README.TXT contains old direcory infos

2)
import_places.db2 and import_roads.db2 use the Windows directory seperator
in data\roads.shp and data\places.shp. I know no easy solution so I would
recommend to move the shape files up one level and ommit the dir sep problem. 
Next problem is the lower uppercase issue. The import statement uses
data\Places.shp, the file is data\places.shp. No problem on Windows, big
problem on other platforms

3) 
With db2 9.5  import_plases.shp produces the following eror

DB21034E  The command was processed as an SQL statement because it was not a
valid Command Line Processor command.  During SQL processing it returned:
SQL0798N  A value cannot be specified for column "Id" which is defined as
GENERATED ALWAYS.  SQLSTATE=428C9



------------

Failed tests:

4)
  testGetBounds(org.geotools.data.db2.DB2FeatureSourceOnlineTest)

  the following code fails

       assertEquals("all places bounds",
            "ReferencedEnvelope[-74.160507 : -74.067637, 41.993695 : 
42.05990399999999]",
            env.toString()); 

  on my box, 
        assertEquals("all places bounds",
            "Env[-74.160507 : -74.067637, 41.993695 : 42.059904]", coordString);
  would work. There is a rounding problem.



---------------------
5)
  testSchema(org.geotools.data.db2.DB2FeatureSourceOnlineTest)
    does not work, dont know why

--------------
6)
  testCreateDataStore(org.geotools.data.db2.DB2DataStoreFactoryOnlineTest)

  The follwong code 

    assertEquals("DB2ADMIN", schema); 

  makes problems with non standard windows installations. DB2ADMIN ist
  the standard user for windows. (On unix systems  mostly DB2INST1). I would 
resolve this with a lookup in the fixture. 
----------------



-- 
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

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to