Skip to content

support the profile parameter for detailed info on the requested encoding #2383

Description

@pvgenuchten

Is your feature request related to a problem? Please describe.

for some specialised formats such as jsonfg, ogc suggests to reuse the application/geo+json encoding, but extend it with a profile parameter to indicate the json flavour.

Describe the solution you'd like

pygeoapi would parse the profile to understand which json to return. This functionality will also be relevant for other json flavour, such as stac, ogcapi-records, cov-json, etc

the profile can also de introduced as query parameter, to override the accept header, ?f=geojson&profile=jsonfg, however a shortcut f=jsonfg also makes sense.

Additional context

https://docs.ogc.org/is/21-045r1/21-045r1.html#_using_a_json_fg_client

This came up as part of #2376

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions