Class MBTilesMetadata

Object
MBTilesMetadata

public class MBTilesMetadata extends Object
The well known contents of the metadata table
  • Field Details

    • 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
  • Constructor Details

    • MBTilesMetadata

      public MBTilesMetadata()
  • Method Details

    • 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)