01

Points

Kissing gates in England Hand-coded

#30DayMapChallenge prompt: A map challenge classic. Map with points.

Why this map

Starting with a quirky one. I am a big fan of a good English muddy walk, and kissing gates are an essential part of these. Creating this map forced me to research the origin of the name, and many claim it derives from the way the hinged part touches or "kisses" the enclosure. I, however, forever a romantic, choose to stick to the more emotive reason: that it provides a perfect moment to give your fellow hiker a peck on the cheek as you turn back to close the gate behind you. The map is just what it says in the tin, the location of documented kissing gates in England.

Data sources

Kissing gates in England ↗

From
OpenStreetMap contributors, downloaded via the Overpass API (overpass-turbo)
What
30,143 kissing gates in England (OpenStreetMap tag barrier=kissing_gate), one point per gate; the 88 drawn as short lines are shown at their centre. Only gates someone has added to OpenStreetMap, so quieter corners may look emptier than they really are.
Time
Snapshot of OpenStreetMap at 2 Nov 2026, 17:45 UTC (gates added by volunteers over many years)
Resolution
Individual gates, placed by volunteers using GPS, on-the-ground surveys or aerial imagery, so positions are approximate (typically a few metres off), not exact. Only about 10% of gates record which method was used, and a handful are marked as estimated.
Licence
ODbL, © OpenStreetMap contributors

How it was made

Pythonfoliumgeopandas
See the code (map.py)
"""
Day 1 · Points
The prompt: A map challenge classic. Map with points.

What I'm mapping: Kissing gates in the UK
"""

from pathlib import Path

import folium
import geopandas as gpd

from mapkit import palette as P
from mapkit.folium_style import add_basemap, style_map

HERE = Path(__file__).parent      # this day's folder
DATA = HERE / "data"              # put the data files you download in here


m = folium.Map(location=[52.27682333479622, -0.8992581486344269], zoom_start=6, tiles=None)
add_basemap(m, "osm")           # background map: also "light-nolabels", "dark", "osm", "mapbox"
style_map(m)                      # the site's font + ink-outlined buttons

gpd = gpd.read_file(DATA / "kissing_gates.geojson")
#print(gpd.describe())  # gives a summary of the numeric columns, does not say much about the text columns.
#print(len(gpd)) #how many gates there are.
#print(gpd.columns) #the names of all 157 columns.
#print(gpd.head()) #the first 5 rows of the data, to see what it looks like.

for _, row in gpd.iterrows():
    folium.CircleMarker(
        location=[row["geometry"].y, row["geometry"].x],
        radius=5,
        color=P.INK,
        weight=1,
        fill_color=P.categorical(1),
        fill_opacity=0.7,
        tooltip=row["id"],  # replace with a column that makes sense for your data
        popup=f"Gate ID: {row['id']}"  # replace with a column that makes sense for your data
    ).add_to(m) 


m.save(HERE / "map.html")
print("Saved", HERE / "map.html")

Doing the challenge too? Use this template for your own →