-
-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Spatialite Extensions #526
Comments
It should be doable if you compile libspatialite as a dynamic library and link it against the same version of libsqlite3 that is bundled. See https://github.com/mapbox/node-sqlite3/blob/ad7596709ba80ee3f3b60cbdb663bafa1ebaa2f9/test/extension.test.js for an example of how to load the extension. |
Would this work the same with a .so? I'd need this working on Linux as well as OS X. Thanks Dane! |
Yes, should. Ideally we could re-enable that test to be run on travis again and to detect the platform in order to choose To avoid the pitfall/crash I mention in dabc937 we could potentially build the |
Sure. I'm having an issue with the current mocha test setup. I'm just doing a simple install via
Perhaps I am installing incorrectly? I'm not exactly clear with the source install instructions. |
I found that mod_spatialite can be loaded but can't be used. I wonder if anyone has really USE spatialite successfully here. |
I'm going to close this for now but please feel free to open a new issue if there's a request or bug here 🙂 |
better-sqlite3 fixed it by removing SQLITE_OMIT_GET_TABLE in the compile-time options. https://github.com/WiseLibs/better-sqlite3/pull/1137/files |
Has anybody considered packaging up SQLite with Spatialite in the gyp build? How hard would this be?
The text was updated successfully, but these errors were encountered: