i download the gdal from osgeo4w,and i write a demo to open mbtiles file,my code is below
QString uri = "c:/test.mbtiles"; CPLErrorRest(); GDALDatasetH hDS = GDALOpen(uri.toUtf8().constData(),GA_ReadOnly); if(!hDS) { ....... } the CPLGetLastErrorMsg() shows the error "C:/test.mbtiles not recognized as a supported file format" so what's wrong with it? the mbtiles file is good ,i can open it in QGIS 3.0 why it saies not supported?
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev