Skip to content

WKT not working in ArcGIS Pro #52

@HuidaeCho

Description

@HuidaeCho

WKT output from ProjPicker:

GEOGCRS["Korean 1995",
    DATUM["Korean Datum 1995",
        ELLIPSOID["WGS 84",6378137,298.257223563,
            LENGTHUNIT["metre",1]]],
    PRIMEM["Greenwich",0,
        ANGLEUNIT["degree",0.0174532925199433]],
    CS[ellipsoidal,2],
        AXIS["geodetic latitude (Lat)",north,
            ORDER[1],
            ANGLEUNIT["degree",0.0174532925199433]],
        AXIS["geodetic longitude (Lon)",east,
            ORDER[2],
            ANGLEUNIT["degree",0.0174532925199433]],
    USAGE[
        SCOPE["Geodesy."],
        AREA["Republic of Korea (South Korea) - onshore."],
        BBOX[33.14,124.53,38.64,131.01]],
    ID["EPSG",4166]]

EPSG:4166 defined by ArcGIS Pro (with added newlines for formatting; ArcGIS Pro doesn't like formatted WKT):

GEOGCS["GCS_Korean_Datum_1995",
	DATUM["D_Korean_Datum_1995",
		SPHEROID["WGS_1984",6378137.0,298.257223563]],
	PRIMEM["Greenwich",0.0],
	UNIT["Degree",0.0174532925199433]]

The following changes are needed to make the ProjPicker WKT work:

  1. Change GEOGCRS to GEOGCS
  2. Add UNIT["Degree",0.0174532925199433]
  3. Remove newlines

Working WKT with added newlines:

GEOGCS["Korean 1995",
    DATUM["Korean Datum 1995",
        ELLIPSOID["WGS 84",6378137,298.257223563,
            LENGTHUNIT["metre",1]]],
    PRIMEM["Greenwich",0,
        ANGLEUNIT["degree",0.0174532925199433]],
    CS[ellipsoidal,2],
        AXIS["geodetic latitude (Lat)",north,
            ORDER[1],
            ANGLEUNIT["degree",0.0174532925199433]],
        AXIS["geodetic longitude (Lon)",east,
            ORDER[2],
            ANGLEUNIT["degree",0.0174532925199433]],
    USAGE[
        SCOPE["Geodesy."],
        AREA["Republic of Korea (South Korea) - onshore."],
        BBOX[33.14,124.53,38.64,131.01]],
    UNIT["Degree",0.0174532925199433],
    ID["EPSG",4166]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions