Try several tables in determineCRS()
------------------------------------

         Key: GEOT-710
         URL: http://jira.codehaus.org/browse/GEOT-710
     Project: GeoTools
        Type: Improvement
  Components: oraclespatial  
    Versions: 2.2.M0    
 Reporter: Paolo Rizzi
 Assigned to: Sean Geoghegan 


The method OracleDataStore.determineCRS() looks up a SRID inside the "cs_srs" 
table.
In the Oracle instance I'm connecting to, this table doesn't exists,
or better to say it's not accessible with that name, but only with the 
qualified name "MDSYS.CS_SRS".
There is also another table called "OGIS_SPATIAL_REFERENCE_SYSTEMS" that seems 
to contain
the very same records of CS_SRS, but I really don't know if it's a new or old 
table, or whatever else...
Anyway it would be good if the determineCRS() method tries all different tables 
before giving up.
It may also look in a user defined table where one can put his own CRSs. This 
table may have a name
specified to the OracleDataStoreFactory or it can have a fixed well-known name.
I can apply this changes and commit them, if you think they're a good thing.


-- 
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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to