Class MBTilesMetadata


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

      • patternEnvelope

        protected static Pattern patternEnvelope
      • patternCenter

        protected static Pattern patternCenter
      • name

        protected String name
      • version

        protected String version
      • description

        protected String description
      • 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 Detail

      • MBTilesMetadata

        public MBTilesMetadata()
    • 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)
      • 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)