You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For offline "Field Kit" Terrastories, we are using TileServer-GL to render mbtiles. The process to get tiles running is basically to deposit an mbtiles file in tileserver/data/mbtiles/ and an associated style.json in tileserver/data/styles.
This works just fine with vector mbtiles, but raster mbtiles (such as ones generated through QGIS's Generate XYZ Tiles tool) seems to have an issue. While these raster mbtiles work just fine in the TileServer-GL server spun up by Terrastories at localhost:8080, the tiles do not render in Terrastories itself. Within Terrastories, we get a series of errors in the console per each GET request for the tiles. Error messaging is Error {message: "Unimplemented type: 7"} in evented.js:141. Errors in full below.
Upon looking into this somewhat, this might be a compression error (link and link), but we're not sure as of yet. What is rather confusing is that the raster tiles do work in the Terrastories localhost tileserver; just not in Terrastories itself.
So, we would love some help diagnosing this further and figuring out if it's (a) an issue with Terrastories parsing raster tiles from TileServer, or (b) an issue with the mbtiles raster formatting.
Marking this as critical since a user in Guyana is trying to get an offline Field Kit running and came across this issue.
For offline "Field Kit" Terrastories, we are using TileServer-GL to render mbtiles. The process to get tiles running is basically to deposit an mbtiles file in
tileserver/data/mbtiles/
and an associated style.json intileserver/data/styles
.This works just fine with vector mbtiles, but raster mbtiles (such as ones generated through QGIS's
Generate XYZ Tiles
tool) seems to have an issue. While these raster mbtiles work just fine in the TileServer-GL server spun up by Terrastories atlocalhost:8080
, the tiles do not render in Terrastories itself. Within Terrastories, we get a series of errors in the console per each GET request for the tiles. Error messaging isError {message: "Unimplemented type: 7"} in evented.js:141
. Errors in full below.Upon looking into this somewhat, this might be a compression error (link and link), but we're not sure as of yet. What is rather confusing is that the raster tiles do work in the Terrastories localhost tileserver; just not in Terrastories itself.
So, we would love some help diagnosing this further and figuring out if it's (a) an issue with Terrastories parsing raster tiles from TileServer, or (b) an issue with the mbtiles raster formatting.
Marking this as critical since a user in Guyana is trying to get an offline Field Kit running and came across this issue.
To Reproduce
Steps to reproduce the behavior:
tileserver/data/mbtiles/
and place style.json intileserver/data/styles
.Screenshots
![image](https://user-images.githubusercontent.com/31662219/131922673-2470890d-d5ba-44d7-b041-2c8f5f0b4bfd.png)
Here you see the raster tiles working in the local tileserver:
![image](https://user-images.githubusercontent.com/31662219/131922703-57479a99-08f8-4245-9727-7f412fbd1c81.png)
Full error messages
and
and
The text was updated successfully, but these errors were encountered: