code: private static void finish() {
  
  		if (progress.getMax() != null) {
  
  			StringBuilder output = new StringBuilder();
  			output.append("\nTile Generation: ").append(progress.getProgress())
  					.append(" of ").append(progress.getMax());
  
  			if (geoPackage != null) {
  				try {
  					GeoPackageTextOutput textOutput = new GeoPackageTextOutput(
  							geoPackage);
  					output.append("\n\n");
  					output.append(textOutput.header());
  					output.append("\n\n");
  					output.append(textOutput.tileTable(tileTable));
  
  				} finally {
  					geoPackage.close();
  				}
  			}
  
  			System.out.println(output.toString());
  		}
  	}
docs: Finish tile generation