Skip to content

Commit a3114b1

Browse files
committed
fix: proj:geometry
1 parent 9b9b47f commit a3114b1

File tree

5 files changed

+605
-33
lines changed

5 files changed

+605
-33
lines changed

Cargo.lock

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/conftest.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import json
22
from pathlib import Path
33

4+
import pystac
45
import pytest
56
from rustac import Item
67

@@ -29,3 +30,15 @@ def data(root: Path) -> Path:
2930
def item(examples: Path) -> Item:
3031
with open(examples / "simple-item.json") as f:
3132
return json.load(f)
33+
34+
35+
@pytest.fixture
36+
def maxar_items(root: Path) -> list[Item]:
37+
# https://github.com/stac-utils/rustac/issues/722
38+
directory = root / "tests" / "data" / "maxar-hurricane-ian-2022"
39+
item_a = pystac.read_file(directory / "031331303020" / "10300100DB064000.json")
40+
item_b = pystac.read_file(directory / "031331303211" / "10300100DB064000.json")
41+
return [
42+
item_a.to_dict(transform_hrefs=False),
43+
item_b.to_dict(transform_hrefs=False),
44+
]

0 commit comments

Comments
 (0)