0

I am using Ubuntu 18.04 and sqlite version 2.8.17 .When I run:

sqlite OSM-OpenCPN2-MediEast-20200115-2320.mbtiles

from terminal its give me this:

Unable to open database "OSM-OpenCPN2-MediEast-20200115-2320.mbtiles": file is encrypted or is not a database

I downloaded mbtiles from openseamap.

Update: I could opened the mbtiles as a sqlite database but I am confused how do attract them and make them real map.I am using Qt5/c++ for make an offline map.

ozan
  • 3
  • 2
  • sqlite **2**? Try sqlite **3**, assuming that file is a sqlite database at all. What does `file` say about it? – Shawn Mar 23 '20 at 11:34
  • MBTiles is a file format for storing map tiles in a single file. It is, technically, a SQLite database. – ozan Mar 23 '20 at 11:36
  • I tryed with sqlite3 and its opened.Thank you. – ozan Mar 23 '20 at 11:51
  • I can opened the mbtiles but I am not sure how I can attract the maptiles and make them real map – ozan Mar 24 '20 at 08:07

0 Answers0