Closed LuukMoret closed 2 years ago
Currently, not as configured. The GDAL docs specify that GDAL must be compiled with SQLite support in order to support this format. The version of gdal-js
that Loam uses by default is not compiled with SQLite support. This is to minimize the bundle size, but it means that some formats are not supported.
It should be possible to make a custom build of gdal-js
that supports SQLite, and use it to create mbtiles. I know that other people have used Emscripten to compile SQLite, so I don't know of any reason it wouldn't work in this case as well, but I haven't tried it myself.
Alright great, thanks for the quick answer!
Is it possible to convert to mbtiles? I currently have GTiff working but when I try to convert to mbtiles I get an error when calling the
bytes()
function.