rastapasta / mapscii

🗺 MapSCII is a Braille & ASCII world map renderer for your console - enter => telnet mapscii.me <= on Mac (brew install telnet) and Linux, connect with PuTTY on Windows
MIT License
7.93k stars 256 forks source link

local npm install: "Error: Unimplemented type: 4" - broken PBF cache #71

Closed Piskvor closed 5 years ago

Piskvor commented 5 years ago

Steps to reproduce

Current behavior

Welcome to MapSCII! Use your cursors to navigate, a/z to zoom, q to quit.



**Expected behavior**

- map displayed.

**Steps to fix**
- `rm -rf ~/.mapscii/cache`
- app starts normally
Piskvor commented 5 years ago

According to https://wiki.openstreetmap.org/wiki/PBF_Format , Type 4 is optional Info info = 4; // May be omitted in omitmeta - perhaps the downloaded mapfile was corrupt?

Perhaps this could be handled in-app, or at least given a more descriptive error message - meanwhile, the error and fix is discoverable here.