Skip to content
Prev 964 / 29559 Next

Raster data and MySQL

Toad 2000 wrote:
Neither RMySQL nor RODBC support BLOB types or any of the Spatial types. 
BLOB (binary large object) types are useful for storing any binary data, 
including raster images. Also, some of the comments here:

http://dev.mysql.com/doc/refman/5.0/en/populating-spatial-columns.html

suggest that actually getting data into MySQL may be difficult.

What's really needed is an update to the R DBI spec to support prepared 
statements, placeholders, and of course BLOB types. I'm actually 
planning an R module which will use BLOB types, but not the way a DBI 
spec would, so I'd be happy to consider helping write some of this after 
I get my hands dirty with the MySQL client apis.