GithubHelp home page GithubHelp logo

Comments (9)

Adithya2907 avatar Adithya2907 commented on April 28, 2024 1

Thank you for pointing me to the necessary files @koobitor. I'll get started with implementing the parser so that more formats for latitudes and longitudes are accepted.

from surrealdb.

Hirdey-1999 avatar Hirdey-1999 commented on April 28, 2024

I can help with the issue but can you please expand with the issue

from surrealdb.

Adithya2907 avatar Adithya2907 commented on April 28, 2024

I would like to contribute to the project, and I feel that this issue would be a great place to start. Can I work on this problem, and how do I get started with it?

from surrealdb.

koobitor avatar koobitor commented on April 28, 2024

Hi Guy,

That i understand right now surrealdb is not support string containing a pair of coordinates input should parse to Point with longitude as X and latitude as Y (natural map orientation) will enable to query.

Ref issue on #91 able to query with multipolygon right now.

This issue need to write parser form latlon string to coordinates format.

Can see more example on this
Screen Shot 2565-09-28 at 14 05 37

Best regards,
Koobitor

from surrealdb.

Adithya2907 avatar Adithya2907 commented on April 28, 2024

@tobiemh, @rushmorem I've gone through the codebase, and have a good understanding of the database engine now. I would like to get started with creating the parser to support more formats as mentioned before.
For this, do I create a new file, similar to datetime.rs and duration.rs, or do I define it inside the geometry.rs file itself?

from surrealdb.

drdozer avatar drdozer commented on April 28, 2024

Hi - i saw this issue and thought it may be bite-sized. I've got surrealdb to compile. Is there a partial solution for this already implemented that I can help with or should I start from scratch?

from surrealdb.

clarkmcc avatar clarkmcc commented on April 28, 2024

Hi @rushmorem, I've added support for parsing two of the example formats you specified (decimal degrees, or degree decimals). It would be great if I could get an intermediate review to make sure I'm on the right track before I add support for the remaining formats.

from surrealdb.

clarkmcc avatar clarkmcc commented on April 28, 2024

I've added support for DD and DMS formats. Should be ready for review!

from surrealdb.

rushmorem avatar rushmorem commented on April 28, 2024

/cc @tobiemh

from surrealdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.