Skip to content

Commit

Permalink
add GDT_Int8 data type (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiemvanderdeure authored May 6, 2024
1 parent 8d57512 commit 3254f27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/constants.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ GDT_Unknown::GDALDataType = 0x00000000
GDT_CInt32 = 11,
GDT_CFloat32 = 12,
GDT_CFloat64 = 13,
GDT_TypeCount = 14,
GDT_Int8 = 14,
GDT_TypeCount = 15,
)

"""
Expand Down
2 changes: 2 additions & 0 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ end
GDALDataType::GDAL.GDALDataType,
GDT_Unknown::GDAL.GDT_Unknown,
GDT_Byte::GDAL.GDT_Byte,
GDT_Int8::GDAL.GDT_Int8,
GDT_UInt16::GDAL.GDT_UInt16,
GDT_Int16::GDAL.GDT_Int16,
GDT_UInt32::GDAL.GDT_UInt32,
Expand All @@ -306,6 +307,7 @@ end
GDALDataType::DataType,
GDT_Unknown::Any,
GDT_Byte::UInt8,
GDT_Int8::Int8,
GDT_UInt16::UInt16,
GDT_Int16::Int16,
GDT_UInt32::UInt32,
Expand Down

0 comments on commit 3254f27

Please sign in to comment.