code: public void writeFile(TileDao tileDao) {
  		try {
  			PrintWriter pw = new PrintWriter(propertiesFile);
  
  			TileMatrixSet tileMatrixSet = tileDao.getTileMatrixSet();
  			pw.println(GEOPACKAGE_PROPERTIES_EPSG + "="
  					+ tileMatrixSet.getSrs().getOrganizationCoordsysId());
  			pw.println(GEOPACKAGE_PROPERTIES_MIN_X + "="
  					+ tileMatrixSet.getMinX());
  			pw.println(GEOPACKAGE_PROPERTIES_MAX_X + "="
  					+ tileMatrixSet.getMaxX());
  			pw.println(GEOPACKAGE_PROPERTIES_MIN_Y + "="
  					+ tileMatrixSet.getMinY());
  			pw.println(GEOPACKAGE_PROPERTIES_MAX_Y + "="
  					+ tileMatrixSet.getMaxY());
  
  			for (TileMatrix tileMatrix : tileDao.getTileMatrices()) {
  				long zoom = tileMatrix.getZoomLevel();
  				pw.println(getMatrixWidthProperty(zoom) + "="
  						+ tileMatrix.getMatrixWidth());
  				pw.println(getMatrixHeightProperty(zoom) + "="
  						+ tileMatrix.getMatrixHeight());
  			}
  
  			pw.close();
  
  		} catch (FileNotFoundException e) {
  			throw new GeoPackageException(
  					"GeoPackage file format properties file could not be created: "
  							+ propertiesFile, e);
  		}
  	}
docs: Write the properties file using the tile dao
  
  @param tileDao
  tile dao