Geotoolkit

CRS.lookupIdentifier(Citations.URN_OGC, crs) should return an identifier in the "urn:ogc:def:" namespace

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.06
  • Fix Version/s: 3.07
  • Component/s: Referencing
  • Labels:

Description

The following code:

CoordinateReferenceSystem crs = CRS.decode("EPSG:4326");
String identifier = CRS.lookupIdentifier(Citations.URN_OGC, crs);

is expected to return "urn:ogc:def:crs:epsg:7.1:4326", but currently return only "EPSG:4326". We need to extend the IdentifiedObjectFinder class for the case of URN_AuthorityFactory. The handling of the version number of the EPSG database may be a bit tricky, but the EPSG authority factory can provide this information.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    03/Dec/2009 19:21
    Updated:
    13/Apr/2011 15:55
    Resolved:
    13/Apr/2011 15:55

Time Tracking

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