I am trying to create a CoordinateOperation from 3 different WKT strings
using the following code:
        WKTFormat wf = new WKTFormat(null, null);
        CoordinateOperation cp = (CoordinateOperation)
wf.parseObject(rfkWkt);
When attempting to create a CoordinateOperation from the WKT, the following
error is thrown:

*org.apache.sis.io.wkt.UnparsableObjectException: Keyword “GEOGCRS” is
unknown.*

* at
org.apache.sis.io.wkt.Element.missingOrUnknownComponent(Element.java:466)*

* at
org.apache.sis.io.wkt.GeodeticObjectParser.parseCoordinateReferenceSystem(GeodeticObjectParser.java:336)*

* at
org.apache.sis.io.wkt.GeodeticObjectParser.parseCoordinateReferenceSystem(GeodeticObjectParser.java:358)*

* at
org.apache.sis.io.wkt.GeodeticObjectParser.parseOperation(GeodeticObjectParser.java:2255)*

* at
org.apache.sis.io.wkt.GeodeticObjectParser.parseObject(GeodeticObjectParser.java:306)*

* at
org.apache.sis.io.wkt.AbstractParser.parseObject(AbstractParser.java:283)*

* at
org.apache.sis.io.wkt.GeodeticObjectParser.parseObject(GeodeticObjectParser.java:244)*

* at org.apache.sis.io.wkt.WKTFormat.parse(WKTFormat.java:753)*

I have attached a class that has the 3 WKT strings and the code I was using
to create CoordinatesOperation objects from these WKT strings.
Are the WKT strings I am trying to convert valid?
If they are not valid, do you know how I could modify the WKT string so
that they would be valid?

Thanks,
--
*Michael Arneson*

*Software Engineer*



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

[email protected]

*INT *| *Empowering Visualization*

Attachment: WktToTransform.java
Description: Binary data

Reply via email to