GISportal
GISportal copied to clipboard
Deactivate data download
Hi, I am currently setting up the GISportal for our soil moisture data records (https://dataviewer.geo.tuwien.ac.at/)
I was wondering if it is possible to deactivate the netcdf data download for a data set (or all datasets) after installation, while still providing the WCS features to create time series / hovmoeller diagram etc.
Hi, Could someone help us with this? Or let us know if it's not possible for you to look at it and then we can find another solution? Thanks!
Hi, Currently this is not possible with the default portal code. A Pull Request that enabled this feature would be great though and i could offer guidance on where the changes could be made. I guess as a first stab you could look at simply removing the UI element from the HTML templates. But i'm sure there will be a few other areas that will need changing to fully hide the WCS elements of the data layers.
Sorry i can't be more positive at this time.
Hi, We've tried hiding the UI element already - @wpreimes can you give more details of that? We'll see what we can do with it here and will make a PR if we get that far. Thank you for the response.
Hi, thanks for the response. It's really a great tool and it would be a shame if we could not use all of its features. Currently we are using the docker image to install the dataviewer, which makes it difficult to change single UI elements. But if it is the only way I will look into it. We have forked the repository some time ago and @cpaulik experimented with hiding the download button. So I guess we can continue there and do something like that for the current version.