Package mil.nga.geopackage.io
Class TileReproject
- java.lang.Object
-
- mil.nga.geopackage.io.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 Summary
Fields Modifier and Type Field Description static String
ARGUMENT_LOG_COUNT
Log Frequency Count argumentstatic String
ARGUMENT_LOG_TIME
Log Frequency Time argumentstatic String
ARGUMENT_OPTIMIZE
Optimize argumentstatic String
ARGUMENT_OPTIMIZE_PLATTE_CARRE
Platte Carre (WGS84) optimization argumentstatic String
ARGUMENT_OPTIMIZE_PLATTE_CARRE_WORLD
Platte Carre (WGS84) with world bounds optimization argumentstatic String
ARGUMENT_OPTIMIZE_WEB_MERCATOR
Web Mercator optimization argumentstatic String
ARGUMENT_OPTIMIZE_WEB_MERCATOR_WORLD
Web Mercator with world bounds optimization argumentstatic String
ARGUMENT_PREFIX
Argument prefixstatic String
ARGUMENT_PROJECTION
Projection argumentstatic String
ARGUMENT_TILE_HEIGHT
Tile draw height argumentstatic String
ARGUMENT_TILE_WIDTH
Tile draw width argumentstatic String
ARGUMENT_ZOOM_LEVELS
Zoom levels argument
-
Constructor Summary
Constructors Constructor Description TileReproject()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
generate()
Generate the tilesstatic void
main(String[] args)
Main method to generate tiles in a GeoPackagestatic TileReprojectionOptimize
parseOptimize(String optimizeArg)
Parse the reprojection optimize argumentstatic List<Long>
parseZoomLevels(String zoomLevels)
Parse the zoom levels argument
-
-
-
Field Detail
-
ARGUMENT_PREFIX
public static final String ARGUMENT_PREFIX
Argument prefix- See Also:
- Constant Field Values
-
ARGUMENT_PROJECTION
public static final String ARGUMENT_PROJECTION
Projection argument- See Also:
- Constant Field Values
-
ARGUMENT_OPTIMIZE
public static final String ARGUMENT_OPTIMIZE
Optimize argument- See Also:
- Constant Field Values
-
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
-
ARGUMENT_TILE_WIDTH
public static final String ARGUMENT_TILE_WIDTH
Tile draw width argument- See Also:
- Constant Field Values
-
ARGUMENT_TILE_HEIGHT
public static final String ARGUMENT_TILE_HEIGHT
Tile draw height argument- See Also:
- Constant Field Values
-
ARGUMENT_ZOOM_LEVELS
public static final String ARGUMENT_ZOOM_LEVELS
Zoom levels argument- See Also:
- Constant Field Values
-
ARGUMENT_LOG_COUNT
public static final String ARGUMENT_LOG_COUNT
Log Frequency Count argument- See Also:
- Constant Field Values
-
ARGUMENT_LOG_TIME
public static final String ARGUMENT_LOG_TIME
Log Frequency Time argument- See Also:
- Constant Field Values
-
-
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
-
-