OpenStreetMap logo OpenStreetMap

Weblearning's Diary

Recent diary entries

Improving the map of my neighbourhood

Posted by Weblearning on 16 April 2026 in English. Last updated on 17 April 2026.

My hood

Hello

You might have noticed that I have been maping this neighbourhood. Richmond. Why? Well Way: Richmond (1489761671) is small, historic and central with a mixed architectural heritage. You’ll find points of interest in the suburb of Q61359147. There are a number of offices and public (and private) education facilities. There’s no shortage of nearby recreation facilities either.

Mapping the hood with SPARQL.

In this post (which is in draft) I’m going to show how I go about creating a map of the hood

Take a specific place (Q61359147) as the center point Finds all nearby places within 10 km radius Filters them according to specific category (tourist attractions, bookshops ) Calculates how far each one is from the centre point and returns results from nearest to farthest.

Tourist Attractions (Q570116)

Let’s begin with a list. Are there tourist attractions (Q570116) near Richmond (Q61359147)? ~~~ SELECT DISTINCT ?place ?placeLabel ?location ?distance WHERE { hint:Query hint:optimizer “None” . wd:Q61359147 wdt:P625 ?arcLoc . #Change the location SERVICE wikibase:around { ?place wdt:P625 ?location . bd:serviceParam wikibase:center ?arcLoc . bd:serviceParam wikibase:radius “50” . } ?place wdt:P31/wdt:P279* wd:Q570116 . SERVICE wikibase:label { bd:serviceParam wikibase:language “en” . } BIND(geof:distance(?arcLoc, ?location) AS ?distance) } ORDER BY ASC(?distance) ~~~

Mapping the hood with Overpass Queries

You might want to explore [Overpass] (https://osm-queries.ldodds.com/) and see if you can finds a range of potentially interesting, historic or noteworthy locations. A lack of a wikidata link doesn’t mean that there is a wikidata entry to link to, or that the location should have one. This might be another useful starting point to find locally significant places. Credit to Leigh Dodds for all this information

See full entry