Search

PythonReactSEOPDF
OpenClaw

maps

Distance, routing, and geocoding using free APIs (OSRM + Nominatim/OSM). Use when the user asks about distance between places, travel time, directions, how far something is, or needs to convert a place name to coordinates. No API key required. Requires python3 (3.6+).

adhishthite0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install adhishthite/maps-osrm

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Maps

Free distance/routing (OSRM) and geocoding (Nominatim/OSM). No API keys needed.

Geocoding (place name → coordinates)

bash scripts/geocode.sh "Times Square, New York"

Returns lat,lon and display name. Use this first when you have place names instead of coordinates.

Distance & Route

bash scripts/distance.sh <origin_lat>,<origin_lon> <dest_lat>,<dest_lon> [mode]

Modes: driving (default), foot, bicycle

Examples:

# Manhattan to JFK Airport
bash scripts/distance.sh 40.7580,-73.9855 40.6413,-73.7781 driving

# Golden Gate Park to Fisherman's Wharf (walking)
bash scripts/distance.sh 37.7694,-122.4862 37.8080,-122.4177 foot

Workflow

  1. If user gives place names → geocode both with geocode.sh
  2. Use returned lat,lon pairs with distance.sh
  3. Report distance in km and duration in minutes

Limits

  • OSRM: free public demo server, no hard rate limit but be reasonable
  • Nominatim: max 1 request/second (OSM policy), include User-Agent
  • No live traffic data — durations are estimates based on road type/speed
  • Routing is road-network only (no public transit)

Source information

Source
github
Repository
openclaw/skills
Path
skills/adhishthite/maps-osrm
Version
—
Commit
ebbe0144eb49a136d4ba09969f092a1748cbfe5a
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

Maps Skill

Free distance, routing, and geocoding for OpenClaw — no API keys required.

What it does

  • Geocode place names to coordinates using Nominatim (OpenStreetMap)
  • Route & distance between two points using OSRM (Open Source Routing Machine)
  • Supports driving, walking, and cycling modes

Requirements

  • python3 (3.6+)
  • POSIX shell (bash)

Usage

Geocode a place
bash scripts/geocode.sh "Central Park, New York"
# [1] Central Park, Manhattan, New York, USA
#     lat,lon: 40.7828647,-73.9653551
#     type: park / leisure
Get distance & travel time
bash scripts/distance.sh 40.7580,-73.9855 40.6413,-73.7781 driving
# Mode: driving
# Distance: 20.3 km
# Duration: 22 min
Modes
Mode Aliases
Driving driving, car
Walking foot, walk, walking
Cycling bicycle, bike, cycling

How it works

  • Geocoding: Queries Nominatim's free API (1 req/sec rate limit per OSM policy)
  • Routing: Queries OSRM's public demo server for shortest path on the road network
  • No API keys needed — both services are free and open

Limitations

  • No live traffic data — durations are road-type estimates
  • No public transit routing
  • OSRM demo server is best-effort (not for high-volume production use)
  • Nominatim rate limit: 1 request per second

License

MIT

Extracted content

SKILL.md
# Maps

Free distance/routing (OSRM) and geocoding (Nominatim/OSM). No API keys needed.

## Geocoding (place name → coordinates)

```bash
bash scripts/geocode.sh "Times Square, New York"
```

Returns lat,lon and display name. Use this first when you have place names instead of coordinates.

## Distance & Route

```bash
bash scripts/distance.sh <origin_lat>,<origin_lon> <dest_lat>,<dest_lon> [mode]
```

Modes: `driving` (default), `foot`, `bicycle`

Examples:
```bash
# Manhattan to JFK Airport
bash scripts/distance.sh 40.7580,-73.9855 40.6413,-73.7781 driving

# Golden Gate Park to Fisherman's Wharf (walking)
bash scripts/distance.sh 37.7694,-122.4862 37.8080,-122.4177 foot
```

## Workflow

1. If user gives place names → geocode both with `geocode.sh`
2. Use returned lat,lon pairs with `distance.sh`
3. Report distance in km and duration in minutes

## Limits

- OSRM: free public demo server, no hard rate limit but be reasonable
- Nominatim: max 1 request/second (OSM policy), include User-Agent
- No live traffic data — durations are estimates based on road type/speed
- Routing is road-network only (no public transit)
README
# Maps Skill

Free distance, routing, and geocoding for OpenClaw — no API keys required.

## What it does

- **Geocode** place names to coordinates using [Nominatim](https://nominatim.openstreetmap.org/) (OpenStreetMap)
- **Route & distance** between two points using [OSRM](https://router.project-osrm.org/) (Open Source Routing Machine)
- Supports driving, walking, and cycling modes

## Requirements

- `python3` (3.6+)
- POSIX shell (bash)

## Usage

### Geocode a place

```bash
bash scripts/geocode.sh "Central Park, New York"
# [1] Central Park, Manhattan, New York, USA
#     lat,lon: 40.7828647,-73.9653551
#     type: park / leisure
```

### Get distance & travel time

```bash
bash scripts/distance.sh 40.7580,-73.9855 40.6413,-73.7781 driving
# Mode: driving
# Distance: 20.3 km
# Duration: 22 min
```

### Modes

| Mode | Aliases |
|------|---------|
| Driving | `driving`, `car` |
| Walking | `foot`, `walk`, `walking` |
| Cycling | `bicycle`, `bike`, `cycling` |

## How it works

- **Geocoding**: Queries Nominatim's free API (1 req/sec rate limit per OSM policy)
- **Routing**: Queries OSRM's public demo server for shortest path on the road network
- **No API keys** needed — both services are free and open

## Limitations

- No live traffic data — durations are road-type estimates
- No public transit routing
- OSRM demo server is best-effort (not for high-volume production use)
- Nominatim rate limit: 1 request per second

## License

MIT

Related skills