Properties returned for GET /api/crs/catalog/v3/coordinate-transformation

cc @gehrmann @debasisc

@spencer the CT GET function works fine; however the amount of detail returned is minimal. Below is a current example for a simple CT and a concatenated CT. The request is to add more properties as initially described.

  • Agreed return all properties rather than remove like 1 or 2:

Request (with parameters)

{{osduonaws_base_url}}/api/crs/catalog/v3/coordinate-transformation?recordId=osdu:reference-data--CoordinateTransformation:EPSG::1111

Current response

{
    "searchResults": {
        "results": [
            {
                "data": {
                    "Description": null,
                    "InactiveIndicator": null,
                    "ID": "EPSG::1111",
                    "Code": "1111",
                    "Source": "Workbook Resources/IOGP/Manifests/reference-data/CoordinateTransformation.1.1.0.json; commit SHA a046fbd2.",
                    "CommitDate": "2022-04-02T14:45:12+0200",
                    "Name": "Ain el Abd to WGS 84 (2)"
                },
                "kind": "osdu:wks:reference-data--CoordinateTransformation:1.1.0",
                "id": "osdu:reference-data--CoordinateTransformation:EPSG::1111",
                "version": 1650556480910912
            }
        ],
        "totalCount": 1
    },
    "query": "id: \"osdu:reference-data--CoordinateTransformation:EPSG::1111\""
}

Example 2 (concatenated CT)

{{osduonaws_base_url}}/api/crs/catalog/v3/coordinate-transformation?dataId=EPSG::4837

Current response

{
    "searchResults": {
        "results": [
            {
                "data": {
                    "Description": null,
                    "InactiveIndicator": null,
                    "ID": "EPSG::4837",
                    "Code": "4837",
                    "Source": "Workbook Resources/IOGP/Manifests/reference-data/CoordinateTransformation.1.1.0.json; commit SHA a046fbd2.",
                    "CommitDate": "2022-04-02T14:45:12+0200",
                    "Name": "Amersfoort to ED50 (1)"
                },
                "kind": "osdu:wks:reference-data--CoordinateTransformation:1.1.0",
                "id": "osdu:reference-data--CoordinateTransformation:EPSG::4837",
                "version": 1650556480910912
            }
        ],
        "totalCount": 1
    },
    "query": "data.ID: \"EPSG::4837\""
}

Proposed response to include

The word document shows the properties that are useful to return. Also the excel spreadsheet shows all properties and the importance.

Edited by Bert Kampes