Somewhat working for external spatialite