{"id":13792527,"url":"https://github.com/tarantool/gis","last_synced_at":"2025-04-14T15:10:56.067Z","repository":{"id":45281596,"uuid":"62506577","full_name":"tarantool/gis","owner":"tarantool","description":"A full-featured geospatial extension for Tarantool","archived":false,"fork":false,"pushed_at":"2022-10-28T08:55:07.000Z","size":763,"stargazers_count":48,"open_issues_count":4,"forks_count":5,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-13T22:56:51.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarantool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-03T17:00:51.000Z","updated_at":"2024-11-15T23:00:17.000Z","dependencies_parsed_at":"2023-01-20T05:45:15.877Z","dependency_job_id":null,"html_url":"https://github.com/tarantool/gis","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fgis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fgis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fgis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fgis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarantool","download_url":"https://codeload.github.com/tarantool/gis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904640,"owners_count":21180835,"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":[],"created_at":"2024-08-03T22:01:13.243Z","updated_at":"2025-04-14T15:10:56.042Z","avatar_url":"https://github.com/tarantool.png","language":"Lua","funding_links":[],"categories":["Geospatial Library","Lua","Packages"],"sub_categories":["Lua","Database"],"readme":"Tarantool/GIS\n=============\n\n**Tarantool/GIS** is a full-featured geospatial extension for\n[Tarantool Database]. It's like PostGIS, but for Tarantool.\n\n* `Point`, `LineString`, `Polygon`, `MultiPoint`, `GeometryCollection` and\n  other geometric primitives.\n* `Overlaps`, `Contains`, `Touches`, `Distance`, `Length`, `Area` and other\n  geometric functions.\n* Database of more than 5000 spatial reference systems (SRS) and conversion\n  routines.\n* Aims to implement ISO 19125-1:2004 and ISO/IEC 13249-3 standards.\n* Full interoperability with ``WKT, WKB and GeoJSON formats.\n* Fast **in-memory** spatial indexes using Tarantool's RTREE.\n\n[Tarantool Database]: http://tarantool.org/\n\n**Tarantool/GIS** is in an alpha stage. All feautures are documented and\nfully covered by unit and functional tests.\n\n[![Build Status](https://travis-ci.org/tarantool/gis.png)]\n(https://travis-ci.org/tarantool/gis)\n\nExample\n-------\n\nHere is an example how to work with geometric primitives in Tarantool:\n\n    gis = require('gis')\n    gis.install() -- create system tables\n    -- https://source.opennews.org/en-US/learning/choosing-right-map-projection/\n    wgs84 = 4326 -- WGS84 World-wide Projection (Lon/Lat)\n    nationalmap = 2163 -- US National Atlas Equal Area projection (meters)\n    calif5 = 2770 -- California zone 5 projection (meters)\n    nevada = gis.Polygon({{\n        {-120.000000, 42.000000};\n        {-114.000000, 42.000000};\n        {-114.000000, 34.687427};\n        {-120.000000, 39.000000};\n        {-120.000000, 42.000000};\n    }}, wgs84)\n\n    nevada:wkt()\n    =\u003e \"POLYGON ((-120 42, -114 42, -114 34.687427, -120 39, -120 42))\"\n\n    lasvegas = gis.Point({-115.136389, 36.175}, wgs84)\n    losangeles = gis.Point({-118.25, 34.05}, wgs84)\n\n    nevada:contains(lasvegas)\n    =\u003e true\n    nevada:contains(losangeles)\n    =\u003e false\n    line = gis.LineString({lasvegas, losangeles}, wgs84)\n    line:transform(calif5):length()\n    =\u003e 368.94277529796 - km\n    nevada:transform(nationalmap):area() * 1e-6\n    =\u003e 293496.74070953 -- km^2\n\n**Tarantool/GIS** allows to store any kinds of geometric objects in Lua table\nand Tarantool spaces, perform kNN, OVERLAPS and other queries using the\nhigh-speed in-memory indexes.\n\nPlease follow [Getting Started] guide for further instructions.\n[Getting Started]: https://tarantool.github.io/gis/getting_started.html\n\nSee Also\n--------\n\n* [Documentation](http://tarantool.github.io/gis)\n* [Examples](https://github.com/tarantool/gis/tree/master/examples)\n* [Tests](https://github.com/tarantool/gis/tree/master/tests)\n* [Packages](https://tarantool.org/download.html)\n* [Maillist](https://groups.google.com/forum/#!forum/tarantool)\n* [Facebook](http://facebook.com/TarantoolDatabase/)\n* roman@tsisyk.com\n\n----\n\n**Tarantool/GIS** - manage geographics primitives as a professional with the\nspeed of Tarantool!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fgis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarantool%2Fgis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fgis/lists"}