OpenStreetMap logo OpenStreetMap

yotsuda's Diary

Recent diary entries

Introducing PowerShell.Map v1.0.0

I’m excited to share PowerShell.Map - a new module that brings interactive OpenStreetMap visualization to the PowerShell command line!

What it does

PowerShell.Map opens interactive maps in your browser directly from PowerShell commands:

# Display multiple locations
Show-OpenStreetMap Paris, London, Rome

# Show routes with turn-by-turn directions
Show-OpenStreetMapRoute -From Tokyo -To Osaka

# Create animated tours
Start-OpenStreetMapTour Tokyo, Kyoto, Osaka -Duration 2

Use cases

PowerShell.Map brings OSM’s powerful features to the command line:

  • Zero setup: Interactive maps with a single command - no web development needed
  • Scriptable: Automate map generation from CSV, databases, or any data source
  • AI-powered: Let Claude Desktop create maps via natural language

Technical stack

This project is built entirely on OpenStreetMap’s ecosystem:

  • Leaflet.js for interactive map display
  • OSM tiles for base maps
  • Nominatim for geocoding
  • OSRM for routing and directions
  • Built-in HTTP server for seamless browser integration

Thank you to the OSM community for providing these excellent services!

AI integration

PowerShell.Map integrates with Claude Desktop via PowerShell.MCP, enabling natural language map visualization.

First, tell Claude to set up the module:

“Show me some fun map demos using the PowerShell.Map module”

Then simply ask for what you want:

  • “Show me a tour of famous temples in Kyoto”
  • “Create a route from Tokyo Tower to Senso-ji Temple”
  • “Show me a walking tour of cafes in Paris”
  • “Plan a hot spring tour across Japan with routes between locations”

Claude translates these requests into PowerShell.Map commands and displays the interactive map instantly.

Links:

Installation

See full entry