Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unimplemented type: 4 #87

Open
harriott opened this issue Jun 20, 2020 · 4 comments · May be fixed by 82ndAirborneDiv/mapscii#4 or jordanistan/mapscii#4
Open

Unimplemented type: 4 #87

harriott opened this issue Jun 20, 2020 · 4 comments · May be fixed by 82ndAirborneDiv/mapscii#4 or jordanistan/mapscii#4

Comments

@harriott
Copy link

Steps to reproduce
linux 5.7.4.arch1-1, in either urxvt or xterm:

$ npx mapscii
Welcome to MapSCII! Use your cursors to navigate, a/z to zoom, q to quit.Error: Unimplemented type: 4
    at Pbf.skip (/usr/lib/node_modules/mapscii/node_modules/pbf/index.js:211:20)
    at Pbf.readFields (/usr/lib/node_modules/mapscii/node_modules/pbf/index.js:46:45)
    at new VectorTile (/usr/lib/node_modules/mapscii/node_modules/@mapbox/vector-tile/lib/vectortile.js:8:23)
    at Tile._loadTile (/usr/lib/node_modules/mapscii/src/Tile.js:33:17)
    at /usr/lib/node_modules/mapscii/src/Tile.js:24:19
renderer is busy

and nothing more appears - no map. Exactly the same when I run mapscii installed from AUR.

@Quillbert
Copy link

Quillbert commented May 4, 2021

I have been getting this same error on a Raspberry Pi Zero. It occurs when zoom is between 2 and 3, then it works fine, then it stops again at 4.

@NeilsC
Copy link

NeilsC commented May 5, 2021

Same issue on Ubuntu 20.04 with mapscii v0.3.1 installed via snap.

@jaller94
Copy link
Collaborator

PBF is a file format for map tiles used by MapSCII.
A few tiles at those zoom levels contain data of an optional type 4 (info).
#71 (comment)

  1. Long-term this type should get supported or ignored in the upstream dependency pbf.
  2. Generally, it would be good to catch errors while loading tiles and display them somewhere.

The map data is a static snapshot from a few years back. Clearing the cache won't help until the map data is updated.

This affects all platforms and current versions.

@dreirund
Copy link

I have this too; what is the state of fixing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants