CRS WKT that worked before returns bad request in AWS M13 pre-ship test
CC - @debasisc @gehrmann @marneson ; josh townsend
-
why does WKT not work anymore?
In previous test the following request worked to CRS Convert. In AWS M13 pre-ship I get a "bad request":
Request
{
"fromCRS" : "{\"authCode\":{\"auth\":\"SHELL\",\"code\":\"50028033\"},\"lateBoundCRS\":{\"authCode\":{\"auth\":\"SHELL\",\"code\":\"50028\"},\"name\":\"NAD27_Central_Canada_Albers_Equal_Area\",\"type\":\"LBC\",\"ver\":\"PE_10_9_1\",\"wkt\":\"PROJCS[\\\"NAD27_Central_Canada_Albers_Equal_Area\\\",GEOGCS[\\\"GCS_North_American_1927\\\",DATUM[\\\"D_North_American_1927\\\",SPHEROID[\\\"Clarke_1866\\\",6378206.4,294.978698213901]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433]],PROJECTION[\\\"Albers\\\"],PARAMETER[\\\"False_Easting\\\",1000000.0],PARAMETER[\\\"False_Northing\\\",0.0],PARAMETER[\\\"Central_Meridian\\\",-112.5],PARAMETER[\\\"Standard_Parallel_1\\\",58.0],PARAMETER[\\\"Standard_Parallel_2\\\",50.0],PARAMETER[\\\"Latitude_Of_Origin\\\",45.0],UNIT[\\\"Meter\\\",1.0],AUTHORITY[\\\"SHELL\\\",\\\"50028\\\"]]\"},\"name\":\"NAD27 * EPSG-Can / Central Canada Albers Equal Area [50028,1693]\",\"singleCT\":{\"authCode\":{\"auth\":\"SHELL\",\"code\":\"1693\"},\"name\":\"NAD_1927_To_WGS_1984_33\",\"type\":\"ST\",\"ver\":\"PE_10_9_1\",\"wkt\":\"GEOGTRAN[\\\"NAD_1927_To_WGS_1984_33\\\",GEOGCS[\\\"GCS_North_American_1927\\\",DATUM[\\\"D_North_American_1927\\\",SPHEROID[\\\"Clarke_1866\\\",6378206.4,294.9786982]],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[\\\"NTv2\\\"],PARAMETER[\\\"Dataset_canada/Ntv2_0\\\",0.0],AUTHORITY[\\\"EPSG\\\",1693]]\"},\"type\":\"EBC\",\"ver\":\"PE_10_9_1\"}",
"toCRS" : "{\"authCode\":{\"auth\":\"EPSG\",\"code\":\"4326\"},\"name\":\"GCS_WGS_1984\",\"type\":\"LBC\",\"ver\":\"PE_10_9_1\",\"wkt\":\"GEOGCS[\\\"GCS_WGS_1984\\\",DATUM[\\\"D_WGS_1984\\\",SPHEROID[\\\"WGS_1984\\\",6378137.0,298.257223563]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433],AUTHORITY[\\\"EPSG\\\",4326]]\"}",
"points" : [ {
"x": 2586342.78,
"y": 807360.75,
"z" : 0
} ]
}
This returned in May the following but now gives a bad request message back.
{
"successCount": 1,
"points": [
{
"x": -90.00000000212174,
"y": 49.99999997778123,
"z": 0.0
}
],
"operationsApplied": [
"conversion from NAD27_Central_Canada_Albers_Equal_Area to GCS_North_American_1927; 1 points converted",
"transformation GCS_North_American_1927 to GCS_WGS_1984 using NAD_1927_To_WGS_1984_33; 1 points successfully transformed"
]
}
Some projections work with explicit WKT, some do not. I have another 1 or 2 that worked and now do not in pre-ship.