pka / georaster

Rust library for accessing geospatial raster images
Apache License 2.0
23 stars 7 forks source link

Adding example using imageops #2

Closed pkopparla closed 1 year ago

pkopparla commented 1 year ago

As discussed here, tried reading in GeoTiffReader to image::ImageBuffer but cannot seem to get it working with any of the from methods. Would you have a link to the points iterator? I couldn't find it in this repo or image or tiff.

Another interesting alternative might be to use image::load. But that would need GeoTiffReader to have the traits Seek and BufRead. Any thoughts?

pka commented 1 year ago

Added an example using image-rs in 6d593f6d403845f8380f56f5bb583401aea20c8c