Skip to content
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

Fix typing in projection #198

Merged
merged 2 commits into from
Sep 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
- Improved error reporting and documentation for old GDAL versions.
GDAL 3.1 is required to read and write Cloud Optimized Geotiffs.
([#194](https://github.com/stac-utils/stactools/pull/194))

### Fixed

- ReadTheDocs ([#190](https://github.com/stac-utils/stactools/pull/190))
- Typing in the projection module ([#198](https://github.com/stac-utils/stactools/pull/198))

## stactools 0.2.1

Expand Down
2 changes: 1 addition & 1 deletion src/stactools/core/projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def fn(coords: abc.Sequence[Any]) -> abc.Sequence[Any]:
coords[i] = fn(coord)
else:
x, y = coord
reprojected_coords = transformer.transform(x, y)
reprojected_coords = list(transformer.transform(x, y))
if precision is not None:
reprojected_coords = [
round(n, precision) for n in reprojected_coords
Expand Down