Class TileReproject


  • public class TileReproject
    extends Object
    Tile Reproject main method for command line tile reprojections To run from command line, build with the standalone profile: mvn clean install -Pstandalone java -classpath geopackage-*-standalone.jar mil.nga.geopackage.io.TileReproject +usage_arguments
    Since:
    5.0.0
    Author:
    osbornb
    • Field Detail

      • ARGUMENT_OPTIMIZE_WEB_MERCATOR

        public static final String ARGUMENT_OPTIMIZE_WEB_MERCATOR
        Web Mercator optimization argument
        See Also:
        Constant Field Values
      • ARGUMENT_OPTIMIZE_PLATTE_CARRE

        public static final String ARGUMENT_OPTIMIZE_PLATTE_CARRE
        Platte Carre (WGS84) optimization argument
        See Also:
        Constant Field Values
      • ARGUMENT_OPTIMIZE_WEB_MERCATOR_WORLD

        public static final String ARGUMENT_OPTIMIZE_WEB_MERCATOR_WORLD
        Web Mercator with world bounds optimization argument
        See Also:
        Constant Field Values
      • ARGUMENT_OPTIMIZE_PLATTE_CARRE_WORLD

        public static final String ARGUMENT_OPTIMIZE_PLATTE_CARRE_WORLD
        Platte Carre (WGS84) with world bounds optimization argument
        See Also:
        Constant Field Values
    • Constructor Detail

      • TileReproject

        public TileReproject()
    • Method Detail

      • main

        public static void main​(String[] args)
        Main method to generate tiles in a GeoPackage
        Parameters:
        args - arguments
      • generate

        public static void generate()
        Generate the tiles
      • parseOptimize

        public static TileReprojectionOptimize parseOptimize​(String optimizeArg)
        Parse the reprojection optimize argument
        Parameters:
        optimizeArg - optimize argument
        Returns:
        optimize or null
      • parseZoomLevels

        public static List<Long> parseZoomLevels​(String zoomLevels)
        Parse the zoom levels argument
        Parameters:
        zoomLevels - zoom levels
        Returns:
        zoom levels or null