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

Reply via email to