[gdal-dev] MBTiles creation problems on some iOS devices

gunnarblom gunnarblom at mail.com
Wed Jun 8 10:26:00 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, 5000GDAL: GDAL_CACHEMAX = 100 MBGDAL:
GDALWarpKernel()::GWKGeneralCase()Src=0,0,2346x1151 Dst=0,0,3328x1536GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=2291,0,1460x2389
Dst=3328,0,1792x3328GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=3622,0,1378x2324
Dst=5120,0,1834x3328GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=0,1046,2407x1445
Dst=0,1536,3328x1792GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=0,2386,2468x1452
Dst=0,3328,3328x1792GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=2404,2321,1415x1414
Dst=3328,3328,1792x1792GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=3748,2248,1252x1422
Dst=5120,3328,1834x1792GPKG: Partial tiles DB is 46387200 bytes. Flushing
part of partial tilesGPKG: Active partial tiles before flush: 91GPKG:
Flushed 45 tilesGDAL: GDALWarpKernel()::GWKGeneralCase()Src=0,3732,2531x1268
Dst=0,5120,3328x1841GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=2465,3667,1424x1333
Dst=3328,5120,1792x1841GDAL: 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, 5000GDAL:
GDAL_CACHEMAX = 49 MBGDAL:
GDALWarpKernel()::GWKGeneralCase()Src=0,0,2395x1172 Dst=0,0,3328x1536GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=2340,0,1290x2435
Dst=3328,0,1536x3328GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=3503,0,1497x1016
Dst=4864,0,1960x1536GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=0,1067,2457x1470
Dst=0,1536,3328x1792GPKG: Partial tiles DB is 30109696 bytes. Flushing part
of partial tilesGPKG: Active partial tiles before flush: 129GPKG: Flushed 30
tiles. Target was 64GDAL:
GDALWarpKernel()::GWKGeneralCase()Src=3560,935,1440x1445
Dst=4864,1536,1960x1792GPKG: Partial tiles DB is 40747008 bytes. Flushing
part of partial tilesGPKG: Active partial tiles before flush: 139GPKG:
Flushed 25 tiles. Target was 69GPKG: Partial tiles DB is 32829440 bytes.
Flushing part of partial tilesGPKG: Active partial tiles before flush:
195GPKG: Flushed 3 tiles. Target was 97GPKG: Partial tiles DB is 40763392
bytes. Flushing part of partial tilesGPKG: Active partial tiles before
flush: 206GPKG: Flushed 14 tiles. Target was 103GPKG: Partial tiles DB is
39051264 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 39247872 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 40558592 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 40558592 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 40558592 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 40624128 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 41672704 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 43180032 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 43245568 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 43180032 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 43245568 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 43180032 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 43180032 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 43053056 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 193GPKG: Flushed 1 tiles. Target was 96GPKG: Partial tiles DB
is 43053056 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 193GPKG: Flushed 1 tiles. Target was 96GPKG: Partial tiles DB
is 43180032 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 43180032 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 43315200 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 194GPKG: Flushed 2 tiles. Target was 97GPKG: Partial tiles DB
is 43180032 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 192GPKG: Flushed 0 tiles. Target was 96GPKG: Partial tiles DB
is 43974656 bytes. Flushing part of partial tilesGPKG: Active partial tiles
before flush: 203GPKG: Flushed 11 tiles. Target was 101GPKG: Partial tiles
DB is 43053056 bytes. Flushing part of partial tilesGPKG: Active partial
tiles before flush: 193GPKG: Flushed 1 tiles. Target was 96GPKG: Partial
tiles DB is 43053056 bytes. Flushing part of partial tilesGPKG: Active
partial tiles before flush: 193GPKG: Flushed 1 tiles. Target was 96GPKG:
Partial tiles DB is 43180032 bytes. Flushing part of partial tilesGPKG:
Active partial tiles before flush: 192GPKG: Flushed 0 tiles. Target was
96GPKG: Partial tiles DB is 43245568 bytes. Flushing part of partial
tilesGPKG: Active partial tiles before flush: 192GPKG: Flushed 0 tiles.
Target was 96GPKG: Partial tiles DB is 43114496 bytes. Flushing part of
partial tilesGPKG: Active partial tiles before flush: 192GPKG: Flushed 0
tiles. Target was 96GPKG: Partial tiles DB is 43118592 bytes. Flushing part
of partial tilesGPKG: Active partial tiles before flush: 193GPKG: Flushed 0
tiles. Target was 96GPKG: Partial tiles DB is 43380736 bytes. Flushing part
of partial tilesGPKG: Active partial tiles before flush: 193GPKG: 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-tp5270469p5270695.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160608/9813389f/attachment.html>


More information about the gdal-dev mailing list