Endpoint suitable for QGIS-based raster stats #773
-
Hey Vincent! I've been using Titiler recently to stream some of our STACs to QGIS using the XYZ endpoint. Ideally, we'd like to stream the raw data so that we can perform raster statistics on the streamed COG. Trying this, I'm causing QGIS to clog up and die 😅 so I have a feeling that this isn't the right way to do this. I know we could use the statistics endpoint, but I'd ideally like to use the QGIS functions for simplicity. My question is: is there a performant way to stream the raw COGs via Titiler, or is the XYZ endpoint not designed for this purpose so I should use some other solution? Would the WMS extension likely improve results? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I guess you cannot access the COG directly? |
Beta Was this translation helpful? Give feedback.
I think the cogserver transform anyfile in COG (virtually) so basically you could create an API using this. The XYZ endpoint involve reprojection so it might not be the most efficient method.
as you mentioned you could also use the WMS or the WMTS endpoint but it might be similar.