Skip to content
railsengines.com

Geopolitical

Geopolitical ready to use models

No ratings yet
Gem
geopolitical
Repository
fireho/geopolitical
License
MIT
Stars
12
Added
August 07, 2026

About

Geopolitical ready to use models

The geopolitical gem provides a set of Mongoid models for representing geopolitical entities: Nation, Region, City, and Hood (neighborhood). It aims to offer a ready-to-use solution for applications needing to manage and query geographical data.

What you get

  • Hierarchical Models: Clear parent-child relationships:
  • Nation (Country)
  • Region (State/Province, belongs to a Nation)
  • City (District/Microregion, belongs to a Nation and optionally a Region)
  • Hood (Zone/Neighborhood, belongs to a City)
  • Rich Attributes:
  • Localized names (name, alt) and ASCII versions (ascii).

Installing it

ruby
# Gemfile
gem "geopolitical"

Details

12 stars on GitHub · MIT licensed · maintained by fireho. Source: https://github.com/fireho/geopolitical

Discussion (0)

Sign in to join the discussion.

No comments yet.