Closed enisozgur closed 4 years ago
RTree is currently supported as read only in Android due to the SQLite Android Bindings lack of User defined function support. See also #60 and #49.
An RTree created by Java, JS, iOS, GDAL, QGIS, etc is supported in the Android library as read only. For an index created/used within the Android library & stored in the GeoPackage, try FeatureIndexType.GEOPACKAGE.
Thanks Bosborn...
Hi trying to create a table. I want to use rtree. I get an error in ST_Min function
My Code Is;
FeatureIndexManager indexer = new FeatureIndexManager(_context, _geoPackage, name); indexer.setIndexLocation(FeatureIndexType.RTREE); indexer.index();
java.lang.UnsupportedOperationException: User defined SQL functions are not supported. name: ST_MinX mil.nga.geopackage.extension.RTreeIndexExtension.createFunction(RTreeIndexExtension.java:120)
thanks