Geometry with MySQL (mariaex) and Ecto

You might want to read this one: Another cast vs dump question for a custom Ecto type