# Graphhopper Routing

> GraphHopper — motor de routing rápido y eficiente para isocronas, rutas y geocoding.

- Skill: `ntizar/graphhopper-routing` (Agent Skill)
- Install (CLI): `npx skillmds@latest add ntizar/graphhopper-routing`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ntizar/graphhopper-routing/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: ntizar (https://skillmd.com/u/ntizar)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/ntizar/graphhopper-routing

---


# GraphHopper — Motor de Routing Rápido

## Qué es

GraphHopper es un motor de routing open-source de alta velocidad que ofrece:
- **Routing ultra-rápido** — uno de los más rápidos del mundo
- **Isocronas** — cálculo eficiente de polígonos de accesibilidad
- **Multimodal** — coche, bici, peatón, moto, truck
- **Traffic-aware** — routing considerando tráfico
- **Java-based** — fácil de integrar en JVM ecosystem

## Instalación

```bash
# Docker
docker run -p 8989:8989 graphhopper/graphhopper:latest

# O standalone
wget https://github.com/graphhopper/graphhopper/releases/latest/download/graphhopper-web.sh
chmod +x graphhopper-web.sh
./graphhopper-web.sh import europe-latest.osm.pbf
./graphhopper-web.sh server
```

## Uso básico

```bash
# Routing
curl 'http://localhost:8989/route?point=40.4168,-3.7038&point=41.3874,2.1686&vehicle=car'

# Isochrone
curl 'http://localhost:8989/isochrone?point=40.4168,-3.7038&range=300&vehicle=car'
```

## Casos de uso para David

- **Isocronas rápidas** — cálculo de accesibilidad en España
- **Routing multimodal** — integrar con GTFS
- **Comparativa** — comparar con Valhalla para validar resultados
- **Dashboard** — servir routing via REST API

## Pitfalls

- Los datos OSM grandes consumen mucha RAM (8GB+)
- La importación de datos es lenta (horas para Europa)
- Las isocronas requieren configuración adicional
- Menos documentación que Valhalla para casos avanzados

## Referencias

- Repo: `github.com/graphhopper/graphhopper` (6K⭐)
- Docs: `https://docs.graphhopper.com`

## Comparativa de alternativas

- **[graphhopper/graphhopper](https://github.com/graphhopper/graphhopper)** — motor de routing con map-matching, isócronas e importación de OSM + GTFS + elevación, usable como librería Java o servidor; otra referencia además de Valhalla/OTP para isócronas y rutas.

