Andrea Aime ha scritto:

>> We can isolate the EPSG database dependencies in a 
>> "OracleMathTransformFactory"
>> which would wraps the "DefaultMathTransformFactory", inspect the operation 
>> name
>> for a "(EPSG OP XXXX)" label and substitute the name before to delegate to
>> DefaultMathTransformFactory. One more indirection level in the referencing
>> module factories!
> 
> Oh hum, was looking at this again, and wondering.... could the plain 
> name substitution be performed in the wkt parser directly? I mean, we 
> are already bending it to support the Oracle broken Bursa-Wolf 
> parameters spec.

Elaborating a bit more, I have two ideas:
* one would be to provide the WKT parser an identifier replacer,
   some object that is conceptually and extion of aliases, but that
   can perform some kind of logic to provide a canonical name for
   a (broken) alias
* or else, could the wkt parser be subclasses inside the oracle
   data store to cope with these issues as well?

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to