Package mil.nga.geopackage.io
Enum TileFormatType
- java.lang.Object
-
- java.lang.Enum<TileFormatType>
-
- mil.nga.geopackage.io.TileFormatType
-
- All Implemented Interfaces:
Serializable
,Comparable<TileFormatType>
public enum TileFormatType extends Enum<TileFormatType>
Tile Format Type specifying the z/x/y folder structure of tiles- Author:
- osbornb
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GEOPACKAGE
x and y coordinates created using tile matrix width and heightTMS
Tile Map Service specification, origin is lower leftXYZ
origin is upper left
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TileFormatType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TileFormatType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GEOPACKAGE
public static final TileFormatType GEOPACKAGE
x and y coordinates created using tile matrix width and height
-
XYZ
public static final TileFormatType XYZ
origin is upper left- Since:
- 3.5.0
-
TMS
public static final TileFormatType TMS
Tile Map Service specification, origin is lower left
-
-
Method Detail
-
values
public static TileFormatType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TileFormatType c : TileFormatType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TileFormatType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-