The CRS Catalog service V3 in AWS platform validation environment R3 M12 is not able to find the existing coordinateTransformation reference data
On AWS platform validation environment R3 M12, when trying to use the CRS Catalog Service V3, the request to get the coordinatetransformation record using the recordid is not returning any record.
curl --location --request GET 'https://sp221718.forumtesting.osdu.aws/api/crs/catalog/v3/coordinate-transformation?recordId=osdu:reference-data--CoordinateTransformation:EPSG::1111'
--header 'data-partition-id: osdu'
--header 'Authorization: Bearer eyJraWQiOiJRV3RKSUxzZHhhMndr...IrBfULlZ3T3jfQ'
Response: 200 OK { "searchResults": { "results": [], "aggregations": [], "totalCount": 0 }, "query": "id: "osdu:reference-data--CoordinateTransformation:EPSG::1111"" }
On other hand using the recordid and the SEARCH API, one is able to find the same coordinatetransformation record using the recordid
curl --location --request POST 'https://sp221718.forumtesting.osdu.aws/api/search/v2/query'
--header 'Content-Type: application/json'
--header 'data-partition-id: osdu'
--header 'Authorization: Bearer eyJraWQiOiJRV3RKSUxzZHhhMndr...IrBfULlZ3T3jfQ'
--data-raw '{
"kind": "osdu:wks:reference-data--CoordinateTransformation:1.0.0",
"query": "id: "osdu:reference-data--CoordinateTransformation:EPSG::1111""
}
Response 200 OK { "results": [ { "data": { "PreferredUsage.Extent.Description": null, "PersistableReference": "{"authCode":{"auth":"EPSG","code":"1111"},"name":"Ain_El_Abd_To_WGS_1984_2","type":"ST","ver":"PE_10_9_1","wkt":"GEOGTRAN[\"Ain_El_Abd_To_WGS_1984_2\",GEOGCS[\"GCS_Ain_el_Abd_1970\",DATUM[\"D_Ain_el_Abd_1970\",SPHEROID[\"International_1924\",6378388.0,297.0]],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[\"Geocentric_Translation\"],PARAMETER[\"X_Axis_Translation\",-143.0],PARAMETER[\"Y_Axis_Translation\",-236.0],PARAMETER[\"Z_Axis_Translation\",7.0],OPERATIONACCURACY[18.0],AUTHORITY[\"EPSG\",1111]]"}", "CoordinateTransformationType": null, "PreferredUsage.AuthorityCode.Code": 8032, "ResourceCurationStatus": null, "Name": "Ain el Abd to WGS 84 (2)", "CoordTfmVersion": "DMA-Sau", "PreferredUsage.Scope.AuthorityCode.Authority": "EPSG", "PreferredUsage.Extent.BoundingBoxSouthBoundLatitude": 16.37, "PreferredUsage.Extent.BoundingBoxWestBoundLongitude": 34.51, "PreferredUsage.Name": "Saudi Arabia - onshore", "Kind": null, "ResourceSecurityClassification": null, "PreferredUsage.Extent.AuthorityCode.Authority": "EPSG", "ID": "EPSG::1111", "ExistenceKind": null, "Usages": [ { "Scope": { "AuthorityCode": { "Authority": "EPSG", "Code": 1160 }, "Name": "Military survey." }, "Extent": { "BoundingBoxWestBoundLongitude": 34.51, "AuthorityCode": { "Authority": "EPSG", "Code": 3303 }, "BoundingBoxNorthBoundLatitude": 32.16, "BoundingBoxEastBoundLongitude": 55.67, "BoundingBoxSouthBoundLatitude": 16.37, "Name": "Saudi Arabia - onshore" }, "AuthorityCode": { "Authority": "EPSG", "Code": 8032 }, "Name": "Saudi Arabia - onshore" } ], "Method.Name": "Geocentric translations (geog2D domain)", "PreferredUsage.Scope.AuthorityCode.Code": 1160, "Code": "1111", "TargetCRS.AuthorityCode.Code": 4326, "Method.AuthorityCode.Code": 9603, "AttributionAuthority": null, "Variant": 2, "AttributionRevision": null, "TargetCRS.AuthorityCode.Authority": "EPSG", "TargetCRS.Name": "WGS 84", "Description": null, "PreferredUsage.Extent.BoundingBoxEastBoundLongitude": 55.67, "SourceCRS.SourceCRSID": "osdu:reference-data--CoordinateReferenceSystem:Geographic2D:EPSG::4204:", "ResourceLifecycleStatus": null, "TechnicalAssuranceID": null, "TargetCRS.TargetCRSID": "osdu:reference-data--CoordinateReferenceSystem:Geographic2D:EPSG::4326:", "Source": "Workbook Resources/IOGP/Manifests/reference-data/CoordinateTransformation.1.0.0.json; commit SHA 9ed9f2cc.", "SourceCRS.AuthorityCode.Authority": "EPSG", "Accuracy": 18.0, "PreferredUsage.Extent.AuthorityCode.Code": 3303, "PreferredUsage.Extent.BoundingBoxNorthBoundLatitude": 32.16, "Method.AuthorityCode.Authority": "EPSG", "CommitDate": "2021-12-13T13:08:21+0100", "AttributionPublication": null, "InactiveIndicator": null, "CodeSpace": "EPSG", "CodeAsNumber": 1111, "SourceCRS.AuthorityCode.Code": 4204, "InformationSource": null, "ResourceHomeRegionID": null, "RevisionDate": "2020-03-14T00:00:00+0000", "SourceCRS.Name": "Ain el Abd", "PreferredUsage.Extent.Name": "Saudi Arabia - onshore", "PreferredUsage.AuthorityCode.Authority": "EPSG", "PreferredUsage.Scope.Name": "Military survey." }, "kind": "osdu:wks:reference-data--CoordinateTransformation:1.0.0", "source": "wks", "acl": { "viewers": [ "data.default.owners@osdu.example.com" ], "owners": [ "data.default.viewers@osdu.example.com" ] }, "type": "reference-data--CoordinateTransformation", "version": 1652798924649780, "tags": null, "modifyUser": "serviceprincipal@testing.com", "modifyTime": "2022-05-17T14:48:44.798Z", "createTime": "2022-05-17T14:48:29.723Z", "authority": "osdu", "namespace": "osdu:wks", "legal": { "legaltags": [ "osdu-public-usa-dataset" ], "otherRelevantDataCountries": [ "US" ], "status": "compliant" }, "createUser": "serviceprincipal@testing.com", "id": "osdu:reference-data--CoordinateTransformation:EPSG::1111" } ], "aggregations": null, "totalCount": 1 }
The collection that I am using was provided by AWS team member Nehru, Santhos.