Skip to content

fix: Fix generated affine transform (by half pixel offset) when pixel is defined as POINT - #107

Merged
kylebarron merged 5 commits into
mainfrom
kyle/pixel-as-point
Feb 26, 2026
Merged

kylebarron merged 5 commits into
mainfrom
kyle/pixel-as-point

Conversation

@kylebarron

@kylebarron kylebarron commented Feb 26, 2026 •

Copy link
Copy Markdown
Member

Closes #100

Change list

  • Offset transform by half pixel
  • Add tests

@github-actions github-actions Bot added the fix label Feb 26, 2026
@kylebarron
kylebarron merged commit 23e0c33 into main Feb 26, 2026
6 checks passed
@kylebarron
kylebarron deleted the kyle/pixel-as-point branch February 26, 2026 22:56
kylebarron added a commit to developmentseed/deck.gl-raster that referenced this pull request Mar 2, 2026
…286)

### Change list

- In line with
developmentseed/async-geotiff#107, this changes
the calculation of the transform to offset by a half pixel for images
where a pixel is considered a point, not an area.

Closes #110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to handle "Pixel is Area" vs "Pixel is Point" metadata

1 participant