JuliaEarth / GeoIO.jl

Load/save geospatial data compatible with the GeoStats.jl framework
https://github.com/JuliaEarth/GeoStats.jl
MIT License
21 stars 6 forks source link

Read GeoTiff with adequate projection and numeric values #46

Closed ErickChacon closed 9 months ago

ErickChacon commented 9 months ago

Currently .tif files which contain spatial coordinates with respect to a CRS are being read as an image losing information about he coordinates and also the values do not need to be colors. We can fix it by reading the file with ArchGDAL.jl and make the conversion to Meshes.jl.

juliohm commented 9 months ago

Thank you @ErickChacon , I think we can use TiffImages.jl directly to read geotiff in pure Julia.

Related: https://github.com/tlnagy/TiffImages.jl/issues/100

ErickChacon commented 9 months ago

Interesting! I already have a code using ArchGDAL.jl. However it might be interesting to set it up using TiffImages.jl and just include it inside GeoIO.jl?

juliohm commented 9 months ago

@eliascarv just finished a code using ArchGDAL.jl as a workaround until TiffImages.jl supports geotiff metadata. We should be reviewing a PR this afternoon (BRT).

ErickChacon commented 9 months ago

Sounds good! I will try to find some time to explore it with TiffImages.jl.