[Gdal-dev] open files from mysql
Emanuele Conti
emanuele.conti at gmail.com
Mon May 14 13:58:10 EDT 2007
Hi everybody,
I'm working on my final university thesis and I worked on the synergy
between grass63 and mysql. In particular I also developed a patch for gdal
that let it open raster map files directly from a mysql db (assumed that
files are stored in mediumblob columns, for example).
I'd like to know if this patch could be of any interest to gdal community
and if chances are that the code could be accepted as a contribution in the
source tree (I could also modify and optimize the code starting from any
feedback, too).
Practically what can be done with this patch is, for example:
gdal_translate
MYSQL:test,user=root,password=,host=localhost,port=3306,table=maps,file_name=a_map.dt1
/tmp/a_map.tif
or, from grass:
r.in.gdalinput=MYSQL:test,user=root,password=,host=localhost,port=3306,table=maps,file_id=33
output=map_id_33.dt1
Many Thanks.
--
Emanuele Conti
Senior Student at University ROMA TRE
Department of Informatics and Automation
ROME, Italy (matr. 251318)
Mob: +39 328 2681070
Home: +39 06 39741124
e-mail: emanuele.conti at yahoo.com
y!: emanuele_c
msn: emanuele_c at yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070514/051a98e0/attachment.html
More information about the Gdal-dev
mailing list