Opened 12 years ago

Last modified 11 years ago

#292 closed feature

decode() function in rasql — at Version 1

Reported by: Dimitar Misev Owned by: George Merticariu
Priority: major Milestone: Future
Component: conversion Version: 8.3
Keywords: Cc: Peter Baumann
Complexity: Medium

Description (last modified by Dimitar Misev)

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 (1)

comment:1 by Dimitar Misev, 11 years ago

Complexity: Medium
Description: modified (diff)
Milestone: Future
Owner: changed from Dimitar Misev to George Merticariu
Status: newassigned
Note: See TracTickets for help on using tickets.