[gdal-dev] Write support for MBTiles drive

Sean Gillies sean at mapbox.com
Mon Jul 21 10:40:05 PDT 2014


Dear Nick,

For what it's worth, the Mapbox project 
https://github.com/mapbox/mbtiler is already being used in software that 
prepares tiles for upload to mapbox.com. We licensed it MIT thinking 
that it might be used in future updates to the GDAL MBTiles driver. 
Since it doesn't tile or implement traversal of tile trees, it's quite 
limited in its present state.


On 7/21/14, 10:48 AM, Nicu Tofan wrote:
> Thank you all for your input. I will start the work later this week and
> I will keep you posted about the progress. Also, thanks for your support
> and comments, Mark.
>
> I haven't had the time yet to read the guidelines for developers
> (regarding style & workflow & all) but I will make sure I do that before
> doing any work. I was thinking about manually forking the gdal source on
> GitHub, doing the work there, and, when done, submitting a patch for
> review.
>
> Regards,
> Nick
>
>
> 2014-07-21 16:12 GMT+03:00 Mark Johnson <mj10777 at googlemail.com
> <mailto:mj10777 at googlemail.com>>:
>
>     >> Note that the licence used in the software (GNU GPL v3) is incompatible
>     >> with GDAL, so it cannot be included in the GDAL source tree without the
>     >> author's consent to use the code under another licence (such as the MIT/X
>     >> licence used by GDAL).
>
>     If geopaparazzi was meant by this, we have no objection for anyone to use this code.
>
>     https://github.com/geopaparazzi/geopaparazzi/issues/189
>
>
>
>
>     Our class was based on the original work of 'Simon Thépot'
>     - which had a minimal reading logic only
>
>     I made some needed corrections and developed the writing logic.
>
>     There is also a python implementation
>     -class  MbTiles
>
>     that can be found at:
>
>     https://github.com/mj10777/mapmbtiles/blob/master/mapmbtiles/mbtiles.py
>
>
>
>
>     This was an attempt to adapt the last public version of gdal2tiles.py before it became a closed source from the original author.
>
>     - goal was to be able to store the results of gdal2tiles directly in a mbtiles file
>
>
>
>     there are one or two functions based on other sources (and documented as such),
>
>     but otherwise a python version of the geopaparazzi version.
>
>     At
>     http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#tileinfo.sh
>
>
>
>
>     there is a bash version that also creates mbtiles that I wrote.
>
>     All of these versions create mbtiles with
>
>     - view/table logic as done by tilemill
>
>     -- making it possible that 'blank' image are only stored once
>
>
>
>     --- blank being all 256x256 have the same rgb value
>
>     If there are any questions, fell free to open an issue at
>       https://github.com/geopaparazzi/geopaparazzi/issues
>
>
>
>
>     Mark Johnson, Berlin Germany
>
>
>     _______________________________________________
>     gdal-dev mailing list
>     gdal-dev at lists.osgeo.org <mailto:gdal-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>

-- 
Sean Gillies
sean at mapbox.com


More information about the gdal-dev mailing list