Comments (9)
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.
I can help with the issue but can you please expand with the issue
from surrealdb.
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.
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.
Best regards,
Koobitor
from surrealdb.
@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.
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.
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.
I've added support for DD and DMS formats. Should be ready for review!
from surrealdb.
/cc @tobiemh
from surrealdb.
Related Issues (20)
- Bug: Deserializing query response into Value returns Value::None HOT 1
- Bug: validation error when using RELATE statement with value from an object
- Bug: can't compare directly without turning it into a sub query using futures HOT 1
- Feature: auto populate old records for new field with default value
- Bug: ORDER BY field from subquery, but subquery returns []
- Bug: Same regex used for both latitude and longitude
- Feature: Create a datetime from partial number values
- could you please send me your dockerfile ? HOT 2
- Bug: Error when making a query on indexed field using WHERE ... IN HOT 1
- Bug: for loop stop iteration on return HOT 3
- Bug: $parent not working in relation subquery HOT 2
- Bug: bool index not working when no value is specified
- Bug: index is not used after upgrading from 1.2.1 to 1.2.2
- Bug: Response::take(&str) doesn't allow retrieving different columns from the same query
- Bug: IF NOT EXISTS not working for define event HOT 2
- Feature: version command should print detailed information about the binary
- Bug: unresolved import `crate::fflags` in version 1.3.0 with kv-rocksdb feature enabled HOT 3
- Performance issue: array / result set operations are slow HOT 1
- Bug: Graph query does not work when selecting uncreated node HOT 1
- Bug: index not working when fetching data with relation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surrealdb.