Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

29
  • Thank you for answer. But with gdal_translate I have issue like gis.stackexchange.com/questions/227982/… . On my ubuntu GDAL does not support MBTILES format. Do you know step-by-step instruction how to add SQlite support to GDAl 2.1.3? Could you please help with an example of creation mbtiles because there gdal.org/frmt_mbtiles.html not clear enough how to achieve .mbtiles from common .tiff file. On second PC, where is OS Windows, GDAL supports mbtiles, but rise an error: "Could not find appropriate zoom level" Commented Mar 4, 2017 at 12:49
  • Show gdalinfo from the original image and exact command that you used and I can see if I find something. I do not compile myself so I can't help with that. Ask from gdal-dev mailing lists. Commented Mar 4, 2017 at 14:01
  • Have you tried to compile with `--with-sqlite3 `? It might be enough for bringing the MBTiles support as it does for geopackage rasters erouault.blogspot.fi/2014/12/… Commented Mar 4, 2017 at 16:14
  • 1
    So you do not have MBTiles driver. Before you have that you can't do anything. When you have it you will see MBTiles -raster- (rw+v): MBTiles. Commented Mar 6, 2017 at 10:05
  • 1
    @Davion Sorry, i didn't notice that you are on Ubuntu. You actually don't need nmake.opt. First run apt-get install libspatialite-dev libspatialite5 spatialite-bin sqlite3. Then ./configure --with-spatialite --with-sqlite in the GDAL source folder. then run make and then sudo make install. Commented Mar 9, 2017 at 6:16