Skip to content
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
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ on:
branches:
- main

permissions:
contents: read
pull-requests: read

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- name: Checkout repository
Expand Down
5 changes: 4 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Python version for environment creation
PYTHON_VERSION ?= 3.14

.PHONY: clean test build twine-upload dist environment install uninstall reinstall test

clean:
Expand All @@ -23,7 +26,7 @@ dist:
make twine-upload

environment:
mamba create -y -n rasters python=3.11 jupyter
mamba create -y -n rasters python=$(PYTHON_VERSION) jupyter

remove-environment:
mamba env remove -y -n rasters
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rasters"
version = "1.17.1"
version = "1.18.0"
description = "raster processing toolkit"
readme = "README.md"
authors = [
Expand Down
10 changes: 10 additions & 0 deletions rasters/bbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,16 @@ def latlon(self):
"""
return self.transform(WGS84)

@property
def boundary_latlon(self) -> Polygon:
"""
Returns a Polygon representation of the BBox boundary in WGS84 coordinates.

Returns:
Polygon: The boundary polygon in WGS84 (latitude/longitude) CRS.
"""
return self.polygon.to_crs(WGS84)

@property
def round(self) -> BBox:
"""
Expand Down