ngageoint / geopackage-android

GeoPackage Android Library
http://ngageoint.github.io/geopackage-android
MIT License
94 stars 32 forks source link

RTree Index 3.4.0 #60

Closed osedok closed 4 years ago

osedok commented 4 years ago

State your question Hi Brian, would you kindly provide more clarification around Line 433 (comment) in https://github.com/ngageoint/geopackage-android/blob/3.4.0/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java:

            case RTREE:
            // Updated by triggers, ignore for RTree
            indexed = true;

Is the rtree index updated when new feature is being added to the table?

Additional context Is now rtree index supported for writing?

Thanks you, Kind Regards, Andrzej

bosborn commented 4 years ago

Sorry, RTree is still not available for writing in Android. That is a copy and paste from the Java implementation / placeholder for Android. I published and upgraded to the latest Android SQLite Bindings, but User defined functions are still not supported (line 250: // TODO: Support functions that return values.).

osedok commented 4 years ago

Thank you for clarification Brian (@bosborn), this is the answer I have expected.