Skip to content
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

Geo data support #1227

Open
Ashraf-Ali-aa opened this issue May 4, 2024 · 4 comments
Open

Geo data support #1227

Ashraf-Ali-aa opened this issue May 4, 2024 · 4 comments

Comments

@Ashraf-Ali-aa
Copy link

Hi does electric sql support geo data, I am currently looking into PostgreSQL + PostGIS but I am unsure if the SQLlite supports the geo data I did find a fork of SQLlite that seems to support geo data

https://www.gaia-gis.it/fossil/libspatialite/index

Copy link

linear bot commented May 4, 2024

@samwillis
Copy link
Contributor

samwillis commented May 4, 2024

Hey @Ashraf-Ali-aa

we don't have geo data type support yet, but very much plan to. If you let us know the use case there are some work arounds that you could use at the moment though.

If you are looking for full postgis support on the client we are planning to make it available as an extension to PGlite (a WASM build of Postgres we're building). Electric support for PGlite is imminent (ETA early next week), and Postgres extension support for PGlite is being actively worked on. We hope to have it working in the next few months.

@Ashraf-Ali-aa
Copy link
Author

thanks for the update, I wanted a way to query location data while offline, I was planning on storing the data in geojson format, but if you are planning on adding PostGIS to PGlite this would be brilliant.

@Ashraf-Ali-aa
Copy link
Author

Also would PGlite support react native?

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

No branches or pull requests

2 participants