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

Usage with Node/Server-side JS & Edge? #19

Closed
patryk-smc opened this issue Jul 11, 2023 · 3 comments
Closed

Usage with Node/Server-side JS & Edge? #19

patryk-smc opened this issue Jul 11, 2023 · 3 comments

Comments

@patryk-smc
Copy link

Hi there,
I am currently researching the possibility of implementing API with Geospatial search capabilities on the Edge, using Cloudflare Workers, Fly.io, or similar. I came across this promising project, but I am having difficulty understanding it after reading the README.

I wanted to ask how this is supposed to be used with Node / or other server-side JS runtimes? Would it be possible to hook it up with Edge SQLite database provider such as Turso, Cloudflare D1 , or Fly.io SQLite or LiteFS? I would really appreciate some clarification.

Thanks a lot

@jvail
Copy link
Owner

jvail commented Jul 11, 2023

Hi over there,

, but I am having difficulty understanding it after reading the README.

Maybe I need to update the readme if it is so unclear :) Sorry, did you take a look at the code in the test folder? Maybe that helps?

Bye, Jan

@patryk-smc
Copy link
Author

Thank you for your response, Jan. I did check the node tests, but they were a bit difficult to understand. While I am not a beginner in Node, my experience withed, as I only used it for basic tasks in the past. It would be great if you could provide more information in the README to help clarify things. Thank you.

@jvail
Copy link
Owner

jvail commented Jul 13, 2023

It would be great if you could provide more information in the README to help clarify things. Thank you.

Frankly, I am not sure what to add. Your "Question" is a bit too vague. Have you considered looking at a combination of node + native SQLite and support for loading extensions (SpatiaLite is "just" an extension of SQLite)?

@jvail jvail closed this as completed Jul 30, 2023
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