New answers tagged

5

Yes, although this seems not to be mentioned in the documentation. If you include num_threads=8 or num_threads='all_cpus' as an argument to rasterio.open then multithreading will be enabled (for writing of compressed data). Example: import numpy as np, rasterio size = 16384 chunk = 512 with rasterio.open('test.tiff', 'w', driver='GTiff', nodata=0, ...


1

Here is how you serve gzipped GeoJson files from CloudFront: Make sure the Content-Type of the geojson files is application/javascript (you can change it in S3) In CloudFront, under behavior, set Compress Objects Automatically to yes Make sure you invalidate the folder before checking if it works.


Top 50 recent answers are included