kartoza / ckanext-dalrrd-emc-dcpr

Electronic Metadata Catalog for South Africa's Department of Agriculture, Land Reform and Rural Development
MIT License
4 stars 5 forks source link

Make json the default on the server #476

Open Jeremy-Prior opened 1 year ago

Jeremy-Prior commented 1 year ago

The current EMC STAC API root endpoint is https://csw-testing.emc.kartoza.com/, but accessing this returns an html page which isn't readable in the STAC Browser QGIS plugin.

Appending ?f=json to the endpoint to make it https://csw-testing.emc.kartoza.com/?f=json will return a JSON response that the plugin can work with.

gubuntu commented 1 year ago

I tried this today and althrough appending the json kv pair results in a json response, the stac plugin does not see it as valid and it does not return any collections nor search results

Screenshot 2023-05-04 at 08 54 20
Mohab25 commented 1 year ago

@gubuntu it seems that we had to re-create pycsw pod for this to load correctly, these are the current results i'm getting, waiting for further notes

Stac1

Stac2

Stac search

gubuntu commented 1 year ago

Note: for the search, keep the sort panel at the bottom-right corner of the stac plugin empty

it seems not to return collections (both when sorting by collection and the raw collections retrieval ), this needs further investigation