New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add apply methods to s3rangereader #1994

merged 1 commit into from Jan 31, 2017


None yet
4 participants

moradology commented Jan 30, 2017

A very common use case when using S3 is having to account for URIs and strings. We can use the structure of S3 URIs to make the API for grabbing an S3RangeReader a little less imposing.


This comment has been minimized.


moradology commented Jan 30, 2017


Looks sensible and using the URI for s3 keys is something we should integrate more consistently. Would be good to see an example of cleanup in the client code this enables.


This comment has been minimized.


moradology commented Jan 31, 2017

TiffTags read API comparison

(Assuming that uri is a String and a link to an S3 bucket)


val s3Uri = new AmazonS3URI(uri)
val s3Client = new AmazonS3Client(new AWSAmazonS3Client(new DefaultAWSCredentialsProviderChain))
val s3RangeReader = S3RangeReader(s3Uri.getBucket, s3Uri.getKey, s3Client)


val s3RangeReader = S3RangeReader(uri)

@echeipesh echeipesh merged commit e7b6588 into locationtech:master Jan 31, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@lossyrob lossyrob added this to the 1.1 milestone Mar 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment