Geotoolkit

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.00, 3.01, 3.02, 3.03, 3.04, 3.05
  • Fix Version/s: 3.05
  • Component/s: Referencing
  • Labels:
    None

Description

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:

Hints.putSystemDefault(Hints.CRS_AUTHORITY_FACTORY, PropertyEpsgFactory.class);

Issue Links

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    12/Oct/2009 14:41
    Updated:
    14/Oct/2009 13:23
    Resolved:
    12/Oct/2009 15:11

Time Tracking

Estimated:
5h
Original Estimate - 5 hours Original Estimate - 5 hours
Remaining:
0m
Remaining Estimate - 0 minutes
Logged:
6h
Time Spent - 6 hours