{"id":13394989,"url":"https://github.com/rgeo/rgeo","last_synced_at":"2025-05-14T04:07:46.881Z","repository":{"id":1129585,"uuid":"1005013","full_name":"rgeo/rgeo","owner":"rgeo","description":"Geospatial data library for Ruby","archived":false,"fork":false,"pushed_at":"2025-02-20T19:49:26.000Z","size":3846,"stargazers_count":1023,"open_issues_count":32,"forks_count":160,"subscribers_count":36,"default_branch":"main","last_synced_at":"2025-05-09T02:36:40.691Z","etag":null,"topics":["geolocation","proj4-library","rgeo","ruby"],"latest_commit_sha":null,"homepage":"https://rgeo.info","language":"Ruby","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/rgeo.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","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,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"rgeo"}},"created_at":"2010-10-19T05:07:01.000Z","updated_at":"2025-05-06T14:19:36.000Z","dependencies_parsed_at":"2023-11-26T01:38:16.347Z","dependency_job_id":"11ac52f9-f58e-4cb7-af48-1a4545d5dc3f","html_url":"https://github.com/rgeo/rgeo","commit_stats":{"total_commits":595,"total_committers":59,"mean_commits":"10.084745762711865","dds":0.6319327731092437,"last_synced_commit":"2c52b4bf98a1048d9da48586929df1be571fa2e9"},"previous_names":[],"tags_count":68,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgeo%2Frgeo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgeo%2Frgeo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgeo%2Frgeo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgeo%2Frgeo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgeo","download_url":"https://codeload.github.com/rgeo/rgeo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253940174,"owners_count":21987610,"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":["geolocation","proj4-library","rgeo","ruby"],"created_at":"2024-07-30T17:01:38.395Z","updated_at":"2025-05-14T04:07:46.822Z","avatar_url":"https://github.com/rgeo.png","language":"Ruby","funding_links":["https://opencollective.com/rgeo"],"categories":["Ruby","Gems","ruby","Geospatial Library","Geolocation"],"sub_categories":["Database Structure and Schema Management","Ruby"],"readme":"## RGeo\n\n[![Gem Version](https://badge.fury.io/rb/rgeo.svg)](http://badge.fury.io/rb/rgeo)\n[![CI](https://github.com/rgeo/rgeo/workflows/CI/badge.svg)](https://github.com/rgeo/rgeo/actions?query=workflow%3ACI+branch%3Amain+event%3Apush)\n\nRGeo is a geospatial data library for Ruby.\n\n***Contributors Wanted!***\n\nIf you use RGeo and are interested in contributing, please check out our [open issues](https://github.com/rgeo/rgeo/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22%2C%22help+wanted%22) to see if there's anything you're able to help with.\n\n\n### Summary\n\nRGeo is a key component for writing location-aware applications in the Ruby\nprogramming language. At its core is an implementation of the industry\nstandard OGC Simple Features Specification, which provides data\nrepresentations of geometric objects such as points, lines, and polygons,\nalong with a set of geometric analysis operations. This makes it ideal for\nmodeling geolocation data. It also supports a suite of optional add-on modules\nthat provide various geolocation-related services.\n\nUse the core **rgeo** gem to:\n\n*   Represent spatial and geolocation data objects such as points, lines, and\n    polygons in your Ruby application.\n*   Perform standard spatial analysis operations such as finding\n    intersections, creating buffers, and computing lengths and areas.\n*   Correctly handle spherical geometry, and compute geographic projections\n    for map display and data analysis.\n*   Read and write location data in the WKT and WKB representations used by\n    spatial databases.\n\n\n### Dependencies\n\nRGeo works with the following Ruby implementations:\n\n*   MRI Ruby 2.6.0 or later.\n*   Partial support for JRuby 9.0 or later. The FFI implementation of GEOS\n    is available (ffi-geos gem required) but CAPI is not.\n*   See earlier versions for support for older ruby versions.\n\nSome features also require the following:\n\n*   GEOS 3.2 or later is highly recommended. (3.3.3 or later preferred.) Some\n    functions will not be available without it. This C/C++ library may be\n    available via your operating system's package manager (`sudo aptitude\n    install libgeos-dev` for debian based Linux distributions, `yum install geos geos-devel` for redhat based Linux distributions), or you can\n    download it from http://trac.osgeo.org/geos\n*   On some platforms, you should install the ffi-geos gem (version 1.2.0 or\n    later recommended.) JRuby requires this gem to link properly with Geos,\n    and Windows builds probably do as well.\n\n### Installation\n\nInstall the RGeo gem:\n\n```sh\ngem install rgeo\n```\n\nor include it in your Gemfile:\n\n```ruby\ngem \"rgeo\"\n```\n\nIf you are using proj.4 extensions, include\n[`rgeo-proj4`](https://github.com/rgeo/rgeo-proj4):\n\n```ruby\ngem \"rgeo-proj4\"\n```\n\n### Upgrading to Version 3.0\n\nSee [doc/Upgrading-to-v3.md](doc/Upgrading-to-v3.md) for a checklist of changes to make before upgrading to RGeo 3.0.\n\nFor a brief overview of the changes, see [NEWS.md](NEWS.md).\n\nFor a comprehensive list of all changes, see [History.md](History.md).\n\n\n### Extensions\n\nThe [RGeo organization](https://github.com/rgeo) provides several gems that extend RGeo:\n\n#### [`rgeo-proj4`](https://github.com/rgeo/rgeo-proj4)\n\nProj4 extensions\n\n#### [`rgeo-geojson`](https://github.com/rgeo/rgeo-geojson)\n\nRead and write GeoJSON\n\n#### [`rgeo-shapefile`](https://github.com/rgeo/rgeo-shapefile)\n\nRead ESRI shapefiles\n\n#### [`activerecord-postgis-adapter`](https://github.com/rgeo/activerecord-postgis-adapter)\n\nActiveRecord connection adapter for PostGIS, based on postgresql (pg gem)\n\n#### [`activerecord-mysql2spatial-adapter`](https://github.com/rgeo/activerecord-mysql2spatial-adapter)\n\nActiveRecord connection adapter for MySQL Spatial Extensions, based on mysql2\n\n#### [`activerecord-spatialite-adapter`](https://github.com/rgeo/activerecord-spatialite-adapter)\n\nActiveRecord connection adapter for SpatiaLite, based on sqlite3 (*not maintained)\n\n\n### Development and support\n\nRDoc Documentation is available at https://www.rubydoc.info/gems/rgeo\n\nContributions are welcome. Please read the\n[Contributing guidelines](https://github.com/rgeo/rgeo/blob/main/CONTRIBUTING.md).\n\nSupport may be available on the\n[rgeo-users google group](https://groups.google.com/forum/#!forum/rgeo-users)\nor on [Stack Overflow](https://stackoverflow.com/questions/tagged/rgeo).\n\n### Documentation\n\nYou can see more in-depth documentation in the `doc` folder. Factories and\nmethods are documented inline, you should consider checking\nhttps://rubydoc.info/gems/rgeo with the version you are currently using. Or\ngenerate documentation locally if you're working on RGeo: `yardoc server`.\n\nHere's the current list of available topics:\n\n- [An introduction to Spatial Programming With RGeo](https://github.com/rgeo/rgeo/blob/main/doc/An-Introduction-to-Spatial-Programming-With-RGeo.md)\n- [Enable GEOS and Proj4 on Heroku](https://github.com/rgeo/rgeo/blob/main/doc/Enable-GEOS-and-Proj4-on-Heroku.md)\n- [Installing GEOS](https://github.com/rgeo/rgeo/blob/main/doc/Installing-GEOS.md)\n- [Factory Compatibility](https://github.com/rgeo/rgeo/blob/main/doc/Factory-Compatibility.md)\n- [Which factory should I use?](https://github.com/rgeo/rgeo/blob/main/doc/Which-factory-should-I-use.md)\n- [Geometry validity handling](https://github.com/rgeo/rgeo/blob/main/doc/Geometry-Validity.md)\n- [Upgrading to Version 3](https://github.com/rgeo/rgeo/blob/main/doc/Upgrading-to-v3.md)\n- [Examples](https://github.com/rgeo/rgeo/blob/main/doc/Examples.md)\n- [Who uses `rgeo`?](https://github.com/rgeo/rgeo/blob/main/doc/Gallery.md)\n\nYou can see an exhaustive and up to date list at https://rubydoc.info/gems/rgeo/index.\n### Acknowledgments\n\n[Daniel Azuma](http://www.daniel-azuma.com) created RGeo.\n[Tee Parham](http://twitter.com/teeparham) is a former maintainer.\n[Keith Doggett](http://www.github.com/keithdoggett), [Ulysse Buonomo](http://www.github.com/BuonOmo) are current maintainers.\n\nDevelopment is supported by:\n\n- [Klaxit](https://www.github.com/klaxit)\n- Goldfish Ads\n\nRGeo calls the GEOS library to handle most Cartesian geometric calculations,\nand the Proj4 library to handle projections and coordinate transformations.\nThese libraries are maintained by the Open Source Geospatial Foundation; more\ninformation is available on [OSGeo's web site](http://www.osgeo.org).\n\nJRuby support is made possible by the ffi-geos (and upcoming ffi-proj4) gems,\nby [J Smith](https://github.com/dark-panda).\n\n\n### License\n\nCopyright (c) Daniel Azuma, Tee Parham\n\n[License](https://github.com/rgeo/rgeo/blob/main/LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgeo%2Frgeo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgeo%2Frgeo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgeo%2Frgeo/lists"}