You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@sis.apache.org by Michael Arneson <mi...@geotoolkit.net> on 2020/01/29 20:21:11 UTC

Support for GEOGTRAN as CoordinateOperation

I have a WKT that represents a GEOGTRAN  transformation. This WKT is:

GEOGTRAN["PSAD_1956_To_WGS_1984_9"
GEOGCS["GCS_Provisional_S_American_1956"
DATUM["D_Provisional_S_American_1956"
SPHEROID["International_1924",6378388.0,297.0]]
PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984"
SPHEROID["WGS_1984",6378137.0,298.257223563]]
PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
METHOD["Geocentric_Translation"]
PARAMETER["X_Axis_Translation",-295.0]
PARAMETER["Y_Axis_Translation",173.0]
PARAMETER["Z_Axis_Translation",-371.0]
AUTHORITY["EPSG",1209]]

Does Apache SIS support  GEOGTRAN transformations? Ideally, I would like to
be able to instantiate a CoordinateOperation from that WKT.

-- 
*Michael Arneson*

*Software Engineer*



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

michael.arneson@int.com

*INT *| *Empowering Visualization*

Re: Support for GEOGTRAN as CoordinateOperation

Posted by Martin Desruisseaux <ma...@geomatys.com>.
Hello Michael

Le 29/01/2020 à 21:21, Michael Arneson a écrit :

> I have a WKT that represents a GEOGTRAN  transformation. This WKT is 
> (…snip…):
>
> Does Apache SIS support  GEOGTRAN transformations?
>
I do not remember to have seen GEOGTRAN before… I do not see it in WKT 2 
specification [1]. Maybe  it is an extension of some software? The other 
keywords (GEOGCS, SPHEROID, etc.) are legacy WKT 1 keywords, which did 
not had coordinate operation support.

Can you reformat the definition as WKT 2 in the way described by [1]? 
For the WKT you provided something like the following should work (I did 
not tested):

    COORDINATEOPERATION["PSAD_1956_To_WGS_1984_9"],
       SOURCECRS[
         GEODCRS["GCS_Provisional_S_American_1956",
           DATUM["D_Provisional_S_American_1956",
             ELLIPSOID["International_1924",6378388.0,297.0]],
           CS[ellipsoidal,2],
           AXIS["longitude",east],
           AXIS["latitude",north],
           ANGLEUNIT[“degree”,0.0174532925199433]]],
       TARGETCRS[
         GEODCRS["GCS_WGS_1984",
           DATUM["D_WGS_1984",
            ELLIPSOID["WGS_1984",6378137.0,298.257223563]],
           CS[ellipsoidal,2],
           AXIS["longitude",east],
           AXIS["latitude",north],
           ANGLEUNIT[“degree”,0.0174532925199433]]],
       METHOD[“Geocentric translations”,ID[“EPSG”,1031]],
       METHOD["Geocentric_Translation"]
       PARAMETER["X_Axis_Translation",-295.0]
       PARAMETER["Y_Axis_Translation",173.0]
       PARAMETER["Z_Axis_Translation",-371.0],
       ID["EPSG",1209]]

Martin

[1] http://docs.opengeospatial.org/is/18-010r7/18-010r7.html