geo-spatial-search

Design geospatial search systems using Geohash, S2, R-tree, and Elasticsearch.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/hung-phan/system-skills --skill geo-spatial-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geo-spatial-search
Source: https://github.com/hung-phan/system-skills/tree/main/skills/system-review/references/interview-templates/geo-spatial-search
Command: npx skills add https://github.com/hung-phan/system-skills --skill geo-spatial-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenges of designing scalable and efficient geo-spatial search systems for applications like Yelp, DoorDash, Uber, and Airbnb that require finding nearby points of interest.

Core Features & Use Cases

  • Geo-Spatial Indexing: Implements efficient spatial indexing with options like Geohash, S2, R-tree, and Elasticsearch.
  • Query Optimization: Offers strategies for optimizing query performance and hot-region rebalancing.
  • Use Case: Design a system that efficiently finds restaurants within a specific radius for a "find restaurants near me" feature.

Quick Start

Use the /system-review command followed by the search parameters to initiate a geo-spatial search, e.g., /system-review find nearby restaurants within 2km radius.

Frequently Asked Questions about geo-spatial-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize geo-spatial search for finding nearby points of interest?

Optimize geo-spatial search by implementing spatial indexing strategies like Geohash, S2, R-tree, or Elasticsearch to improve query performance for finding nearby points of interest.

What is the best way to handle hot regions in spatial indexing?

Handling hot regions in spatial indexing requires query optimization and hot-region rebalancing strategies to distribute load and maintain search performance across dense areas.

How does Geohash compare to S2 for geo-spatial indexing?

Geohash and S2 are both spatial indexing options for geo-spatial search; S2 offers precise cell hierarchies for proximity queries, while Geohash provides simpler prefix-based matching.

Can I use Elasticsearch for a find restaurants near me feature?

Yes, Elasticsearch is supported as a spatial indexing option to design systems that efficiently find nearby restaurants within a specific radius for location-based search features.

When do I need R-tree indexing for geo-spatial queries?

R-tree indexing is needed for geo-spatial queries requiring efficient bounding box searches and nearby point retrieval, particularly useful in applications like Yelp, DoorDash, Uber, and Airbnb.