-
Notifications
You must be signed in to change notification settings - Fork 45
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
Fixed handling of aggregate extent and image size on geotiff write. #362
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one little nitpick in the GeoTiffDataSource
.
throw new IllegalArgumentException("A destination CRS must be provided") | ||
) | ||
|
||
val input = df.asLayerSafely.map(layer => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps add an overload for TileRasterizerAggregate.collect
where the type of the first arg is RasterFrameLayer
that does some of this work? Feels noisy and implementation-y here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Being a layer isn't a precondition for calling this.... just needs a destination CRS, and if one isn't provided attempts to get it from the TLM if the DF is already a layer.
.../src/test/scala/org/locationtech/rasterframes/datasource/geotiff/GeoTiffDataSourceSpec.scala
Show resolved
Hide resolved
.../src/test/scala/org/locationtech/rasterframes/datasource/geotiff/GeoTiffDataSourceSpec.scala
Show resolved
Hide resolved
@@ -4,6 +4,7 @@ | |||
|
|||
### 0.8.2 | |||
|
|||
* Fixed handling of aggregate extent and image size on GeoTIFF writing. ([#362](https://github.com/locationtech/rasterframes/issues/362)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some good citizen clean up things to consider:
* Fixed handling of aggregate extent and image size on GeoTIFF writing. ([#362](https://github.com/locationtech/rasterframes/issues/362)) | |
* Bumped Spark dependency to version 2.3.4. #350 | |
* Fixed handling of aggregate extent and image size on GeoTIFF writing. ([#362](https://github.com/locationtech/rasterframes/issues/362)) |
Closes #360