Re: [gdal-dev] Querying many raster pixels efficiently from Python

2020-01-23 Thread Patrick Young
Putting something like mapserver/mapcache in front of your requests might work, if I understand correctly. We serve COGs out of s3 via WMS like this and the performance is pretty nice. See https://github.com/pedros007/mapserver-docker for some discussion on such a setup. Best, Patrick On Thu

[gdal-dev] Querying many raster pixels efficiently from Python

2020-01-23 Thread Daniel Evans
Hi, I have a large (global, 30m resolution, 50GB+) GeoTIFF dataset, from which I need to read many (millions) of pixel values at given input coordinates. I've got reasonable performance out of the code, about a million queries over five minutes, but: 1. There are actually twelve separate d