Some work toward letting features have sub-geometries

This commit is contained in:
Eric Fischer
2016-02-11 11:09:05 -08:00
parent a1da515dc9
commit c6ad34427a
3 changed files with 44 additions and 26 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ void mbtiles_write_metadata(sqlite3 *outdb, const char *fname, char **layername,
}
sqlite3_free(sql);
sql = sqlite3_mprintf("INSERT INTO metadata (name, value) VALUES ('version', %d);", 1);
sql = sqlite3_mprintf("INSERT INTO metadata (name, value) VALUES ('version', %d);", 2);
if (sqlite3_exec(outdb, sql, NULL, NULL, &err) != SQLITE_OK) {
fprintf(stderr, "set version : %s\n", err);
if (!forcetable) {