Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-03 Thread gunnarblom
GDALBuildOverviews() seems to works fine now, my bad. Thanks for the responses. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Questions-about-MBTiles-write-support-GDAL-2-1-RC4-tp5263684p5264135.html Sent from the GDAL - Dev mailing list archive at Nabble.com. __

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 15:11:54, gunnarblom a écrit : > Even Rouault-2 wrote > > > Ah ok, you can generate overviews/zoom layers with gdaladdo / > > GDALBuildOverviews(). > > I tried using GDALBuildOverviews() but it generates a separate .ovr file > and does not include it in the MBTiles file, righ

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread gunnarblom
Even Rouault-2 wrote > Ah ok, you can generate overviews/zoom layers with gdaladdo / > GDALBuildOverviews(). I tried using GDALBuildOverviews() but it generates a separate .ovr file and does not include it in the MBTiles file, right? If I'm looking at the code, it seems like it is checking that

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread Brad Hards
> I'm talking about zoom layers. E.g. when using gdal2tiles.py you choose what > zoom layers you want to create. Now with the API when only one layer is > created, many MBTiles readers will not show anything until you zoom in to > the exact zoom layer that was decided to include. So the output MBTi

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 13:03:34, gunnarblom a écrit : > Even Rouault-2 wrote > > >> 1) When creating a MBTiles file, only one layer is written. Can you use > >> GDAL to populate other layers? > > > > I'm not sure what you call "layer". AFAIK MBTiles files do not have a > > concept > > of storing ti

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread gunnarblom
Even Rouault-2 wrote >> 1) When creating a MBTiles file, only one layer is written. Can you use >> GDAL to populate other layers? > > I'm not sure what you call "layer". AFAIK MBTiles files do not have a > concept > of storing tiles for different layers. (you could use GeoPackage for that) I'm t

Re: [gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-05-02 Thread Even Rouault
Le samedi 30 avril 2016 22:23:19, Gunnar Blom a écrit : > Hi. > > Awesome work with GDAL 2.1 RC4 and the MBTiles write support. I've ran into > some questions using this feature with the C/C++ API. > 1) When creating a MBTiles file, only one layer is written. Can you use > GDAL to populate other

[gdal-dev] Questions about MBTiles write support @ GDAL 2.1 RC4

2016-04-30 Thread Gunnar Blom
Hi.   Awesome work with GDAL 2.1 RC4 and the MBTiles write support. I've ran into some questions using this feature with the C/C++ API.   1) When creating a MBTiles file, only one layer is written. Can you use GDAL to populate other layers? 2) Can you choose to create 512*512px tiles instead