mirror of
https://github.com/cfpwastaken/planetiler-openmaptiles.git
synced 2026-02-04 04:21:08 +00:00
Improve DB Indexes and Fix Deferred Index Logging in Compact DB Mode (#245)
This commit is contained in:
@@ -37,13 +37,13 @@ class VerifyMonacoTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
void testEmptyTablesInvalid() {
|
void testEmptyTablesInvalid() {
|
||||||
mbtiles.createTables().addTileIndex();
|
mbtiles.createTablesWithIndexes();
|
||||||
assertInvalid(mbtiles);
|
assertInvalid(mbtiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void testStilInvalidWithOneTile() throws IOException {
|
void testStilInvalidWithOneTile() throws IOException {
|
||||||
mbtiles.createTables().addTileIndex();
|
mbtiles.createTablesWithIndexes();
|
||||||
mbtiles.metadata().setName("name");
|
mbtiles.metadata().setName("name");
|
||||||
try (var writer = mbtiles.newBatchedTileWriter()) {
|
try (var writer = mbtiles.newBatchedTileWriter()) {
|
||||||
VectorTile tile = new VectorTile();
|
VectorTile tile = new VectorTile();
|
||||||
|
|||||||
Reference in New Issue
Block a user