How do you write a compressed GeoTiff #327
Answered
by
snowman2
JonesRusty
asked this question in
Q&A
-
Hi, It is probably really easy but I don't see how to write a compressed TIF file. I would want to use a lossless compression algorithm like L77 or LZW. Can anyone point me in the right direction? |
Beta Was this translation helpful? Give feedback.
Answered by
snowman2
May 3, 2021
Replies: 1 comment 2 replies
-
The good news is that it is pretty simple. You just pass the xds.rio.to_raster("file.tif", compress='LZW') |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
JonesRusty
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The good news is that it is pretty simple. You just pass the
compress
kwarg intoto_raster
: