openfairdb icon indicating copy to clipboard operation
openfairdb copied to clipboard

Serialisations and content negotiation

Open almereyda opened this issue 4 years ago • 0 comments

The tutorial at https://blog.vonmorgen.org/iframes/ explains to us how we can receive a dataset as CSV. It misses out to explain how, but that is left to be asked by mail instead.

Similarily it appears desirable to add a GeoJSON serialisation of the dataset, in so it can be more easily reused in other places. The content is already licenced as CC0, which would be a great contribution to the Intermapping commons.

The serialisation could be implemented in RESTful manner via an Accept: Header accepting application/vnd.geo+json (obsolete) or application/geo+json (common).

The same content negotiation approach could also be nice for Accept: text/csv.

almereyda avatar Jan 26 '20 16:01 almereyda