private static void printUsage() {
		System.out.println();
		System.out.println("USAGE");
		System.out.println();
		System.out.println("\t[" + ARGUMENT_PREFIX + ARGUMENT_TILE_TYPE
				+ " tile_type] [" + ARGUMENT_PREFIX + ARGUMENT_IMAGE_FORMAT
				+ " image_format] [" + ARGUMENT_PREFIX + ARGUMENT_RAW_IMAGE
				+ "] geopackage_file tile_table output_directory");
		System.out.println();
		System.out.println("DESCRIPTION");
		System.out.println();
		System.out
				.println("\tWrites a tile set from within a GeoPackage tile table to the file system in a z/x/y folder system according to the specified tile type");
		System.out.println();
		System.out.println("ARGUMENTS");
		System.out.println();
		System.out.println("\t" + ARGUMENT_PREFIX + ARGUMENT_TILE_TYPE
				+ " tile_type");
		System.out
				.println("\t\tTile output format specifying z/x/y folder organization: "
						+ TileFormatType.GEOPACKAGE.name().toLowerCase()
						+ ", "
						+ TileFormatType.STANDARD.name().toLowerCase()
						+ ", "
						+ TileFormatType.TMS.name().toLowerCase()
						+ " (Default is "
						+ DEFAULT_TILE_TYPE.name().toLowerCase() + ")");
		System.out
				.println("\t\t\t"
						+ TileFormatType.GEOPACKAGE.name().toLowerCase()
						+ " - x and y represent GeoPackage Tile Matrix width and height");
		System.out.println("\t\t\t"
				+ TileFormatType.STANDARD.name().toLowerCase()
				+ " - x and y origin is top left (Google format)");
		System.out.println("\t\t\t" + TileFormatType.TMS.name().toLowerCase()
				+ " - (Tile Map Service) x and y origin is bottom left");
		System.out.println();
		System.out.println("\t" + ARGUMENT_PREFIX + ARGUMENT_IMAGE_FORMAT
				+ " image_format");
		System.out
				.println("\t\tOutput image format: png, jpg, jpeg (default is '"
						+ DEFAULT_IMAGE_FORMAT + "')");
		System.out.println();
		System.out.println("\t" + ARGUMENT_PREFIX + ARGUMENT_IMAGE_WIDTH
				+ " image_width");
		System.out
				.println("\t\tOutput image width in pixels (default is GeoPackage tile width)");
		System.out.println();
		System.out.println("\t" + ARGUMENT_PREFIX + ARGUMENT_IMAGE_HEIGHT
				+ " image_height");
		System.out
				.println("\t\tOutput image height in pixels (default is GeoPackage tile height)");
		System.out.println();
		System.out.println("\t" + ARGUMENT_PREFIX + ARGUMENT_RAW_IMAGE);
		System.out
				.println("\t\tUse the raw image bytes, only works when combining and cropping is not required");
		System.out.println();
		System.out.println("\tgeopackage_file");
		System.out
				.println("\t\tpath to the GeoPackage file containing the tiles");
		System.out.println();
		System.out.println("\ttile_table");
		System.out.println("\t\ttile table name within the GeoPackage file");
		System.out.println();
		System.out.println("\toutput_directory");
		System.out.println("\t\toutput directory to write the tile images to");
		System.out.println();
	}
private static void printUsage ( ) { System . out . println ( ) ; System . out . println ( "USAGE" ) ; System . out . println ( ) ; System . out . println ( "\t[" + ARGUMENT_PREFIX + ARGUMENT_TILE_TYPE + " tile_type] [" + ARGUMENT_PREFIX + ARGUMENT_IMAGE_FORMAT + " image_format] [" + ARGUMENT_PREFIX + ARGUMENT_RAW_IMAGE + "] geopackage_file tile_table output_directory" ) ; System . out . println ( ) ; System . out . println ( "DESCRIPTION" ) ; System . out . println ( ) ; System . out . println ( "\tWrites a tile set from within a GeoPackage tile table to the file system in a z/x/y folder system according to the specified tile type" ) ; System . out . println ( ) ; System . out . println ( "ARGUMENTS" ) ; System . out . println ( ) ; System . out . println ( "\t" + ARGUMENT_PREFIX + ARGUMENT_TILE_TYPE + " tile_type" ) ; System . out . println ( "\t\tTile output format specifying z/x/y folder organization: " + TileFormatType . GEOPACKAGE . name ( ) . toLowerCase ( ) + ", " + TileFormatType . STANDARD . name ( ) . toLowerCase ( ) + ", " + TileFormatType . TMS . name ( ) . toLowerCase ( ) + " (Default is " + DEFAULT_TILE_TYPE . name ( ) . toLowerCase ( ) + ")" ) ; System . out . println ( "\t\t\t" + TileFormatType . GEOPACKAGE . name ( ) . toLowerCase ( ) + " - x and y represent GeoPackage Tile Matrix width and height" ) ; System . out . println ( "\t\t\t" + TileFormatType . STANDARD . name ( ) . toLowerCase ( ) + " - x and y origin is top left (Google format)" ) ; System . out . println ( "\t\t\t" + TileFormatType . TMS . name ( ) . toLowerCase ( ) + " - (Tile Map Service) x and y origin is bottom left" ) ; System . out . println ( ) ; System . out . println ( "\t" + ARGUMENT_PREFIX + ARGUMENT_IMAGE_FORMAT + " image_format" ) ; System . out . println ( "\t\tOutput image format: png, jpg, jpeg (default is '" + DEFAULT_IMAGE_FORMAT + "')" ) ; System . out . println ( ) ; System . out . println ( "\t" + ARGUMENT_PREFIX + ARGUMENT_IMAGE_WIDTH + " image_width" ) ; System . out . println ( "\t\tOutput image width in pixels (default is GeoPackage tile width)" ) ; System . out . println ( ) ; System . out . println ( "\t" + ARGUMENT_PREFIX + ARGUMENT_IMAGE_HEIGHT + " image_height" ) ; System . out . println ( "\t\tOutput image height in pixels (default is GeoPackage tile height)" ) ; System . out . println ( ) ; System . out . println ( "\t" + ARGUMENT_PREFIX + ARGUMENT_RAW_IMAGE ) ; System . out . println ( "\t\tUse the raw image bytes, only works when combining and cropping is not required" ) ; System . out . println ( ) ; System . out . println ( "\tgeopackage_file" ) ; System . out . println ( "\t\tpath to the GeoPackage file containing the tiles" ) ; System . out . println ( ) ; System . out . println ( "\ttile_table" ) ; System . out . println ( "\t\ttile table name within the GeoPackage file" ) ; System . out . println ( ) ; System . out . println ( "\toutput_directory" ) ; System . out . println ( "\t\toutput directory to write the tile images to" ) ; System . out . println ( ) ; }
Print usage for the main method