[ckan-discuss] Pictures in CKAN description

Jan Kučera elquenor at gmail.com
Wed Nov 16 22:35:04 GMT 2011


thank you for valuable suggestions and interesting information about future
development of CKAN. Showing graphical metadata alongside with the other
information about the resource would be great. Me and my colleagues want to
add UML class diagrams to provide information about the structure of the
datasets. So I think that this is the use case for graphical metadata.

Uploading class diagrams into the CKAN dataset as a resource might be a
good solution for those who create these diagrams for their own datasets.
In our case we create class diagrams for datasets that someone else has
created and published. The problem is that the author of the class diagram
is different from the author of the other dataset resources. We can license
our diagrams differently than the rest of the resources as well. I think
that in our case it would be more appropriate to create separate dataset
for class diagrams and than link the resources with the original datasets.


2011/11/16 Rufus Pollock <rufus.pollock at okfn.org>

> On 15 November 2011 13:33, Jan Kučera <elquenor at gmail.com> wrote:
> > Hello,
> >
> > I would like to add a class diagram into CKAN dataset description. I know
> > that I can add link to a picture into the dataset description using
> Markdown
> > formatting. But this requires some external storage for the pictures.
> To follow up Tom's comment. I actually think adding pictures as
> resources is a practice we should support and encourage. For example,
> you might have images that constitute data (e.g. a graph) -- this
> sounds a bit like your situation.

> > Is it possible to upload pictures into CKAN package description? Are
> there
> > any recommendations or best practice how to deal with graphical metadata
> > like dataset models in CKAN?
> Specific answer here is if you want to upload image you should upload
> it / add it as a normal "resource". In terms of graphical metadata
> this wouldn't be that different from other resource metadata (you can
> have a name, a description, a format, mimetype etc).
> You can then obviously just link to that resource from the dataset
> description (or even better, in the new resource view (which we are
> developing right now [1]) the image would be displayed directly on the
> relevant resource page.
> Rufus
> [1]: http://wiki.ckan.org/Dataset_and_Resource_Pages
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20111116/bab4bd13/attachment.htm>

More information about the ckan-discuss mailing list