consbio / mbtileserver

Basic Go server for mbtiles
ISC License
658 stars 104 forks source link

Migrate to mbtiles-go #124

Closed brendan-ward closed 2 years ago

brendan-ward commented 2 years ago

This removes the internal mbtiles package and replaces it with github.com/brendan-ward/mbtiles-go, which uses a SQLite specific package for interacting with the mbtiles files, rather than using the generic Go sql interface.

This also drops support for UTFGrids (pretty outdated at this point), since that is not supported in mbtiles-go.

Observed speedups of roughly 2x for tile requests under load.

coveralls commented 2 years ago

Coverage Status

Coverage decreased (-71.9%) to 7.331% when pulling 685aa8fbc39640171acbce038998a8f7e259ef3e on use_mbtiles-go into dcf21b9a953ad363f6e00b752e8ed291f5f16d3e on master.