Revision 265b6866db55d88762e656b8d840cb38f3469c32 authored by Eric Fischer on 20 June 2015, 00:08:00 UTC, committed by Eric Fischer on 20 June 2015, 00:08:00 UTC
Optimizations to reduce memory footprint
2 parent s 86a341c + e6c5aa9
Raw File
mbtiles.h
sqlite3 *mbtiles_open(char *dbname, char **argv);

void mbtiles_write_tile(sqlite3 *outdb, int z, int tx, int ty, const char *data, int size);

void mbtiles_write_metadata(sqlite3 *outdb, const char *fname, char **layername, int minzoom, int maxzoom, double minlat, double minlon, double maxlat, double maxlon, double midlat, double midlon, struct pool **file_keys, int nlayers);

void mbtiles_close(sqlite3 *outdb, char **argv);
back to top