Class TileReprojectionOptimize

    • Constructor Detail

      • TileReprojectionOptimize

        public TileReprojectionOptimize()
        Constructor
      • TileReprojectionOptimize

        public TileReprojectionOptimize​(boolean world)
        Constructor
        Parameters:
        world - world coordinate bounds
    • Method Detail

      • webMercator

        public static TileReprojectionOptimize webMercator()
        Create a Web Mercator optimization, minimally tile bounded
        Returns:
        tile reprojection optimize
      • platteCarre

        public static TileReprojectionOptimize platteCarre()
        Create a Platte Carre (WGS84) optimization, minimally tile bounded
        Returns:
        tile reprojection optimize
      • webMercatorWorld

        public static TileReprojectionOptimize webMercatorWorld()
        Create a Web Mercator optimization, world bounded with XYZ tile coordinates
        Returns:
        tile reprojection optimize
      • platteCarreWorld

        public static TileReprojectionOptimize platteCarreWorld()
        Create a Platte Carre (WGS84) optimization, world bounded with XYZ tile coordinates
        Returns:
        tile reprojection optimize
      • isWorld

        public boolean isWorld()
        Is world tile coordinate bounds (XYZ), as opposed to minimal tile fitting bounds
        Returns:
        world flag
      • setWorld

        public void setWorld​(boolean world)
        Set the world tile coordinate bounds (XYZ) vs minimal tile fitting bounds flag
        Parameters:
        world - world bounds flag
      • getProjection

        public abstract Projection getProjection()
        Get the optimization projection
        Returns:
        projection
      • getTileGrid

        public abstract TileGrid getTileGrid()
        Get the world tile grid of the optimization projection
        Returns:
        tile grid
      • getBoundingBox

        public abstract BoundingBox getBoundingBox()
        Get the world bounding box of the optimization projection
        Returns:
        bounding box
      • getTileGrid

        public abstract TileGrid getTileGrid​(BoundingBox boundingBox,
                                             long zoom)
        Get the tile grid of the bounding box at the zoom
        Parameters:
        boundingBox - bounding box
        zoom - zoom level
        Returns:
        tile grid
      • getBoundingBox

        public abstract BoundingBox getBoundingBox​(TileGrid tileGrid,
                                                   long zoom)
        Get the bounding box of the tile grid at the zoom
        Parameters:
        tileGrid - tile grid
        zoom - zoom level
        Returns:
        bounding box