You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "Kontinuation (via GitHub)" <gi...@apache.org> on 2023/07/14 05:24:41 UTC
[GitHub] [sedona] Kontinuation opened a new pull request, #903: [SEDONA-325] Fix resource leaks in raster constructors RS_FromGeoTiff and RS_FromArcInfoAsciiGrid
Kontinuation opened a new pull request, #903:
URL: https://github.com/apache/sedona/pull/903
## Did you read the Contributor Guide?
- Yes, I have read [Contributor Rules](https://sedona.apache.org/latest-snapshot/community/rule/) and [Contributor Development Guide](https://sedona.apache.org/latest-snapshot/community/develop/)
## Is this PR related to a JIRA ticket?
- Yes, the URL of the associated JIRA ticket is https://issues.apache.org/jira/browse/SEDONA-325. The PR name follows the format `[SEDONA-XXX] my subject`.
## What changes were proposed in this PR?
We've implemented an `ImageInputStream` backed by byte-array, which prevents GeoTiffReader from wrapping the input `InputStream` with a file-backed cached input stream. Now the GridCoverage2D will be entirely backed by memory blobs and no file-io should be involved.
We may also need to `dispose` the GridCoverage2D object after usage, though now this `dispose` call become optional. We'll add raster support to `InferredExpression` so that we can dispose raster objects uniformly.
## How was this patch tested?
Passes existing raster tests.
## Did this PR include necessary documentation updates?
- No, this PR does not affect any public API so no need to change the docs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [sedona] jiayuasu merged pull request #903: [SEDONA-325] Fix resource leaks in raster constructors RS_FromGeoTiff and RS_FromArcInfoAsciiGrid
Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu merged PR #903:
URL: https://github.com/apache/sedona/pull/903
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org