Skip to content

Conversation

manisandro
Copy link
Member

The OAPIF collections/<layername> page contains a link

        {
            "href": "<...>/collections/<layername>/items.json",
            "rel": "items",
            "title": "Edit Lines items as GEOJSON",
            "type": "application/geo+json"
        },

which json as extension even though the content-type is application/geo+json. The collections/<layername>/items.json however contains the self-link as

        {
            "href": "<...>/collections/<layername>/items.geojson",
            "rel": "self",
            "title": "Retrieve the features of the collection as GEOJSON",
            "type": "application/geo+json"
        },

This PR ensures that also the former link uses GEOJSON as extension.

@github-actions github-actions bot added this to the 4.0.0 milestone Sep 29, 2025
Copy link
Contributor

github-actions bot commented Sep 29, 2025

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit f52aacc)

🍎 MacOS Qt6 builds

Download MacOS Qt6 builds of this PR for testing.
This installer is not signed, control+click > open the app to avoid the warning
(Built from commit f52aacc)

@elpaso
Copy link
Contributor

elpaso commented Sep 30, 2025

LGTM but you also need to update the test control files.

@manisandro manisandro force-pushed the geojson_link branch 2 times, most recently from a58462f to 077dc67 Compare September 30, 2025 15:50
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