[gdal-dev] how to use gdal to create a xlsx file

2018-05-31 Thread weskerjiang
I want to use gdal to read a shapefile and write the attributes into a xlsx file,how to use gdal to do that? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] mbtiles open failed

2018-04-03 Thread weskerjiang
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.mbt