ROKH
← All recipes

“What is nearby” block for a property listing

parts checkedwith an AI agent

What you get

Type an address and get a paragraph like “school 6 min, pharmacy 3 min, metro 9 min on foot” plus a map file for the listing.

Why this combination

Minutes are measured along real streets, not as the crow flies, so a school across a motorway is not “2 minutes away”.

Parts

osmnx GitHubDownloads streets and places from OpenStreetMap and measures real walking distances.licence: MIT5,910 starslast update: November 18, 2026OpenSSF Scorecard: 5.8/10
folium GitHubMakes an interactive map as one HTML file.licence: MIT7,427 starslast update: November 26, 2026OpenSSF Scorecard: 7.2/10
OpenStreetMap open dataFree world map data: streets, shops, schools, stops. Show “© OpenStreetMap contributors” wherever you use it.licence: ODbLterms read: November 25, 2026

What was checked

On November 26, 2026 a script checked all 3 parts: each exists, is not archived, was updated within the last 12 months and has a known licence. The parts were chosen so their inputs and outputs fit together.

Nobody has yet run this exact combination end to end on real data. Build it on a copy of your data first; the prompt below asks your AI agent to tell you plainly what does not work.

Limits, honestly

Quality depends on how well your area is mapped in OpenStreetMap. Keep the “© OpenStreetMap contributors” line on the map.

How to start

It runs on your own computer. Copy the prompt into an AI agent (Claude Code or similar); it installs the parts, joins them, and runs a test with sample data before your real files.

Prompt for your AI agent

Build this for me: “What is nearby” block for a property listing.
What I want to get: Type an address and get a paragraph like “school 6 min, pharmacy 3 min, metro 9 min on foot” plus a map file for the listing.

Use these open projects and data:
- osmnx: https://github.com/gboeing/osmnx (MIT)
- folium: https://github.com/python-visualization/folium (MIT)
- OpenStreetMap: https://www.openstreetmap.org/copyright (ODbL, check its terms of use)

Why this combination: Minutes are measured along real streets, not as the crow flies, so a school across a motorway is not “2 minutes away”.
Known limits: Quality depends on how well your area is mapped in OpenStreetMap. Keep the “© OpenStreetMap contributors” line on the map.

Run it on my computer. Tell me first what you will install and where.
Explain each step in plain words for someone who does not program.
Do not ask me for passwords or keys and do not use administrator rights.
Before installing anything, check that each project is still maintained and its licence allows my use. Do not add other agent skills, MCP servers or plugins without showing me their code first.
When it works, tell me how to open it again. If something does not work, say so plainly.

Fits

Real estate and rentalsHotel, hostel, tourism