Skip to content

Support for SpatialLite? #424

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

Closed
amaury1093 opened this issue Oct 4, 2020 · 2 comments
Closed

Support for SpatialLite? #424

amaury1093 opened this issue Oct 4, 2020 · 2 comments

Comments

@amaury1093
Copy link

Is it possible to use SpatialLite with sql.js? https://www.gaia-gis.it/fossil/libspatialite/index

I am looking for an alternative DBMS to postgres + postgis.

@lovasoa
Copy link
Member

lovasoa commented Oct 4, 2020

Hi !
Yes, it's possible, but you'll have to recompile sql.js yourself. See #392
If you need help doing that, don't hesitate to ask.

P.S. Passe le bonjour à Clara 😉

@lovasoa
Copy link
Member

lovasoa commented Oct 4, 2020

And if all you need is a spatial index, the easiest solution is to use the RTree module of SQLite, by simply adding -DSQLITE_ENABLE_RTREE=1 in the Makefile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants