[geotk] [JIRA] Created: (GEOTK-21) CRS.toSRS does not include
authority code
Aleksander (JIRA)
jira at geomatys.com
Wed Jul 8 09:05:52 EDT 2009
CRS.toSRS does not include authority code
-----------------------------------------
Key: GEOTK-21
URL: http://jira.geotoolkit.org/browse/GEOTK-21
Project: Geotoolkit
Issue Type: Bug
Reporter: Aleksander
Assignee: Martin Desruisseaux
If I call CRS.toSRS(crs), I only get identifier code without authority code. My patched version which adds authority (end of method):
if (name != null) {
Iterator<? extends Identifier> i= name.getAuthority().getIdentifiers().iterator();
if(i.hasNext())
return i.next().getCode() + ":" + name.toString();
else
return name.toString();
}
--
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