I have a relatively large worldwide raster mbTiles file from which I want to convert individual countries into new mbtiles. Unfortunately i fail to use tilelive which is actually predestined for this purpose.
Has anyone ever run tilelive on an Ubuntu server and got the tilelive-copy command implemented? I only get the error message.
i am going to do the following:
- installation of node js
- installation of npm
npm install tilelive
npm install @mapbox/mbtiles
npm install mbtiles
After executing the command:
tilelive-copy input.mbtiles ouput.mbtiles I only get the error message
Error: Invalid tilesource protocol: mbtiles.
I have now tried different nodejs versions etc. Nothing leads to success.
Does anybody have an idea what the problem is or an alternative approach e.g. with GDAL?