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

[GSP-9] Feature Request: Geospatial Query Support #51

Open
matthewnanas opened this issue Mar 30, 2023 · 3 comments
Open

[GSP-9] Feature Request: Geospatial Query Support #51

matthewnanas opened this issue Mar 30, 2023 · 3 comments
Labels
enhancement New feature or request linear Sync issue with linear

Comments

@matthewnanas
Copy link

matthewnanas commented Mar 30, 2023

Overview
I previously inquired regarding the support of Tableland's support for geospatial operations. However according to a response in the discord developer channel, Tableland currently does not support geometry/geospatial-related queries.

Potential Action/Solution
Introducing a few open geospatial consortium methods (ex. STIntersects) to Tableland would (in my opinion) be the best step forward to see if using Tableland in a geospatial workflow is possible.

Alternative
Using a traditional SQL Server is possible however not ideal if one desires to have a completely decentralized workflow.

GSP-9

@dtbuchholz
Copy link

For reference, some of the operations noted in the Discord comment include the following:

  • STIntersects
  • STTouches
  • STCrosses
  • STWithin
  • STContains
  • STOverlaps
  • STBuffer
  • STConvexHull
  • STIntersection
  • STUnion

@dtbuchholz dtbuchholz added the enhancement New feature or request label Mar 30, 2023
@sanderpick sanderpick added the linear Sync issue with linear label Apr 7, 2023
@sanderpick sanderpick changed the title Feature Request: Geospatial Query Support [GSP-9] Feature Request: Geospatial Query Support Apr 7, 2023
@sanderpick
Copy link
Member

This is pretty interesting. We'll have to investigate if https://www.gaia-gis.it/fossil/libspatialite/index uses floats and if so, if we can work around that.

@brunocalza @avichal this could be something to think about for next season.

@carsonfarmer
Copy link
Member

I think spatialite is roughly based around the simple features specification... which does use floating point values. Additionally, I think spatialite actually uses geos (c++ geometry library) under the hood. That means it'd be really hard to support this, because geos uses double-precision floating-point values (i.e., double in C/C++) to represent and manipulate geometric coordinates and perform geometric calculations under the hood.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request linear Sync issue with linear
Projects
None yet
Development

No branches or pull requests

4 participants