geolocation-center

Find nearby centers using GPS coordinates and PostGIS spatial queries.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/NoahYn/climb.com --skill geolocation-center
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geolocation-center
Source: https://github.com/NoahYn/climb.com/tree/main/.claude/skills/geolocation-center
Command: npx skills add https://github.com/NoahYn/climb.com --skill geolocation-center

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of finding relevant physical locations (centers) based on a user's current GPS coordinates, efficiently handling spatial queries and data management.

Core Features & Use Cases

  • GPS-based Search: Leverages the browser's Geolocation API to get user location.
  • Spatial Queries: Utilizes PostGIS functions like ST_DWithin and ST_Distance for accurate proximity searches.
  • Auto-Expanding Radius: Dynamically adjusts the search radius to ensure sufficient results.
  • Deduplication: Prevents duplicate center entries using proximity, name, and address matching.
  • Map API Seeding: Populates initial center data from external map services.

Quick Start

Request browser geolocation permission and send the user's latitude and longitude to the /api/v1/centers/nearby endpoint.

Frequently Asked Questions about geolocation-center

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

FAQPage Schema
How do I find nearby centers using GPS coordinates and PostGIS?

To find nearby centers using GPS coordinates and PostGIS, you request browser geolocation permission and send the latitude and longitude to the `/api/v1/centers/nearby` endpoint. The system then uses PostGIS `ST_DWithin` and `ST_Distance` for spatial queries to return matching locations.

What is the best way to handle auto-expanding radius searches in spatial queries?

The best way to handle auto-expanding radius searches in spatial queries is to use a system that dynamically adjusts the search radius. This ensures sufficient nearby center results are returned based on the user's current GPS coordinates and the density of available locations.

How does center deduplication work with proximity and address matching?

Center deduplication works by comparing proximity, name, and address matching to prevent duplicate physical center entries. This approach ensures that spatial queries return unique locations even when multiple map API records represent the same point of interest.

Can I use the browser Geolocation API with PostgreSQL for nearby searches?

Yes, you can use the browser Geolocation API with PostgreSQL for nearby searches by integrating it with the PostGIS extension. This combination allows web applications to fetch user coordinates and perform accurate spatial queries like `ST_DWithin` to find relevant physical locations.

How do I populate initial center data from map APIs for spatial queries?

To populate initial center data from map APIs for spatial queries, you use map API seeding features. This process extracts initial physical location data from external map services and stores it in PostgreSQL/PostGIS to serve as the baseline dataset for nearby center searches.