Eric Hodel wrote: > Don't top post. > > On Jun 24, 2009, at 00:46, Jan Martin wrote: >>>> >>>> DB.enable_load_extension(True); >> >> >> require 'rubygems' >> require 'sqlite3' >> >> db = SQLite3::Database.new( "exif.sqlite" ) >> >> # Does NOT work: >> db.execute( "SELECT Y(GpsGeometry), >> X(GpsGeometry),DateTime(GpsTimestamp), FromPath FROM ExifPhoto" ) do >> |row| > > You haven't loaded the geometry extension like you did in the python > script. Hi Eric, maybe I should have stated it clearer: I am a beginner, so I do not know how to load extensions in ruby. Also I do not know where to get the extension from, and how to install it. I am not even sure it exists for ruby. May I ask for a bit more info on how to load the SpatiaLite ruby extension? Thanks, Jan -- Posted via http://www.ruby-forum.com/.