Skip to content

Fix indexer chip geometry #10

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

isaachcamp
Copy link

_get_trsf_or_shape method was finding highest resolution for shape and lowest for transform (largest x_scaling value). Consequently, chip boundary boxes were being blown up. Fix now finds value corresponding to highest resolution for both shape and transform.

pystac.Item.from_file() now changes proj:epsg attribute to proj:code. Added an elif clause to account for this change.

isaachcamp and others added 3 commits April 10, 2025 18:55
Was finding largest x_scaling which blew up chip bboxes.
pystac.Item.from_file() now automatically adds 'proj:code' to properties, removes 'proj:epsg'
Now passes tests.
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.

1 participant