JDBCDataStoreAPITest should check for geometry types
----------------------------------------------------

                 Key: GEOT-1984
                 URL: http://jira.codehaus.org/browse/GEOT-1984
             Project: GeoTools
          Issue Type: Improvement
          Components: data h2
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.5.0, 2.6-M0


The test should check that the geometry  types are the ones expected (i.e. 
Point, not just Geometry).
This was a bug in Oracle, so the new datastore should retain this test.
Two issues:
- due to lack of case handling the index cannot be created, and in Oracle the 
index is the one carrying the geometry information
- H2 does not seem to honor the geometry type either? (at least not in 
createSchema)

Maybe TestSupport should state wheter the datastore is able to support proper 
geometry types, or the dialect could (a form of capabilities), and we could run 
the tests only in that case?

Btw, I'm assigning this issue to jdeolive just to foster discussion, I can take 
it without problems

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