theoretick/rgeo — explained in plain English
Analysis updated 2026-07-18 · repo last pushed 2014-07-08
Build a delivery or real estate app that checks if locations fall within a service area.
Calculate the distance between two coordinates or the size of a mapped region.
Store and query geographic data efficiently in Rails using a PostGIS-backed database.
Read and write GeoJSON or shapefiles to exchange data with mapping tools.
| theoretick/rgeo | 0verflowme/alarm-clock | 0verflowme/seclists | |
|---|---|---|---|
| Language | — | CSS | — |
| Last pushed | 2014-07-08 | 2022-10-03 | 2020-05-03 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | moderate | easy | easy |
| Complexity | 3/5 | 2/5 | 1/5 |
| Audience | developer | vibe coder | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Requires system dependencies (GEOS, Proj4) and works best on Unix-like systems.
RGeo is a Ruby library that lets you work with location and geographic data in your applications. If you're building anything that needs to understand maps, coordinates, or spatial relationships, like a delivery app, real estate platform, or location-based service, this library handles the math and data structures for you. At its core, RGeo lets you represent geographic objects like points (a single location), lines (a route), and polygons (an area), and then perform common geographic operations on them. For example, you can check if two areas overlap, create a buffer zone around a point, calculate the distance between two locations, or measure the size of a region. It also handles the tricky part: correctly dealing with Earth's spherical shape rather than treating it as flat, and converting coordinates between different map projections (which matters when you're displaying locations on a flat screen). The library integrates naturally with popular Ruby tools for building web applications. If you're using Rails and a database like PostgreSQL with spatial extensions, or MySQL with spatial capabilities, RGeo has adapters that let your database store and query geographic data efficiently. It can also read and write standard geographic data formats like GeoJSON (which web mapping services understand) and shapefiles (which GIS professionals use). You'd use this if you're a Ruby developer building location-aware applications and need reliable, standards-based tools for handling geographic calculations and data. The library leans on trusted open-source geospatial libraries under the hood (GEOS for calculations and Proj4 for projections), so you get battle-tested geographic logic without having to implement it yourself. Installation requires a few system dependencies, and it works best on Unix-like systems, the README notes that Windows support is limited but possible with some extra setup.
A Ruby library for handling geographic data, points, lines, and areas, with spatial calculations like distance, overlap, and area.
Dormant — no commits in 2+ years (last push 2014-07-08).
Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.