bjlittle / geovista

Cartographic rendering and mesh analytics powered by PyVista
https://geovista.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
159 stars 26 forks source link

add geotiff support #742

Closed bjlittle closed 7 months ago

bjlittle commented 7 months ago

🚀 Pull Request

Description

This pull-request extends the geovista.Transform API to include GeoTIFF support via the from_tiff method.

This will allow RGB/RGBA image meshes to be rendered, and also easily allow Digital Elevation Model (DEM) data to be ingested (warped) and rendered.

Example geolocated RGB mesh created from a GeoTIFF: image

TODO:


codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 97.88360% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 94.78%. Comparing base (a5cae51) to head (4a2cd22).

Files Patch % Lines
src/geovista/bridge.py 93.44% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #742 +/- ## ========================================== + Coverage 94.65% 94.78% +0.13% ========================================== Files 130 131 +1 Lines 4997 5182 +185 ========================================== + Hits 4730 4912 +182 - Misses 267 270 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.