Per-thread layermap will contain the file keys, not just a layer ID

This commit is contained in:
Eric Fischer
2016-08-29 14:59:28 -07:00
parent f7e64dca5f
commit c26fa23564
4 changed files with 21 additions and 12 deletions
+9
View File
@@ -5,6 +5,15 @@ struct type_and_string {
bool operator<(const type_and_string &o) const;
};
struct layermap_entry {
size_t id;
std::set<type_and_string> file_keys;
layermap_entry(size_t _id) {
id = _id;
}
};
sqlite3 *mbtiles_open(char *dbname, char **argv, int forcetable);
void mbtiles_write_tile(sqlite3 *outdb, int z, int tx, int ty, const char *data, int size);