---
title: "ClickHouse Newsletter July 2022: Geo queries for railway enthusiasts"
description: "ClickHouse's July 2022 newsletter lists upcoming meetups in London, Silicon Valley and Munich plus the v22.7 release webinar, and recaps the 22.6 release: ARM performance work and stack traces, non-constant patterns for LIKE and MATCH, parameters for external UDFs, showCertificate(), and writes to system.zookeeper."
url: "https://swe.quest/articles/clickhouse-newsletter-july-2022-geo-queries-for-railway-enthusiasts-a4368c937de1817a"
canonical: "https://clickhouse.com/blog/newsletter_2022_july"
source: "ClickHouse"
published: "2022-07-14"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 6
tags: ["sql","geospatial","analytics"]
---

# ClickHouse Newsletter July 2022: Geo queries for railway enthusiasts

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2022-07-14, 6 min read, Announcement. Original: [https://clickhouse.com/blog/newsletter\_2022\_july](https://clickhouse.com/blog/newsletter_2022_july)

## Summary

ClickHouse's July 2022 newsletter lists upcoming meetups in London, Silicon Valley and Munich plus the v22.7 release webinar, and recaps the 22.6 release: ARM performance work and stack traces, non-constant patterns for LIKE and MATCH, parameters for external UDFs, showCertificate(), and writes to system.zookeeper. Its query of the month loads the England and Wales public transport stops CSV, reduces it to one row per London Underground station, sorts by Lat\*Lon, and uses lagInFrame window functions with geoDistance to find adjacent stations. The closest pair turns out to be two entries for the same Heathrow station 4 meters apart, followed by Queensway and Bayswater. A reading list links to user stories and integrations.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [SQL](https://swe.quest/tags/sql.md) (Languages)
- [Maps & geospatial](https://swe.quest/tags/geospatial.md) (Domains)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)

## Prerequisites

- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- window functions

## Keywords

ClickHouse, ClickHouse 22.6, geoDistance, lagInFrame, NaPTAN, ClickHouse Keeper

## Related posts

- [pg\_clickhouse 0.11.1: Now with pgvector, UPDATE, DELETE pushdown](https://swe.quest/articles/pg-clickhouse-0-11-1-now-with-pgvector-update-delete-pushdown-a96a06584d05c765.md): ClickHouse · 2026-11-19 · Medium · 7 min read · PostgreSQL, Analytics & OLAP, Vector search, Query engines
  pg\_clickhouse 0.11.1 maps pgvector's vector type to ClickHouse Array(Float32/Float64) columns.
- [State of Geospatial in ClickHouse in March 2026](https://swe.quest/articles/state-of-geospatial-in-clickhouse-in-march-2026-8ba2f9b2ba169467.md): ClickHouse · 2026-03-04 · Medium · 29 min read · Maps & geospatial, Analytics & OLAP, SQL, Databases
  ClickHouse's geospatial support has grown from early distance functions to over 90 functions, grid indexes (geohash, H3, S2), and geometry types (Point, Ring, LineString, MultiLineString, Polygon, MultiPolygon) implemented as aliases over Tuple and Array.
- [ClickHouse Newsletter March 2022: There’s a window function for that!](https://swe.quest/articles/clickhouse-newsletter-march-2022-there-s-a-window-function-for-that-3afa5197d3d99ad4.md): ClickHouse · 2022-03-07 · Medium · 5 min read · Analytics & OLAP, SQL, Databases
  ClickHouse 22.2 makes projections production-ready and on by default.
- [Postgres week in the Netherlands: PGDay Lowlands & Percona Live 2026](https://swe.quest/articles/postgres-week-in-the-netherlands-pgday-lowlands-percona-live-2026-0eb593178690a919.md): ClickHouse · 2026-09-18 · Easy · 7 min read · PostgreSQL, Observability, Analytics & OLAP, Query engines
  Notes from PGDay Lowlands in Utrecht and Percona Live in Amsterdam, covering two ClickHouse-maintained Postgres extensions and several PostgreSQL 19 features. pg\_clickhouse is a foreign data wrapper that lets unmodified Postgres queries and ORMs run against ClickHouse via pushdown, with 15 of 22 TPC-H queries fully pushed down. pg\_stat\_ch streams per-query execution events through a shared-memory ring buffer to ClickHouse without back-pressure.
- [ClickHouse Newsletter August 2022: Airlines are maybe not that bad](https://swe.quest/articles/clickhouse-newsletter-august-2022-airlines-are-maybe-not-that-bad-1b3d45affdf6ad87.md): ClickHouse · 2022-08-11 · Medium · 7 min read · Analytics & OLAP, SQL, Databases
  ClickHouse's August 2022 newsletter introduces ClickBench, a benchmark for analytical databases built on a real-world web analytics dataset, and summarizes the 22.7 release: positional arguments on by default, deprecation of the Ordinary engine, new direct and full\_sorting\_merge join algorithms, a MongoDB table function, additional table and result filters, and HTTP support in clickhouse-go.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
