maplibre/martin

Add more validations to .mbtiles detection

开放

#741 创建于 2023年7月3日

 (6 条评论) (0 个反应) (0 位负责人)Rust (377 个派生)auto 404
good first issuehelp wantedmbtilesrust

仓库指标

星标
 (3,761 个星标)
PR 合并指标
 (平均合并 2天 16小时) (30 天内合并 78 个 PR)

描述

As part of mbtiles type detection, we should catch some common issues:

  • detect if tiles (simple) or map (deduplicated) tables have an index by z,x,y columns
  • ???

In case of a problem, use a warn! macro to print a warning, unless we are certain the issue makes it impossible to use a file, in which case it should be appropriate error (add it to the error enum).

A bigger discussion is if mbtiles should stop using logging, and return some Vec<MbtilesWarning> if non-critical issues are detected.

贡献者指南