-
Notifications
You must be signed in to change notification settings - Fork 10
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
visualize tif ? #122
Comments
Hi Joao ! There is currently no (direct) support for tif format with gridviz. We did some testing here: The only operational option is either with a small CSV file, or a bigger one which can be tiled to improve efficiency. To transform a big tiff file into tiled CSV format used by gridviz, we developped some processes in java for 100m resolution data over Europe. See this example for copernicus data: https://github.com/eurostat/JGiscoTools/blob/dev/modules/gproc/src/main/java/eu/europa/ec/eurostat/jgiscotools/gisco_processes/gridvizprep/EurElevation.java |
For TIFF support in gridtiler, see eurostat/gridtiler#3 |
If your data is freely available, let use know how we could use it as a test case ! |
@jgaffuri been trying with the gridtiler and programatically works fine. But the 1k resolution still loads slowly, so I was playing with the aggregation function but was rendering weird values... and while digging the gridtiler issues I found this eurostat/gridtiler#7 which made me understood the reason for the weird values. our data can't be summed when aggregated as it looses meaning. Our data would need to have the MAX (or MODE) of the values in the aggregation, i.e. for each gridcell we have "number of pressures" ranging from 1 to 14. It dos not make sense to sum all gridvalues as it yields a meaningless value. |
@joewdavies et al, once again this is great stuff! keep up the great work!
Would love to use the GridViz to display some grids and I have a 100m resolution tif that even if I rescale it to 1k yields about 200MB as a CSV. As a tif, it has about 2MB ...
I see that you have some tif files in your assets:
https://github.com/eurostat/gridviz/tree/master/assets/tiff/test
CSVs can be very inefficient as they repeat coordinates of the regular grid. An ASC file would reduce that size a little as the first rows define the grid.
But I can't see any reference to the tif assets usage. Are you planning to have some methods to visualize it?
The text was updated successfully, but these errors were encountered: