Skip to content
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

feat: added orthophoto tile endpoints for COG image serving #312

Merged
merged 17 commits into from
Nov 4, 2024

Conversation

Pradip-p
Copy link
Collaborator

@Pradip-p Pradip-p commented Oct 24, 2024

Description:

This PR introduces the functionality to process orthophoto images generated by the ODM (OpenDroneMap) pipeline, save them in Cloud-Optimized GeoTIFF (COG) format, and provide an API endpoint to serve tiles of the orthophoto. Key features include:

  • Updated image processing logic to extract orthophoto TIFF from ODM assets and upload it to S3.
  • Added an API endpoint to serve PNG image tiles of the orthophoto based on z, x, and y indices (zoom and tile coordinates).
  • used rio-tiler to efficiently generate tiles from the COG file.
  • Error handling for tiles outside the image bounds.

Screenshot

Screenshot from 2024-10-29 11-42-16

image

@Pradip-p Pradip-p self-assigned this Oct 24, 2024
@github-actions github-actions bot added enhancement New feature or request backend Related to backend code labels Oct 24, 2024
@Pradip-p Pradip-p merged commit 949c27b into develop Nov 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code enhancement New feature or request frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants