jackjoe / myxql Goto Github PK
View Code? Open in Web Editor NEWThis project forked from elixir-ecto/myxql
MySQL 5.5+ driver for Elixir
License: Apache License 2.0
This project forked from elixir-ecto/myxql
MySQL 5.5+ driver for Elixir
License: Apache License 2.0
So in general, decoding works, when testing on a single element. It does not, however, work with a fully filled up row. This is mostly seen in our actual client app, where all the sudden, when there is a Point or a Polygon, another field (for now, a :naive_datetime
field) cannot be decoded.
My hunch is that bytes go missing when reading them in the polygon decoding step, which screws it up for the remaining fields. But that is just a hunch. I will try to get a failing test up with this behaviour, so we can move from there.
So we are trying to implement different geometry types into myxql. We do not have extensive postgis knowledge, we were using Mariaex for quite a while and then suddenly needed MultiPolygon, which was not included.
After many, many hours to try and get our head around the binary pattern of the internal MySQL geo format, and using external libs (Geo mix package) we finally had a small breakthrough in parsing a single point without errors!
Next up are all other types, for us, in the following order of importance:
Then for completeness:
The first thing for the polygon we need to figure out is where the number of rings/points inside the polygon is stored. For that I think we can look into Mariaex which has support for Polygons. Then, hopefully, the bridge to MultiPolygon will not be too difficult.
Let us know what bit you would like to work on, so we do not overlap.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.