{"id":23260460,"url":"https://github.com/roy-corentin/r-tree","last_synced_at":"2025-07-07T08:33:43.648Z","repository":{"id":228065841,"uuid":"773024242","full_name":"roy-corentin/R-Tree","owner":"roy-corentin","description":"Implementation of R-Tree in Elixir","archived":false,"fork":false,"pushed_at":"2025-01-18T18:20:39.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T12:12:09.692Z","etag":null,"topics":["elixir","rtree"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roy-corentin.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-16T14:34:15.000Z","updated_at":"2025-01-18T18:20:41.000Z","dependencies_parsed_at":"2024-03-16T22:42:35.723Z","dependency_job_id":"bcac3c5e-733a-416a-8392-26901dd7726f","html_url":"https://github.com/roy-corentin/R-Tree","commit_stats":null,"previous_names":["roy-corentin/r-tree"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy-corentin%2FR-Tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy-corentin%2FR-Tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy-corentin%2FR-Tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roy-corentin%2FR-Tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roy-corentin","download_url":"https://codeload.github.com/roy-corentin/R-Tree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247440036,"owners_count":20939195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","rtree"],"created_at":"2024-12-19T13:17:02.446Z","updated_at":"2025-04-06T05:27:34.304Z","avatar_url":"https://github.com/roy-corentin.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Rtree\n\n** Description\n\nRtree is an implementation of the R-Tree data structure in Elixir. R-Trees are used for indexing multi-dimensional information, such as geographical coordinates. This library provides a robust and efficient way to manage and query spatial data.\n\n** Installation\n\nIf available in Hex, the package can be installed by adding `rtree` to your list of dependencies in `mix.exs`:\n\n#+begin_src elixir\ndef deps do\n  [\n    {:rtree, github: \"roy-corentin/R-Tree\"}\n  ]\nend\n#+end_src\n\n** Usage\n\nHere is a basic example of how to use the Rtree library:\n\n#+begin_src elixir\n# Create a new R-Tree node with a limit of 2 objects per node\nnode = %RNode{limit: 2}\n\n# Insert objects into the R-Tree\nnode = RTree.insert(node, %RObject{x: 1, y: 1, data: \"data1\"})\nnode = RTree.insert(node, %RObject{x: 2, y: 2, data: \"data2\"})\nnode = RTree.insert(node, %RObject{x: 3, y: 3, data: \"data3\"})\n\n# Search for an object in the R-Tree\ncase RTree.search(node, %{x: 2, y: 2}) do\n  {:ok, object} -\u003e IO.puts(\"Found object: #{inspect(object)}\")\n  {:error, \"Not Found\"} -\u003e IO.puts(\"Object not found\")\nend\n#+end_src\n\n** Documentation\n\nDocumentation can be generated with [[ExDoc][https://github.com/elixir-lang/ex_doc]] and published on [[HexDocs][https://hexdocs.pm]]. Once published, the docs can be found at \u003chttps://hexdocs.pm/rtree\u003e.\n\n** Contributing\n\nContributions are welcome! Please open an issue or submit a pull request on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froy-corentin%2Fr-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froy-corentin%2Fr-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froy-corentin%2Fr-tree/lists"}