Package org.apache.sedona.viz.core
Class ImageStitcher
- java.lang.Object
-
- org.apache.sedona.viz.core.ImageStitcher
-
public class ImageStitcher extends Object
The Class ImageStitcher.
-
-
Constructor Summary
Constructors Constructor Description ImageStitcher()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
stitchImagePartitionsFromHadoopFile(String imageTilePath, int resolutionX, int resolutionY, int zoomLevel, int partitionOnX, int partitionOnY)
Stitch image partitions from hadoop file.static boolean
stitchImagePartitionsFromLocalFile(String imageTilePath, int resolutionX, int resolutionY, int zoomLevel, int partitionOnX, int partitionOnY)
Stitch image partitions from local file.static boolean
stitchImagePartitionsFromS3File(String regionName, String accessKey, String secretKey, String bucketName, String imageTilePath, int resolutionX, int resolutionY, int zoomLevel, int partitionOnX, int partitionOnY)
Stitch image partitions from S 3 file.
-
-
-
Method Detail
-
stitchImagePartitionsFromLocalFile
public static boolean stitchImagePartitionsFromLocalFile(String imageTilePath, int resolutionX, int resolutionY, int zoomLevel, int partitionOnX, int partitionOnY) throws Exception
Stitch image partitions from local file.- Parameters:
imageTilePath
- the image tile pathresolutionX
- the resolution XresolutionY
- the resolution YzoomLevel
- the zoom levelpartitionOnX
- the partition on XpartitionOnY
- the partition on Y- Returns:
- true, if successful
- Throws:
Exception
- the exception
-
stitchImagePartitionsFromS3File
public static boolean stitchImagePartitionsFromS3File(String regionName, String accessKey, String secretKey, String bucketName, String imageTilePath, int resolutionX, int resolutionY, int zoomLevel, int partitionOnX, int partitionOnY) throws Exception
Stitch image partitions from S 3 file.- Parameters:
regionName
- the region nameaccessKey
- the access keysecretKey
- the secret keybucketName
- the bucket nameimageTilePath
- the image tile pathresolutionX
- the resolution XresolutionY
- the resolution YzoomLevel
- the zoom levelpartitionOnX
- the partition on XpartitionOnY
- the partition on Y- Returns:
- true, if successful
- Throws:
Exception
- the exception
-
stitchImagePartitionsFromHadoopFile
public static boolean stitchImagePartitionsFromHadoopFile(String imageTilePath, int resolutionX, int resolutionY, int zoomLevel, int partitionOnX, int partitionOnY) throws Exception
Stitch image partitions from hadoop file.- Parameters:
imageTilePath
- the image tile pathresolutionX
- the resolution XresolutionY
- the resolution YzoomLevel
- the zoom levelpartitionOnX
- the partition on XpartitionOnY
- the partition on Y- Returns:
- true, if successful
- Throws:
Exception
- the exception
-
-