Skip to content

Commit

Permalink
readme test update
Browse files Browse the repository at this point in the history
  • Loading branch information
bosborn committed Mar 22, 2024
1 parent f7bfe1d commit 3fe97df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Projection projection = ProjectionFactory

// Index Features
FeatureIndexManager indexer = new FeatureIndexManager(geoPackage,
featureDao);
featureDao, false);
indexer.setIndexLocation(FeatureIndexType.RTREE);
int indexedCount = indexer.index();

Expand All @@ -131,7 +131,7 @@ for (FeatureRow featureRow : paginatedResults) {
}

// Draw tiles from features
FeatureTiles featureTiles = new DefaultFeatureTiles(featureDao);
FeatureTiles featureTiles = new DefaultFeatureTiles(featureDao, false);
// Set max features to draw per tile
featureTiles.setMaxFeaturesPerTile(1000);
// Custom feature tile implementation
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/mil/nga/geopackage/ReadmeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private void testGeoPackage(File newGeoPackage, File existingGeoPackage)

// Index Features
FeatureIndexManager indexer = new FeatureIndexManager(geoPackage,
featureDao);
featureDao, false);
indexer.setIndexLocation(FeatureIndexType.RTREE);
int indexedCount = indexer.index();

Expand All @@ -200,7 +200,7 @@ private void testGeoPackage(File newGeoPackage, File existingGeoPackage)
}

// Draw tiles from features
FeatureTiles featureTiles = new DefaultFeatureTiles(featureDao);
FeatureTiles featureTiles = new DefaultFeatureTiles(featureDao, false);
// Set max features to draw per tile
featureTiles.setMaxFeaturesPerTile(1000);
// Custom feature tile implementation
Expand Down

0 comments on commit 3fe97df

Please sign in to comment.