Open sharkAndshark opened 1 year ago
I like the idea, thanks! One aspect that I am not too certain about is combining things into files
-- one of highly requested features for files it to serve them from http
-- in order words, pmtiles and i suspect COG files will reside in some cloud bucket, and Martin will access them with the HTTP range requests.
This means that we would need to tell the type of that file without relying on file extension. We could try to auto-detect it - e.g. get first few bytes and detect the type, but it won't be relevant to mbtiles, so in short - much easier to keep things clean and separate.
I've built a simple C# prototype without gdal
, and am working on to port it to Rust
.
The config would be separated as @nyurik suggested.
Add support for Cloud Optimized GeoTIFF (COG).
CLI
Conf file
It seems that the conf sections about PMTiles and MBTiles are very similar. I don't know maybe we could merge them into a single section?