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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- `proj:geometry` ([#120](https://github.com/stac-utils/rustac-py/pull/120))

## [0.7.0] - 2025-04-29

### Added
Expand Down
66 changes: 33 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import json
from pathlib import Path
from typing import cast

import pystac
import pytest
from rustac import Item

Expand Down Expand Up @@ -29,3 +31,15 @@ def data(root: Path) -> Path:
def item(examples: Path) -> Item:
with open(examples / "simple-item.json") as f:
return json.load(f)


@pytest.fixture
def maxar_items(root: Path) -> list[Item]:
# https://github.com/stac-utils/rustac/issues/722
directory = root / "tests" / "data" / "maxar-hurricane-ian-2022"
item_a = pystac.read_file(directory / "031331303020" / "10300100DB064000.json")
item_b = pystac.read_file(directory / "031331303211" / "10300100DB064000.json")
return [
cast(Item, item_a.to_dict(transform_hrefs=False)),
cast(Item, item_b.to_dict(transform_hrefs=False)),
]
Loading
Loading