protomaps / go-pmtiles

Single-file executable tool for working with PMTiles archives
BSD 3-Clause "New" or "Revised" License
350 stars 48 forks source link

Corrupted file #144

Closed Mtehabsim closed 6 months ago

Mtehabsim commented 6 months ago

I installed PMTiles using brew and used it to convert a mbtiles to a pmtiles, but whenever I run any comand on the file it show the following error: '2024/02/20 16:01:26 main.go:205: Failed to verify archive, Failed to create range reader for new.pmtiles, EOF'

What might be the issue? considering I tested that the mbfiles file I used has correct data and run perfectly

bdon commented 6 months ago

what operating system and version (pmtiles version) are you using?

Mtehabsim commented 6 months ago

OS Ventura 13.2.1 pmtiles 1.17.0

bdon commented 6 months ago

please provide the exact command you are running

bdon commented 6 months ago

is your new.pmtiles less than 16 kilobytes?

Mtehabsim commented 6 months ago

Yes it is 834 bytes, the original mbtiles is 29 KB

bdon commented 6 months ago

transferring issue to go-pmtiles

bdon commented 6 months ago

will be addressed in #143

bdon commented 6 months ago

should be fixed in 1.18