decode() function in rasql
|Reported by:||dmisev||Owned by:||gmerticariu|
Description (last modified by dmisev)
In similar fashion to the rasql encode() function we could implement a decode() function for importing data by using GDAL.
Example for importing rgb for example:
rasql -q 'insert into rgb values decode($1, "png")' -f rgb.png ..
In this way we can deprecate most of the code in source:conversion as well as expand the capabilities to further formats that GDAL supports.
For inspiration see source:qlparser/qtencode.cc, a qtdecode.cc should be exact inverse of the encode and hence simple to implement.
Change History (8)
comment:1 Changed 3 years ago by dmisev
- Complexity set to Medium
- Description modified (diff)
- Milestone set to Future
- Owner changed from dmisev to gmerticariu
- Status changed from new to assigned
comment:2 Changed 3 years ago by gmerticariu
- Resolution set to fixed
- Status changed from assigned to closed
comment:3 Changed 3 years ago by dmisev
- Resolution fixed deleted
- Status changed from closed to reopened