[geotk] [JIRA] Created: (GEOTK-47) CRS.getAuthorityFactory(boolean) ignores the system-wide hints

Martin Desruisseaux (JIRA) jira at geomatys.com
Mon Oct 12 08:43:03 EDT 2009


CRS.getAuthorityFactory(boolean) ignores the system-wide hints
--------------------------------------------------------------

                 Key: GEOTK-47
                 URL: http://jira.geotoolkit.org/browse/GEOTK-47
             Project: Geotoolkit
          Issue Type: Bug
          Components: Referencing
    Affects Versions: 3.04, 3.03, 3.02, 3.01, 3.00, 3.05
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
            Priority: Minor
             Fix For: 3.05


The CRS factory used by {{CRS}} static methods was intentionaly designed for ignoring any system-wide hints except {{FORCE_LONGITUDE_FIRST_AXIS_ORDER}}. The intend was to ensure more stability. However this is not a very consistent behavior. Furthermore the ability to use hints is sometime desired at least for diagnostic purpose. For example when using the properties-backed EPSG factory while getting undesired JDBC errors from the database-backed EPSG factory, we expect the following line to shutdown those errors:

{code:java}
Hints.putSystemDefault(Hints.CRS_AUTHORITY_FACTORY, PropertyEpsgFactory.class);
{code}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.geotoolkit.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Geotoolkit mailing list