{"id":13558124,"url":"https://github.com/rgeo/rgeo-geojson","last_synced_at":"2025-05-16T04:04:19.920Z","repository":{"id":425144,"uuid":"1144211","full_name":"rgeo/rgeo-geojson","owner":"rgeo","description":"RGeo component for reading and writing GeoJSON","archived":false,"fork":false,"pushed_at":"2024-10-10T10:57:29.000Z","size":259,"stargazers_count":190,"open_issues_count":12,"forks_count":40,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-07T06:14:59.871Z","etag":null,"topics":["geojson","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":null,"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},"funding":{"open_collective":"rgeo"}},"created_at":"2010-12-06T19:39:26.000Z","updated_at":"2024-12-27T12:42:06.000Z","dependencies_parsed_at":"2023-01-13T10:17:11.304Z","dependency_job_id":"741f7730-df14-4fe8-b5be-16604e1a091f","html_url":"https://github.com/rgeo/rgeo-geojson","commit_stats":{"total_commits":124,"total_committers":9,"mean_commits":"13.777777777777779","dds":0.25,"last_synced_commit":"d7cb0d2703a9f830f704a3ea96a71328550af747"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgeo%2Frgeo-geojson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgeo%2Frgeo-geojson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgeo%2Frgeo-geojson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgeo%2Frgeo-geojson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgeo","download_url":"https://codeload.github.com/rgeo/rgeo-geojson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464891,"owners_count":22075570,"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":["geojson","rgeo","ruby"],"created_at":"2024-08-01T12:04:45.621Z","updated_at":"2025-05-16T04:04:19.903Z","avatar_url":"https://github.com/rgeo.png","language":"Ruby","funding_links":["https://opencollective.com/rgeo"],"categories":["Ruby","ruby","Geospatial Library"],"sub_categories":["Ruby"],"readme":"# rgeo-geojson\n\n[![Gem Version](https://badge.fury.io/rb/rgeo-geojson.svg)](http://badge.fury.io/rb/rgeo-geojson)\n[![CI](https://github.com/rgeo/rgeo-geojson/workflows/CI/badge.svg)](https://github.com/rgeo/rgeo-geojson/actions?query=workflow%3ACI+branch%3Amaster+event%3Apush)\n\n`rgeo-geojson` is an extension to [RGeo](https://github.com/rgeo/rgeo)\nthat provides GeoJSON encoding and decoding.\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. See the README for the\n\"rgeo\" gem for more information.\n\n`RGeo::GeoJSON` is an optional RGeo module that provides GeoJSON encoding\nand decoding. [GeoJSON](http://geojson.org) is a JSON format used for\ngeographic data structures.\n\nExample:\n\n```ruby\nrequire 'rgeo/geo_json'\n\nstr1 = '{\"type\":\"Point\",\"coordinates\":[1,2]}'\ngeom = RGeo::GeoJSON.decode(str1)\ngeom.as_text              # =\u003e \"POINT (1.0 2.0)\"\n\nstr2 = '{\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[2.5,4.0]},\"properties\":{\"color\":\"red\"}}'\nfeature = RGeo::GeoJSON.decode(str2)\nfeature['color']          # =\u003e 'red'\nfeature.geometry.as_text  # =\u003e \"POINT (2.5 4.0)\"\n\nhash = RGeo::GeoJSON.encode(feature)\nhash.to_json == str2      # =\u003e true\n```\n\n## Install\n\n`RGeo::GeoJSON` requires:\n\n* Ruby 2.1.0 or later\n* rgeo 1.0.0 or later\n\nInclude in your bundle:\n\n```ruby\ngem 'rgeo-geojson'\n```\n\nInstall `rgeo-geojson` as a gem:\n\n```sh\ngem install rgeo-geojson\n```\n\nSee the README for the `rgeo` gem, a required dependency, for further installation information.\n\n### Development and support\n\nRDoc Documentation is available at http://rdoc.info/gems/rgeo-geojson\n\nSource code is hosted on Github at https://github.com/rgeo/rgeo-geojson\n\nContributions are welcome. Fork the project on Github.\n\nReport bugs on Github issues at http://github.com/rgeo/rgeo-geojson/issues\n\n### Acknowledgments\n\nRGeo was created by Daniel Azuma (http://www.daniel-azuma.com).\n\nDevelopment is/was supported by [Pirq](http://www.pirq.com) and\n[Neighborland](https://neighborland.com).\n\n### License\n\nCopyright (c) Daniel Azuma, Tee Parham\n\nhttps://github.com/rgeo/rgeo-geojson/blob/master/LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgeo%2Frgeo-geojson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgeo%2Frgeo-geojson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgeo%2Frgeo-geojson/lists"}