Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WKT not working in ArcGIS Pro #52

Open
HuidaeCho opened this issue Jun 30, 2022 · 1 comment
Open

WKT not working in ArcGIS Pro #52

HuidaeCho opened this issue Jun 30, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@HuidaeCho
Copy link
Owner

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]]
@HuidaeCho
Copy link
Owner Author

Check #53 as well.

@HuidaeCho HuidaeCho added the bug Something isn't working label Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant