yeesian / ArchGDAL.jl

A high level API for GDAL - Geospatial Data Abstraction Library
https://yeesian.github.io/ArchGDAL.jl/stable/
Other
141 stars 27 forks source link

Enable more exotic types in reading and writing. #284

Closed evetion closed 2 years ago

evetion commented 2 years ago

As an extension of #220. I've taken some of the work of @mathieu17g from the WIP at #243 in terms of type conversions.

Adds support for reading again (which broke somewhere during the 0.8 release train)

Make sure we can write

By widening the type (i.e. UInt32 => Int64), which requires the correct conversion in both OGRFieldType as OGRFieldSubType.

evetion commented 2 years ago

I don't think the failing tests on nightly are related MethodError: no method matching regenerateoverviews!(::ArchGDAL.IRasterBand{UInt8}, ::Vector{Matrix{UInt8}})