AWS M15 - Missing CRS v3 convertBinGrid
Summary:
M15 introduced a new conversion endpoint - /v3/convertBinGrid -
This endpoint is missing on AWS preship.
Steps:
- POST
https://r3m15.preshiptesting.osdu.aws/api/crs/converter/v3/convertBinGrid
Request body
{
"toCRS": "osdu:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::32064_EPSG::15851:",
"inBinGrid": {
"CoveragePercent": 1,
"ABCDBinGridSpatialLocation": {
"AsIngestedCoordinates": {
"type": "AnyCrsFeatureCollection",
"CoordinateReferenceSystemID": "osdu:reference-data--CoordinateReferenceSystem:Projected:EPSG::32615:",
"features": [
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 1,
"Crossline": 1000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
500000,
3000000
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 1,
"Crossline": 2000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
500000,
3100000
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 101,
"Crossline": 1000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
600000,
3000000
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 101,
"Crossline": 2000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
600000,
3100000
]
}
}
]
}
},
"P6ScaleFactorOfBinGrid": 1,
"P6BinNodeIncrementOnIaxis": 1,
"P6BinNodeIncrementOnJaxis": 1
}
}
Expected Behavior:
Status 200 - OK
{
"maxMisLocation": {
"dI": 0.0,
"dJ": 0.38
},
"outBinGrid": {
"CoveragePercent": 1.0,
"BinGridDefinitionMethodTypeID": "odesprod:reference-data--BinGridDefinitionMethodType:4Corner:",
"P6TransformationMethod": 9666,
"P6BinGridOriginI": 1.0,
"P6BinGridOriginJ": 1000.0,
"P6BinGridOriginEasting": 3593536.4619751107,
"P6BinGridOriginNorthing": 9888463.879346535,
"P6ScaleFactorOfBinGrid": 1.0,
"P6BinWidthOnIaxis": 3297.478414657676,
"P6BinWidthOnJaxis": 329.74530454204273,
"P6MapGridBearingOfBinGridJaxis": 357.2135341919337,
"P6BinNodeIncrementOnIaxis": 1,
"P6BinNodeIncrementOnJaxis": 1,
"ABCDBinGridSpatialLocation": {
"SpatialLocationCoordinatesDate": "2023-01-04T11:59:49.323Z",
"CoordinateQualityCheckPerformedBy": "CRS Convert service, POST convertBinGrid",
"CoordinateQualityCheckDateTime": "2023-01-04T11:59:49.323Z",
"CoordinateQualityCheckRemarks": [
"converted from to; squared up: dI= 0.0, dJ= 0.38 (bin)"
],
"AsIngestedCoordinates": {
"persistableReferenceCrs": "{\"authCode\":{\"auth\":\"OSDU\",\"code\":\"32064079\"},\"lateBoundCRS\":{\"authCode\":{\"auth\":\"EPSG\",\"code\":\"32064\"},\"name\":\"NAD_1927_BLM_Zone_14N\",\"type\":\"LBC\",\"ver\":\"PE_10_9_1\",\"wkt\":\"PROJCS[\\\"NAD_1927_BLM_Zone_14N\\\",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]],PROJECTION[\\\"Transverse_Mercator\\\"],PARAMETER[\\\"False_Easting\\\",1640416.666666667],PARAMETER[\\\"False_Northing\\\",0.0],PARAMETER[\\\"Central_Meridian\\\",-99.0],PARAMETER[\\\"Scale_Factor\\\",0.9996],PARAMETER[\\\"Latitude_Of_Origin\\\",0.0],UNIT[\\\"Foot_US\\\",0.3048006096012192],AUTHORITY[\\\"EPSG\\\",32064]]\"},\"name\":\"NAD27 * OGP-Usa Conus / BLM 14N (ftUS) [32064,15851]\",\"singleCT\":{\"authCode\":{\"auth\":\"EPSG\",\"code\":\"15851\"},\"name\":\"NAD_1927_To_WGS_1984_79_CONUS\",\"type\":\"ST\",\"ver\":\"PE_10_9_1\",\"wkt\":\"GEOGTRAN[\\\"NAD_1927_To_WGS_1984_79_CONUS\\\",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[\\\"NADCON\\\"],PARAMETER[\\\"Dataset_conus\\\",0.0],OPERATIONACCURACY[5.0],AUTHORITY[\\\"EPSG\\\",15851]]\"},\"type\":\"EBC\",\"ver\":\"PE_10_9_1\"}",
"CoordinateReferenceSystemID": "odesprod:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::32064_EPSG::15851:",
"type": "AnyCrsFeatureCollection",
"features": [
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "A",
"Inline": 1,
"Crossline": 1000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
3593536.462,
9888463.879
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "B",
"Inline": 1,
"Crossline": 2000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
3577506.278,
1.0217819309E7
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "C",
"Inline": 101,
"Crossline": 1000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
3922894.426,
9904494.186
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "D",
"Inline": 101,
"Crossline": 2000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
3906864.242,
1.0233849616E7
]
}
}
]
},
"Wgs84Coordinates": {
"features": [
{
"type": "Feature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "A",
"Inline": 1,
"Crossline": 1000
}
]
},
"geometry": {
"type": "Point",
"coordinates": [
-92.99998152,
27.12215051
]
}
},
{
"type": "Feature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "B",
"Inline": 1,
"Crossline": 2000
}
]
},
"geometry": {
"type": "Point",
"coordinates": [
-93.00001836,
28.02559868
]
}
},
{
"type": "Feature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "C",
"Inline": 101,
"Crossline": 1000
}
]
},
"geometry": {
"type": "Point",
"coordinates": [
-91.99107323,
27.11916457
]
}
},
{
"type": "Feature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "D",
"Inline": 101,
"Crossline": 2000
}
]
},
"geometry": {
"type": "Point",
"coordinates": [
-91.98275212,
28.02114667
]
}
}
],
"type": "FeatureCollection"
}
}
},
"AppliedOperations": [
"conversion from WGS_1984_UTM_Zone_15N to GCS_WGS_1984; 4 points converted",
"transformation GCS_WGS_1984 to GCS_North_American_1927 using NAD_1927_To_WGS_1984_79_CONUS; 4 points successfully transformed",
"conversion from GCS_North_American_1927 to NAD_1927_BLM_Zone_14N; 4 points converted",
"No unit conversion for Z-axis",
"Squared up the bin grid. dI= 0.0, dJ= 0.38 bin"
]
}
Observed Behavior:
Status 404 Not Found
{
"timestamp": "2023-01-04T12:01:14.914+00:00",
"status": 404,
"error": "Not Found",
"path": "/api/crs/converter/v3/convertBinGrid"
}