[gdal-dev] MBTiles creation problems on some iOS devices
gunnarblom
gunnarblom at mail.com
Wed Jun 8 10:32:06 PDT 2016
Thanks, appreciate the response!
I tried it with CPL_DEBUG=ON, but it doesn't say anything about low disk
space. Here are the logs, where you can see the writing behaviour differ a
lot for an unknown reason. This is with GDAL_CACHEMAX on Auto. (I also tried
limiting GDAL_CACHEMAX to 49mb on the iPhone 6S as on the iPad 3 with Auto,
but it was still similar output.)
Do you know what could trigger this difference?
iPhone 6S log:
Input file size is 5000, 5000
GDAL: GDAL_CACHEMAX = 100 MB
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=0,0,2346x1151 Dst=0,0,3328x1536
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=2291,0,1460x2389 Dst=3328,0,1792x3328
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=3622,0,1378x2324 Dst=5120,0,1834x3328
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=0,1046,2407x1445 Dst=0,1536,3328x1792
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=0,2386,2468x1452 Dst=0,3328,3328x1792
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=2404,2321,1415x1414 Dst=3328,3328,1792x1792
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=3748,2248,1252x1422 Dst=5120,3328,1834x1792
GPKG: Partial tiles DB is 46387200 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 91
GPKG: Flushed 45 tiles
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=0,3732,2531x1268 Dst=0,5120,3328x1841
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=2465,3667,1424x1333 Dst=3328,5120,1792x1841
GDAL: Potential thrashing on band 1 of /xxx/xxx.tif.
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=3816,3594,1184x1406 Dst=5120,5120,1834x1841
iPad 3 log:
Input file size is 5000, 5000
GDAL: GDAL_CACHEMAX = 49 MB
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=0,0,2395x1172 Dst=0,0,3328x1536
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=2340,0,1290x2435 Dst=3328,0,1536x3328
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=3503,0,1497x1016 Dst=4864,0,1960x1536
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=0,1067,2457x1470 Dst=0,1536,3328x1792
GPKG: Partial tiles DB is 30109696 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 129
GPKG: Flushed 30 tiles. Target was 64
GDAL: GDALWarpKernel()::GWKGeneralCase()
Src=3560,935,1440x1445 Dst=4864,1536,1960x1792
GPKG: Partial tiles DB is 40747008 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 139
GPKG: Flushed 25 tiles. Target was 69
GPKG: Partial tiles DB is 32829440 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 195
GPKG: Flushed 3 tiles. Target was 97
GPKG: Partial tiles DB is 40763392 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 206
GPKG: Flushed 14 tiles. Target was 103
GPKG: Partial tiles DB is 39051264 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 39247872 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 40558592 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 40558592 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 40558592 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 40624128 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 41672704 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43180032 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43245568 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43180032 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43245568 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43180032 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43180032 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43053056 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 193
GPKG: Flushed 1 tiles. Target was 96
GPKG: Partial tiles DB is 43053056 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 193
GPKG: Flushed 1 tiles. Target was 96
GPKG: Partial tiles DB is 43180032 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43180032 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43315200 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 194
GPKG: Flushed 2 tiles. Target was 97
GPKG: Partial tiles DB is 43180032 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43974656 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 203
GPKG: Flushed 11 tiles. Target was 101
GPKG: Partial tiles DB is 43053056 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 193
GPKG: Flushed 1 tiles. Target was 96
GPKG: Partial tiles DB is 43053056 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 193
GPKG: Flushed 1 tiles. Target was 96
GPKG: Partial tiles DB is 43180032 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43245568 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43114496 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 192
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43118592 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 193
GPKG: Flushed 0 tiles. Target was 96
GPKG: Partial tiles DB is 43380736 bytes. Flushing part of partial tiles
GPKG: Active partial tiles before flush: 193
GPKG: Flushed 0 tiles. Target was 96
*** STOPPED IT AS IT TOOK A LONG TIME AND HAD WRITTEN ~3GB ALREADY ***
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MBTiles-creation-problems-on-some-iOS-devices-tp5270469p5270696.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list