Package org.geotools.mbtiles
Class MBTilesMetadata
- Object
-
- MBTilesMetadata
-
public class MBTilesMetadata extends Object
The well known contents of the metadata table
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MBTilesMetadata.t_format
static class
MBTilesMetadata.t_type
-
Field Summary
Fields Modifier and Type Field Description protected String
attribution
protected Bounds
bounds
protected double[]
center
protected String
description
protected MBTilesMetadata.t_format
format
protected String
json
protected int
maxZoom
protected int
minZoom
protected String
name
protected static Pattern
patternCenter
protected static Pattern
patternEnvelope
protected MBTilesMetadata.t_type
type
protected String
version
-
Constructor Summary
Constructors Constructor Description MBTilesMetadata()
-
Method Summary
-
-
-
Field Detail
-
patternEnvelope
protected static Pattern patternEnvelope
-
patternCenter
protected static Pattern patternCenter
-
name
protected String name
-
version
protected String version
-
description
protected String description
-
type
protected MBTilesMetadata.t_type type
-
format
protected MBTilesMetadata.t_format format
-
bounds
protected Bounds bounds
-
attribution
protected String attribution
-
minZoom
protected int minZoom
-
maxZoom
protected int maxZoom
-
json
protected String json
-
center
protected double[] center
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getType
public MBTilesMetadata.t_type getType()
-
setType
public void setType(MBTilesMetadata.t_type type)
-
getFormat
public MBTilesMetadata.t_format getFormat()
-
setFormat
public void setFormat(MBTilesMetadata.t_format format)
-
getBounds
public Bounds getBounds()
-
setBounds
public void setBounds(Bounds bounds)
-
getCenter
public double[] getCenter()
-
setCenter
public void setCenter(double[] center)
-
getAttribution
public String getAttribution()
-
setAttribution
public void setAttribution(String attribution)
-
getMinZoom
public int getMinZoom()
-
setMinZoom
public void setMinZoom(int minZoom)
-
getMaxZoom
public int getMaxZoom()
-
setMaxZoom
public void setMaxZoom(int maxZoom)
-
getTypeStr
public String getTypeStr()
-
getFormatStr
public String getFormatStr()
-
getBoundsStr
public String getBoundsStr()
-
getCenterStr
public String getCenterStr()
-
setTypeStr
public void setTypeStr(String typeStr)
-
setFormatStr
public void setFormatStr(String formatStr)
-
setBoundsStr
public void setBoundsStr(String boundsStr)
-
setCenterStr
public void setCenterStr(String centerStr)
-
setMinZoomStr
public void setMinZoomStr(String minZoomStr)
-
setMaxZoomStr
public void setMaxZoomStr(String maxZoomStr)
-
getJson
public String getJson()
The description of vector tiles internal structure is a JSON document added in the "json" key (by mbtiles specification)
-
setJson
public void setJson(String json)
-
-