Skip to content

Feature/7993 update get downloadable fields#235

Merged
NekoLyn merged 10 commits intomainfrom
feature/7993-update-get-downloadable-fields
Feb 13, 2026
Merged

Feature/7993 update get downloadable fields#235
NekoLyn merged 10 commits intomainfrom
feature/7993-update-get-downloadable-fields

Conversation

@NekoLyn
Copy link
Contributor

@NekoLyn NekoLyn commented Feb 11, 2026

API: /collections/:uuid/items/wms_fields?layerName=xxx

  • get map layer fields for map tools/map tiles query/map features from its describe layer
  • layername is optional. If no layername is provided then return all the fields for all wms links in the collection

example res for uuid = 06b09398-d3d0-47dc-a54a-a745319fbece:

[
    {
        "typename": "aatams_sattag_dm_profile_map",
        "fields": [
            {
                "label": "profile_id",
                "name": "profile_id",
                "type": "long"
            },
            {
                "label": "file_id",
                "name": "file_id",
                "type": "long"
            },
          ... ...
            {
                "label": "geom",
                "name": "geom",
                "type": "GeometryPropertyType"
            },
            {
                "label": "colour",
                "name": "colour",
                "type": "string"
            },
            {
                "label": "size",
                "name": "size",
                "type": "double"
            }
        ]
    }
]

API: /collections/:uuid/items/wfs_fields?layerName=xxx

  • get downloadable fields for wfs data subsetting
  • layername is optional. If no layername is provided then return all the fields for all wfs links in the collection

example res for uuid = 199394010:

[
    {
        "typename": "underway_60",
        "fields": [
            {
                "label": "id",
                "name": "id",
                "type": "long"
            },
            {
                "label": "set_code",
                "name": "set_code",
                "type": "string"
            },
         ... ...
            {
                "label": "wtr_depth_m",
                "name": "wtr_depth_m",
                "type": "double"
            },
            {
                "label": "wtr_temp_optode_degc",
                "name": "wtr_temp_optode_degc",
                "type": "double"
            }
        ]
    },
    {
        "typename": "underway_1200",
        "fields": [... ...]
    },
    {
        "typename": "underway_7200",
      "fields": [... ...]
    },
    {
        "typename": "underway_mln_1200",
        "fields": [
            {
                "label": "set_code",
                "name": "set_code",
                "type": "string"
            },
            {
                "label": "min_date_time_utc",
                "name": "min_date_time_utc",
                "type": "dateTime"
            },
            {
                "label": "max_date_time_utc",
                "name": "max_date_time_utc",
                "type": "dateTime"
            },
            {
                "label": "voyage",
                "name": "voyage",
                "type": "MultiCurvePropertyType"
            }
        ]
    }
]

@NekoLyn NekoLyn marked this pull request as draft February 11, 2026 06:41
@NekoLyn NekoLyn marked this pull request as ready for review February 13, 2026 04:17
Copy link
Collaborator

@utas-raymondng utas-raymondng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NekoLyn NekoLyn merged commit ccf77d6 into main Feb 13, 2026
4 checks passed
@NekoLyn NekoLyn deleted the feature/7993-update-get-downloadable-fields branch February 13, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants