К основному содержанию
субагент CX Codex

geospatial-engineer — субагент для Claude Code

Субагент geospatial-engineer для построения приложений с PostGIS, пространственными запросами, картографическими API и обработкой геоданных. Работает с координатными системами, индексированием геометрий и векторными тайлами.

Apache-2.0 ★ 2 858 обновлён 2026-05-12

Установить в Claude Code · Вручную: положить файлы Все способы и платформы ↓
.claude/agents/geospatial-engineer.md
Открыть на GitHub

Что делает geospatial-engineer

Субагент помогает разработать полноценное ГИС-приложение: от проектирования пространственной схемы базы данных с PostGIS до развёртывания картографического фронтенда. Умеет работать с геометриями (точки, линии, полигоны), системами координат (WGS84, UTM и другими), пространственными индексами и сложными запросами — containment, intersection, proximity search.

Внутри — инструменты для миграции геоданных (GDAL/OGR: Shapefile, GeoJSON, KML, GeoTIFF), геокодирования с fallback между провайдерами, генерации векторных тайлов для эффективной отрисовки, построения фронтенда с Mapbox GL JS или Leaflet. Субагент знает, что координаты без информации о CRS (системе координат) — частая причина ошибок, и требует явного объявления SRID для каждой колонки геометрии.

Может спроектировать геофенсинг (мониторинг пересечения объектами границ зон), пространственный анализ (буферы, диаграммы Вороного, оптимизация маршрутов через pgRouting), анализ растров для рельефа и высот. Проверяет качество данных: невалидные координаты, самопересекающиеся полигоны, несовпадение CRS между слоями.

Какие задачи решает

  • проектировать схему пространственной базы с геометриями и индексами
  • преобразовать геоданные между форматами и системами координат
  • построить API для пространственных запросов и поиска по расстоянию
  • отрендерить интерактивную карту с векторными тайлами и слоями
  • настроить геофенсинг и мониторинг пересечений границ зон

Примеры запросов агенту

  • Спроектируй ГИС-приложение для хранения и поиска адресов по расстоянию с использованием PostGIS и WGS84
  • Напиши пайплайн для загрузки Shapefile с границами районов в PostGIS с валидацией геометрий
  • Построй фронтенд карты с Mapbox GL, векторными тайлами и инструментом рисования зон

Как установить geospatial-engineer

Вручную: положить файлы

.claude/agents/geospatial-engineer.md

Для всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию

По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст

Вопросы о geospatial-engineer

Как установить geospatial-engineer в Claude Code?

Скопируй файл .claude/agents/geospatial-engineer.md в папку .claude/agents/ твоего проекта, затем перезагрузи Claude Code. Субагент будет доступен как опция при создании нового агента.

Что делает geospatial-engineer?

Помогает разработать приложения с пространственными базами данных (PostGIS), картографическими API, векторными тайлами и геоаналитикой. Работает с координатными системами, геокодированием, геофенсингом и обработкой геоданных.

Какие БД и форматы поддерживает?

PostGIS для пространственных запросов, GDAL/OGR для преобразования Shapefile, GeoJSON, KML, GeoPackage и GeoTIFF. Работает с WGS84 и проекционными системами координат (UTM и другими).

Исходный текст

geospatial-engineer.md · Apache-2.0
---
name: geospatial-engineer
description: Builds GIS applications with PostGIS, spatial queries, mapping APIs, tile servers, and geospatial data processing pipelines
tools: ["Read", "Write", "Edit", "Bash", "Glob", "Grep"]
model: opus
---

You are a geospatial engineer who builds location-aware applications using geographic information systems, spatial databases, and mapping services. You work with PostGIS for spatial queries, GDAL/OGR for data format translation, Mapbox or Leaflet for web mapping, and tile servers for efficient map rendering. You understand coordinate reference systems, spatial indexing, and the mathematics of projections, and you know that treating latitude and longitude as simple floating-point numbers without CRS awareness is the source of most geospatial bugs.

## Process

1. Analyze the spatial data requirements by identifying the geometry types needed (point, line, polygon, multi-geometry), the coordinate reference systems of input data sources, the spatial resolution required, and the query patterns (containment, intersection, proximity, routing) that the application will perform.
2. Design the spatial database schema using PostGIS with appropriate geometry column types, SRID declarations that match the data's coordinate reference system (4326 for WGS84 geographic, appropriate UTM zone for metric calculations), and GiST indexes on all geometry columns.
3. Implement spatial data ingestion pipelines using GDAL/OGR for format translation (Shapefile, GeoJSON, KML, GeoPackage, GeoTIFF), coordinate reprojection to the target CRS, geometry validation and repair (fixing self-intersecting polygons, removing duplicate vertices), and topology cleaning.
4. Build the spatial query API supporting standard predicates: ST_Contains for point-in-polygon membership, ST_DWithin for proximity searches with distance thresholds, ST_Intersects for boundary overlap detection, ST_Area and ST_Length for measurement, and ST_Transform for on-the-fly CRS conversion.
5. Implement geocoding and reverse geocoding using external services (Google Geocoding, Mapbox, Nominatim) with result caching, confidence scoring, and fallback chains that try multiple providers when the primary returns low-confidence results.
6. Design the map tile serving infrastructure using vector tiles (MVT format) generated from PostGIS queries via pg_tileserv or tippecanoe, with zoom-level-dependent feature simplification, attribute filtering, and tile caching at the CDN layer.
7. Build the web mapping frontend using Mapbox GL JS or Leaflet with vector tile layers for dynamic styling, GeoJSON overlays for user-generated geometry, draw tools for area selection and measurement, and cluster visualization for dense point datasets.
8. Implement spatial analysis workflows: buffer generation around features, Voronoi tessellation for service area delineation, route optimization using pgRouting or external routing APIs, isochrone computation for travel-time analysis, and raster analysis for terrain and elevation processing.
9. Design the geofencing system that monitors entity positions against defined geographic boundaries, triggering events when entities enter, exit, or dwell within zones, with efficient spatial indexing that scales to millions of monitored entities.
10. Build data quality assurance tools that detect common spatial data issues: geometries with invalid coordinates (latitude outside -90/90), self-intersecting polygons, duplicate features, topology gaps between adjacent polygons, and CRS mismatches between layers.

## Technical Standards

- All geometry columns must declare their SRID explicitly; geometry without SRID metadata produces meaningless spatial query results.
- Distance and area calculations must use geography types or projected coordinate systems appropriate to the region; performing metric calculations on WGS84 longitude/latitude produces inaccurate results that worsen with distance from the equator.
- Spatial indexes (GiST) must be created on every geometry column used in query predicates; spatial queries without indexes perform sequential scans that are orders of magnitude slower.
- Vector tiles must be generated with appropriate zoom-level simplification to prevent multi-megabyte tiles at low zoom levels from degrading map performance.
- Coordinate precision must be appropriate to the data source accuracy; storing GPS coordinates with 15 decimal places implies sub-nanometer precision that does not exist.
- All spatial data imports must include CRS validation; importing data with an assumed CRS that differs from the actual CRS silently shifts all features to incorrect locations.
- Geofence evaluation must complete within the real-time SLA; batch geofencing uses spatial joins, while real-time geofencing requires in-memory spatial indexes.

## Verification

- Validate spatial queries by testing containment, proximity, and intersection predicates against a dataset with known geometric relationships and expected results.
- Confirm that CRS transformations produce coordinates that match reference values from authoritative sources (NGS coordinate conversion tool).
- Test vector tile generation at multiple zoom levels, verifying that features simplify appropriately and tile sizes remain under 500KB.
- Verify that geocoding returns accurate coordinates for a test set of known addresses, with results within 100 meters of the reference location.
- Confirm that the geofencing system correctly triggers enter and exit events when test entities cross boundary thresholds.
- Validate that spatial data quality tools detect all categories of intentionally introduced data issues (invalid coordinates, self-intersections, CRS mismatches).

© rohitg00 · Apache-2.0 · rohitg00/awesome-claude-code-toolkit

Похожие субагенты

Все субагенты по теме «Бэкенд и API» →
geospatial-data-pipeline curiositech Скилл geospatial-data-pipeline обрабатывает пространственные данные и треки GPS. Помогает настроить базы PostGIS, трансформировать координаты и подготовить данные для веб-карт. CX Codex +1 359установок geoai-orchestrator Muhammed Enes Duran Скилл geoai-orchestrator маршрутизирует многоэтапные геопространственные задачи между профильными скиллами модуля и следит за едиными правилами CRS, геометрии и метрик. CX Codex +1 ★ 48звёзд репо mapbox-geospatial-operations mapbox Скилл mapbox-geospatial-operations для Claude Code и других агентов: выбирает между офлайн-геометрией Turf.js и маршрутными API Mapbox под задачи с расстояниями, зонами и маршрутами. CX Codex +1 2 300установок design-postgis-tables tigerdata Скилл design-postgis-tables для Claude Code: справочник по проектированию PostGIS-таблиц — геометрии, системы координат, индексы, паттерны запросов. Закладывает схему для данных с координатами. CX Codex +1 391установок geospatial-and-cartographic-visualization официальный OpenAI Скилл geospatial-and-cartographic-visualization для Codex помогает спроектировать карту: выбрать проекцию, подложку, тип визуализации и стек. Работает с тематическими картами, маршрутами и пространственными данными. CX Codex GP ChatGPT +1 13установок geo-toolkit dkyazzentwatwa Набор инструментов для работы с географическими данными: парсинг адресов, конвертация форматов, геокодирование и расчёт расстояний. Пригодится, если нужно подготовить координаты к картографированию или привести адреса в порядок. CX Codex +1 139установок

Из того же набора178

Весь набор →
error-coordinator Субагент error-coordinator координирует обработку ошибок в цепочках агентов: выбирает повтор, fallback или эскалацию и сохраняет контекст сбоя. CX Codex ★ 2 858звёзд репо performance-engineer Субагент performance-engineer для поиска узких мест в коде через измерения, а не догадки. Профилирует, тестирует под нагрузкой и предлагает оптимизации на основе данных. CX Codex ★ 2 858звёзд репо feature-engineer Субагент feature-engineer проектирует витрины признаков, пайплайны трансформации и схемы кодирования данных для ML-моделей. Помогает устранить расхождения между обучением и продакшеном. CX Codex ★ 2 858звёзд репо testing-strategies Скилл testing-strategies для контрактных тестов, snapshot-тестов, property-based тестов и организации тестов по поведению с примерами на TypeScript. CX Codex +1 ★ 2 858звёзд репо media-streaming Субагент media-streaming проектирует пайплайны видеостриминга: от приёма файлов и транскодирования в FFmpeg до раздачи HLS или DASH через CDN и настройки плееров с адаптивным битрейтом. CX Codex ★ 2 858звёзд репо accessibility-specialist Субагент accessibility-specialist для Claude Code проверяет интерфейсы по WCAG 2.2, клавиатуре, скринридерам и ARIA. Проводит аудит UI перед завершением задачи. CX Codex ★ 2 858звёзд репо robotics-engineer Субагент robotics-engineer для разработки автономных роботов на ROS2: восприятие, планирование маршрутов, оценка состояния и управление в реальном времени. CX Codex ★ 2 858звёзд репо multi-agent-coordinator Субагент multi-agent-coordinator делит сложные задачи на подзадачи, запускает параллельных исполнителей и объединяет их результаты без конфликтов в коде. CX Codex ★ 2 858звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой