maplibre/martin

Add more validations to .mbtiles detection

オープン

#741 opened on 2023/07/03

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (377 件のフォーク)auto 404
good first issuehelp wantedmbtilesrust

Repository metrics

Stars
 (3,761 個のスター)
PR merge metrics
 (平均マージ 2d 16h) (30d で 78 merged PRs)

説明

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.

コントリビューターガイド