Closed GoogleCodeExporter closed 9 years ago
More information would be great. I think working rtrees is an important
feature.
Original comment by efroh...@gmail.com
on 18 Mar 2012 at 1:42
In attached testcase witch should work if everything were fine and the database
I used. Patch I send above IS applied.
When using database without spatial index:
* select createSpatialIndex(...) (currently commented out in test) returns 1
(nice), but select CheckSpatialIndex() returns 0 (not nice)
When using db with spatial index:
* every prepare(..) function throws exception "no such module: rtree"
* every exec(..) in test case crashes
* strangely I couldn't replicate situation where I would access index virtual
table without crash. This works in my project
Original comment by mateuszz...@gmail.com
on 19 Mar 2012 at 10:15
Attachments:
Thank you for all your work on R-Trees. I included your test cases into the
project. In addition to adding R-Tree support I enabled geo callbacks (for
RTreeDistWithin).
To make creating a Spatialite database from scratch easier I add a new function
to the Database class called spatialite_create(). This will create and
initialize the require spatial tables. Example usage is in unit tests.
Original comment by efroh...@gmail.com
on 1 Apr 2012 at 11:40
At the end of the ndk build i get an error:
obj/local/armeabi/objs/jsqlite/javasqlite-20120209/native/sqlite_jni.o: In
function `Java_jsqlite_Database_internal_1init':
jni/javasqlite-20120209/native/sqlite_jni.c:5004: undefined reference to
`spatialite_init'
obj/local/armeabi/libjsqlite.so] Error 1
Original comment by dear...@gmail.com
on 2 Apr 2012 at 1:47
@dearwes seems to be unrelated to this issue. Please open a new issue with
more details.
Original comment by efroh...@gmail.com
on 2 Apr 2012 at 4:15
Original issue reported on code.google.com by
mateuszz...@gmail.com
on 18 Mar 2012 at 9:53Attachments: