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

Export Grid data to geotif #68

Closed
apiszcz opened this issue May 17, 2017 · 4 comments
Closed

Export Grid data to geotif #68

apiszcz opened this issue May 17, 2017 · 4 comments

Comments

@apiszcz
Copy link

apiszcz commented May 17, 2017

Is there a capability or possible approach to export the data set to a Geotif file?
Thank.

@philippjfr
Copy link
Member

@apiszcz Could you clarify? Do you mean exporting image data to geotiff or an actual plot? This may be something that's better handled by xarray.

@apiszcz
Copy link
Author

apiszcz commented May 17, 2017 via email

@jbednar
Copy link
Member

jbednar commented May 17, 2017

Sounds like you want to take a GeoViews object and export it as GeoTIFF, which is different from the "rendering" that HoloViews does using matplotlib or bokeh to create image files, but I suppose it is analogous (using the data plus the metadata to generate a viewable object). I'd guess your best bet is to just get the data into a form that rasterio supports, then use rasterio to make the GeoTIFF. Not sure how much work that is; if it's trivial, probably don't need to add any support in GeoViews for that; if it's complicated, not sure where that complicated code would go. Some background:

pydata/xarray#790

@apiszcz
Copy link
Author

apiszcz commented May 20, 2017

For now, I worked another path with rasterio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants