I noticed some inconsistent behavior between Apache SIS 1.2 and Apache SIS
1.3 regarding the handling of a particular WKT.

PROJCS["Trinidad_1903_Trinidad_Grid",
GEOGCS["GCS_Trinidad_1903",
DATUM["D_Trinidad_1903",
SPHEROID["Clarke_1858",6378293.64520876,294.260676369]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]],
PROJECTION["Cassini"],
PARAMETER["False_Easting",430000.0],
PARAMETER["False_Northing",325000.0],
PARAMETER["Central_Meridian",-61.3333333333333],
PARAMETER["Scale_Factor",1.0],
PARAMETER["Latitude_Of_Origin",10.4416666666667],
UNIT["Link_Clarke",0.201166195164],
AUTHORITY["EPSG",30200]]

When I try to pass this wkt into the CRS.fromWKT method in Apache SIS 1.2 I
get the following error:
org.opengis.util.NoSuchIdentifierException: No operation method found for
name or identifier “Cassini”.

When I do the same test in Apache SIS 1.3 I get a different error:
java.lang.ArrayStoreException: java.lang.StringBuilder
at
org.apache.sis.util.resources.IndexedResourceBundle.toArray(IndexedResourceBundle.java:448)
at
org.apache.sis.util.resources.IndexedResourceBundle.getString(IndexedResourceBundle.java:569)
at
org.apache.sis.io.wkt.UnparsableObjectException.<init>(UnparsableObjectException.java:84)

I was expecting to get a similar error when trying to use this wkt in
Apache SIS 1.3 as I did in Apache SIS 1.2.

Thanks,
-- 
*Michael Arneson*

*Software Engineer*



*Office:* +1 (713) 975-7434

michael.arne...@int.com

*INT *| *Empowering Visualization*

Reply via email to