Skip to content

Make GDALRasterSource behavior consistent with other RasterSources - #3211

Merged
pomadchin merged 3 commits into
locationtech:masterfrom
pomadchin:fix/rastersources-reoslution
Mar 27, 2020
Merged

pomadchin merged 3 commits into
locationtech:masterfrom
pomadchin:fix/rastersources-reoslution

Conversation

@pomadchin

@pomadchin pomadchin commented Mar 26, 2020 •

Copy link
Copy Markdown
Member

Overview

This PR:

  • Adds the base cellSize to the list of resolutions to behave similar to other RasterSources.
  • Bumps GDALWarp version up to 1.0.0
  • Fixes Jackson dependencies

This issues makes GDALRasterSource, GeoTiffRasterSource and DEMRasterSource to behave more consistent.

Checklist

Related to #3210
Closes #3212

@pomadchin
pomadchin requested a review from echeipesh March 26, 2020 18:44
@pomadchin
pomadchin force-pushed the fix/rastersources-reoslution branch 3 times, most recently from edd154c to f059799 Compare March 26, 2020 19:48

@echeipesh echeipesh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, does this really close the issue for .resolutions being consistent for all instances though?

@pomadchin

pomadchin commented Mar 26, 2020 •

Copy link
Copy Markdown
Member Author

@echeipesh at least GeoTiffRasterSource, GDALRasterSource and DEMRasterSource behave the same way. I'm wondering about the GeoTrellisRasterSource, it seems to me that instead of a base cellSize it can use the current.

* GDALRasterSource.resample should take into account the resampleMethod
@pomadchin
pomadchin force-pushed the fix/rastersources-reoslution branch from f059799 to a4530e2 Compare March 26, 2020 20:06
@pomadchin

Copy link
Copy Markdown
Member Author

Will merge this issue once travis is happy.

The further discussion and thoughts that I came up with are here #3210 (comment)

@pomadchin
pomadchin force-pushed the fix/rastersources-reoslution branch from 3c9ac7d to 27d5c1f Compare March 26, 2020 22:17
@pomadchin
pomadchin force-pushed the fix/rastersources-reoslution branch from 27d5c1f to 61b0f86 Compare March 26, 2020 22:19
@pomadchin
pomadchin merged commit 9c3d159 into locationtech:master Mar 27, 2020
@pomadchin
pomadchin deleted the fix/rastersources-reoslution branch March 27, 2020 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Jackson dependencies

2 participants