Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview of tabular data /documents #8823

Open
Jo-Schie opened this issue Feb 18, 2022 · 4 comments
Open

Preview of tabular data /documents #8823

Jo-Schie opened this issue Feb 18, 2022 · 4 comments
Labels
question A User question which should be discussed at mailing list

Comments

@Jo-Schie
Copy link

We are considering using Geonode as an open-data catalogue for our organization that should inform data analysts and users about existing open datasets that could be beneficial to their work. The request from our institution is that we should be able to store spatial as well as non-spatial data inside of this catalogue and also just create references to other existing data portals. Looking through geonode documentation and trying the demo, I saw that geonode supports most of the requests:

GeoNode allows to publish tabular and text data and to manage metadata and associated documents. Documents can be uploaded directly from your disk. The following documents types are allowed: .doc, .docx, .gif, .jpg, .jpeg, .ods, .odt, .odp, .pdf, .png, .ppt, .pptx, .rar, .sld, .tif, .tiff, .txt, .xls, .xlsx, .xml, .zip, .gz, .qml.

Through the document detailed page is possible to view, download and manage a document.

My question would be if it was possible to also pre-view a table (e.g. in xls format) or if this is not implemented yet, if such an implementation would be possible? How difficult would it be to add this functionality if it does not exist yet?

@t-book
Copy link
Contributor

t-book commented Feb 18, 2022

Hi @Jo-Schie you are right. Previewing of tabular data of documents directly in the browser is not implemented. Two possible implementations. More work: create a custom version of the documents app that parses the doc and stores it in a db table. Then, when someone requests, the doc do what every you want with it. (That is how actually ckan does it). OR less work. Just override the document's template. In case of tabular data, you could provide a new button that passes the data to some frontend solution like: https://github.com/SheetJS/sheetjs
Both are untested.

@t-book t-book added the question A User question which should be discussed at mailing list label Feb 18, 2022
@Jo-Schie
Copy link
Author

wow that was a fast response. Happy to hear that it is technically possible and probably within a managable amount of time. Fantastic, thanks. I will discuss this with my colleagues. If we opt for Geonode would this be a feature that is interesting for main here as well?

@gannebamm
Copy link
Contributor

See also #8714 ;)

@giohappy
Copy link
Contributor

The GNIP linked by @gannebamm in the mid/long term goal but as @t-book says a quick solution would be to either implement a viewer for tabular data in MapStore or hijack somehow the document viewer and show a custom page (I'm not sure if it's doable right now though).

Of course I would be in favor to have a builtin tabular viewer inside the MapStore client, something similar to what @allyoucanmap has done to experiment with 3D gltf and pcd data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A User question which should be discussed at mailing list
Projects
None yet
Development

No branches or pull requests

4 participants