It seems there are starting to be some GIS extensions for sqlite3, one of the promising one being Spatialie. However this requires Sqlite version 3.6.2 and that is not available on the iPhone at this time.
My current data requirements are in the thousand of records and hopefully there is enough CPU power to handle this without spatial indexes. I am considering adding some new classes based around a Lite3Predicate to help with GIS related functionality.
Advertisement
iphonelite3 said
I checked in the change above. Also as expected NOT using the callback function in SQLite3 is actually simpler.