In IBM R3 M19 Pre-ship environment CRS Conversion API V3 failing for all the available endpoints except info
It appears that all the CRS reference data may not be loaded or available as expected.
Convert trajectory stations
curl --location 'https://cpd-osdu.apps.ibmosdu-preship.lndu.p1.openshiftapps.com/osdu-crs-conversion/api/crs/converter/v3/convertTrajectory' \
--header 'data-partition-id: opendes' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer eyJhbGciOi...Truncated...Ia1Rq0xTDcC-NQ' \
--data '{
"trajectoryCRS": "opendes:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::23032_EPSG::1612:",
"azimuthReference": "TN",
"unitZ": "opendes:reference-data--UnitOfMeasure:m:",
"referencePoint": {
"x": 400000,
"y": 6500000,
"z": 0
},
"inputKind": "MD_Incl_Azim",
"interpolate": true,
"inputStations": [
{
"md": 1000,
"azimuth": 100,
"inclination": 10
},
{
"md": 2000,
"azimuth": 200,
"inclination": 200
}
],
"method": "AzimuthalEquidistant"
}'
Response 400 bad Request
{
"code": 400,
"message": "record not found: opendes:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::23032_EPSG::1612/"
}
Convert Bin Grid
curl --location 'https://cpd-osdu.apps.ibmosdu-preship.lndu.p1.openshiftapps.com/osdu-crs-conversion/api/crs/converter/v3/convertBinGrid' \
--header 'data-partition-id: opendes' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer eyJhbGciOi...Truncated...Ia1Rq0xTDcC-NQ' \
--data '{
"toCRS": "opendes:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::32064_EPSG::15851:",
"inBinGrid": {
"CoveragePercent": 1.0,
"ABCDBinGridSpatialLocation": {
"AsIngestedCoordinates": {
"type": "AnyCrsFeatureCollection",
"CoordinateReferenceSystemID": "opendes: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.00,
3000000.00
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 1,
"Crossline": 2000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
500000.00,
3100000.00
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 101,
"Crossline": 1000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
600000.00,
3000000.00
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 101,
"Crossline": 2000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
600000.00,
3100000.00
]
}
}
]
}
},
"P6ScaleFactorOfBinGrid": 1,
"P6BinNodeIncrementOnIaxis": 1,
"P6BinNodeIncrementOnJaxis": 1
}
}'
Response 400 bad request
{
"code": 400,
"message": "record not found: opendes:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::32064_EPSG::15851/"
}