Jody Garnett a écrit : > Hi Martin ! Great news - epsg-oracle is now working for me.
Nice :) > I confess I still get a bit confused watching this code turn over in a > debugger ... I admit that factories in the referencing modules have a lot of indirection levels, which make it hard to follow with a debugger. The old (two-years ago) CTS implementation had fewer indirections. But it has been critized that some classes were mixing different jobs. For example Andrea rightly pointed out that 1) reading the database and 2) buffering (or caching) should be handled by different classes, exactly like java.io.FileReader vs java.io.BufferedReader. Of course he was right and I fully agree with him. The new CRS framework does that, but the price to paid is indirection levels between EPSG FactoryUsingSQL and BufferedAuthorityFactory. So we have: FactoryUsingSQL - for reading the EPSG database BufferedAuthorityFactory - for caching OrderedAxisAuthorityFactory - for changing axis order to (x,y) AllAuthorityFactories - for querying all authorities (EPSG, AUTO2...) with the additional complication that a BufferedAuthorityFactory instance may be inserted in more than one place (at different steps), all this stuff result in a lot of indirections... Martin ------------------------------------------------------------------------- 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 Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel