A price heat map without a spatial query for every listing
You want to show the price per square metre by zone and, next to each listing, similar ones nearby. With PostGIS you can do it
one point at a time (article 8), but a heat map
needs a zone key that is the same for all the listings in the same zone, to run a
GROUP BY on. The H3 grid is for that: it divides the Earth's surface into hexagonal cells,
each with a code, and turns "is close to" into an equality between codes. The advantage is simplicity, the cost is
approximation: a cell is not a circle, and the article measures how many results change.
The question this article answers is different from the one in the PostGIS article. There: "which function do I use to find the
listings within 500 metres?". Here: "how do I aggregate the market by zone, and how far can I trust a cell?". It does not
demonstrate H3 inside PostgreSQL: the h3-pg extension is not installed on the test machine, so the cell code
is computed in the application, with the Python library h3 4.5.0, and stored in a column with a
B-tree index. The data is 50,000 made-up listings, with a price rule that I write myself: the numbers that follow describe
that rule and that seed, not Lecce.
What a cell is and how big it is
H3 defines 16 resolutions, from 0 to 15. Each cell has a 64-bit index, usually written as a hexadecimal string
(891e8b362cbffff), and each resolution has cells about seven times smaller than the previous one. The listing
prints, for resolutions 7 to 10, the number of cells, the mean area and the mean edge length read from the library, and compares
the area with that of the official table in the documentation. Then it looks at the cell that contains the centre of Lecce.
import h3
# Values read from the official table (h3geo.org, "Tables of cell stats"), mean area in km2.
UFFICIALE_KM2 = {7: 5.161293360, 8: 0.737327598, 9: 0.105332513, 10: 0.015047502}
print(f"h3 {h3.__version__}")
print("res total cells mean area m2 mean area km2 official km2 mean edge m")
for r in range(7, 11):
area_m2 = h3.average_hexagon_area(r, unit="m^2")
area_km2 = h3.average_hexagon_area(r, unit="km^2")
lato = h3.average_hexagon_edge_length(r, unit="m")
ok = abs(area_km2 - UFFICIALE_KM2[r]) < 1e-9
print(f"{r:>3} {h3.get_num_cells(r):>13,} {area_m2:>14,.0f} {area_km2:>14.9f} {UFFICIALE_KM2[r]:>13.9f} {lato:>9.1f} {'equal' if ok else 'DIFFERENT'}")
# The cell that contains the centre of Lecce, and the area of THAT cell (not the mean).
lat, lon = 40.3515, 18.1720
for r in (8, 9):
c = h3.latlng_to_cell(lat, lon, r)
print(f"res {r}: cell {c}, area of this cell {h3.cell_area(c, unit='m^2'):,.0f} m2, neighbours k=1: {len(h3.grid_disk(c, 1))}, k=2: {len(h3.grid_disk(c, 2))}")
# Output:
# h3 4.5.0
# res total cells mean area m2 mean area km2 official km2 mean edge m
# 7 98,825,162 5,161,293 5.161293360 5.161293360 1406.5 equal
# 8 691,776,122 737,328 0.737327598 0.737327598 531.4 equal
# 9 4,842,432,842 105,333 0.105332513 0.105332513 200.8 equal
# 10 33,897,029,882 15,048 0.015047502 0.015047502 75.9 equal
# res 8: cell 881e8b362dfffff, area of this cell 824,749 m2, neighbours k=1: 7, k=2: 19
# res 9: cell 891e8b362cbffff, area of this cell 117,824 m2, neighbours k=1: 7, k=2: 19
The comparison with the official table gives «equal» on all four rows, so the installed library and the documentation
agree; the mean edge length comes from the library alone, with no official value to compare it against. Resolution 9
has cells of about 105,000 m², with an edge of 200 m: the right scale for "the houses around this one". Resolution 8 has cells
of 737,000 m², suited to a city heat map. But look at the last part: the cell that contains the centre of Lecce at
resolution 9 measures 117,824 m², more than 10% above the mean of 105,333. The mean holds for the globe; on the cell you
care about the area is something else, and if you use it to compute a density (listings per km²) you are off by that amount. That is why area
calculations must be done with cell_area on the cell, not with average_hexagon_area.
The data and the price per zone with a GROUP BY
The synthetic listings sit in a rectangle of about 12 km × 11 km around Lecce: 60% concentrated around the centre with
a Gaussian distribution, 40% scattered. The price per square metre follows a rule that I declare in the code:
900 + 2200 × exp(−distance/3 km) euros, that is 3,100 at the centre falling towards 900 far away, multiplied by a
log-normal noise with σ = 0.15. Knowing the rule is useful later, to measure the error of a cell against the value the generator had
in mind. The seed is fixed and each listing is assigned the two cells, at resolution 8 and 9, with
latlng_to_cell.
import csv, math, random, h3
SEME, N = 42, 50_000
LAT0, LON0 = 40.3515, 18.1720 # centre of Lecce, as in articles 8 and 11
rng = random.Random(SEME)
def km_dal_centro(lat, lon):
# flat approximation, good enough inside the 15 km rectangle used here
return math.hypot((lat - LAT0) * 111.2, (lon - LON0) * 111.2 * math.cos(math.radians(LAT0)))
def prezzo_vero(d_km):
# THE RULE WE MADE UP: 3,100 euro/sqm at the centre, falling towards 900 with distance.
return 900 + 2200 * math.exp(-d_km / 3)
righe = []
for i in range(1, N + 1):
if rng.random() < 0.6: # 60% of the listings around the centre...
lat, lon = rng.gauss(LAT0, 0.03), rng.gauss(LON0, 0.04)
else: # ...and the rest scattered across the rectangle
lat, lon = rng.uniform(40.30, 40.40), rng.uniform(18.10, 18.25)
if not (40.30 <= lat <= 40.40 and 18.10 <= lon <= 18.25):
lat, lon = rng.uniform(40.30, 40.40), rng.uniform(18.10, 18.25)
p = round(prezzo_vero(km_dal_centro(lat, lon)) * rng.lognormvariate(0, 0.15))
righe.append((i, round(lon, 6), round(lat, 6), p,
h3.latlng_to_cell(lat, lon, 8), h3.latlng_to_cell(lat, lon, 9)))
with open("annunci.csv", "w", newline="") as f:
csv.writer(f).writerows(righe)
prezzi = sorted(r[3] for r in righe)
print(f"listings: {len(righe):,} price/sqm: min {prezzi[0]:,} median {prezzi[len(prezzi)//2]:,} max {prezzi[-1]:,}")
print(f"res 8 cells occupied: {len({r[4] for r in righe}):,} res 9 cells occupied: {len({r[5] for r in righe}):,}")
print("first listing:", righe[0])
# Output:
# listings: 50,000 price/sqm: min 631 median 1,483 max 4,347
# res 8 cells occupied: 198 res 9 cells occupied: 1,265
# first listing: (1, 18.141254, 40.302501, 911, '881e8b3549fffff', '891e8b35497ffff')
The run says the median price is 1,483 €/m², the minimum 631 and the maximum 4,347, and that the listings occupy 198 cells at
resolution 8 and 1,265 at resolution 9. The CSV is then loaded into PostgreSQL with \copy. The advantage of the cell
key is in the listing that follows: no spatial function, just GROUP BY h3_8 and
percentile_cont(0.5), the median, which I prefer to the mean because a single out-of-scale penthouse would shift the mean of
a zone. The listing starts with CREATE EXTENSION IF NOT EXISTS postgis;: without the extension the geography type does not exist and, on a new database, the posizione column would fail with "type "geography" does not exist". You need a role that is allowed to create extensions.
SET client_min_messages = warning;
CREATE EXTENSION IF NOT EXISTS postgis;
DROP TABLE IF EXISTS annuncio;
CREATE TABLE annuncio (id int PRIMARY KEY, lon float8, lat float8, prezzo_mq int, h3_8 text, h3_9 text);
\copy annuncio FROM 'annunci.csv' WITH (FORMAT csv)
ALTER TABLE annuncio ADD COLUMN posizione geography(Point, 4326)
GENERATED ALWAYS AS (ST_SetSRID(ST_MakePoint(lon, lat), 4326)::geography) STORED;
CREATE INDEX annuncio_h3_8 ON annuncio (h3_8);
CREATE INDEX annuncio_h3_9 ON annuncio (h3_9);
CREATE INDEX annuncio_gist ON annuncio USING gist (posizione);
ANALYZE annuncio;
-- Median price per cell: a GROUP BY, no spatial function.
SELECT 'res 8' AS grid, count(*) AS cells, sum(n) AS listings, min(n) AS min_n, percentile_cont(0.5) WITHIN GROUP (ORDER BY n) AS median_n, max(n) AS max_n
FROM (SELECT h3_8, count(*) AS n FROM annuncio GROUP BY h3_8) c
UNION ALL
SELECT 'res 9', count(*), sum(n), min(n), percentile_cont(0.5) WITHIN GROUP (ORDER BY n), max(n)
FROM (SELECT h3_9, count(*) AS n FROM annuncio GROUP BY h3_9) c;
SELECT h3_8 AS cell, count(*) AS n,
percentile_cont(0.5) WITHIN GROUP (ORDER BY prezzo_mq)::int AS median_sqm
FROM annuncio GROUP BY h3_8 HAVING count(*) >= 5
ORDER BY median_sqm DESC LIMIT 5;
-- The "listings in my cell" filter is an equality on a column with a B-tree index.
EXPLAIN (ANALYZE, COSTS OFF, TIMING OFF, SUMMARY OFF)
SELECT count(*) FROM annuncio WHERE h3_9 = '891e8b362cbffff';
-- Output:
-- grid | cells | listings | min_n | median_n | max_n
-- -------+-------+----------+-------+----------+-------
-- res 8 | 198 | 50000 | 1 | 250 | 483
-- res 9 | 1265 | 50000 | 1 | 38 | 88
-- (2 rows)
--
-- cell | n | median_sqm
-- -----------------+-----+------------
-- 881e8b362dfffff | 483 | 2742
-- 881e8b3753fffff | 479 | 2701
-- 881e8b3625fffff | 469 | 2626
-- 881e8b375bfffff | 451 | 2462
-- 881e8b3621fffff | 465 | 2355
-- (5 rows)
--
-- QUERY PLAN
-- -------------------------------------------------------------------------
-- Aggregate (actual rows=1 loops=1)
-- -> Bitmap Heap Scan on annuncio (actual rows=64 loops=1)
-- Recheck Cond: (h3_9 = '891e8b362cbffff'::text)
-- Heap Blocks: exact=63
-- -> Bitmap Index Scan on annuncio_h3_9 (actual rows=64 loops=1)
-- Index Cond: (h3_9 = '891e8b362cbffff'::text)
-- (6 rows)
The first table shows the number of listings per cell: at resolution 8 the median cell contains 250 and the fullest 483; at
resolution 9 the median is 38 and there is at least one cell with a single listing. The top five cells by price, with at least five
listings, have medians between 2,355 and 2,742 €/m²: they are the cells around the centre. The plan of the third query confirms that finding the
listings of a cell is a Bitmap Index Scan on the column's B-tree index, with no spatial index at all. The plan
reads 63 pages for 64 rows because the file is not ordered by cell; if your zone page has to be fast, a
CLUSTER or a partition per cell makes sense, but it is an optimization I did not measure here.
Neighbours: grid_disk versus ST_DWithin
The second function you care about is "the listings around this one". With H3 you ask for grid_disk(cell, k), which
returns the cell and all those at grid distance up to k, and you look for the listings with a join
on the h3_9 column. The listing picks 300 listings as starting points and, for each one and for k from 1 to 3, computes the
cell disk and the radius of the circle that has the same area, summing the real area of each cell and not the mean. With the mean area, at Lecce the disk would have a surface
about 12% larger than the circle, for the reason seen above, and the comparison would measure that error instead of the edge.
import csv, math, random, h3
rng = random.Random(7)
ids = set(rng.sample(range(1, 50_001), 300)) # 300 listings chosen as "starting points"
with open("annunci.csv") as f:
annunci = {int(r[0]): r for r in csv.reader(f) if int(r[0]) in ids}
with open("centri.csv", "w", newline="") as fc, open("dischi.csv", "w", newline="") as fd, open("raggi.csv", "w", newline="") as fr:
wc, wd, wr = csv.writer(fc), csv.writer(fd), csv.writer(fr)
tot = {1: [], 2: [], 3: []}
for i, r in sorted(annunci.items()):
wc.writerow((i, r[1], r[2], r[5]))
for k in (1, 2, 3):
celle = h3.grid_disk(r[5], k)
for cella in celle:
wd.writerow((k, i, cella))
# radius of the circle with the same area AS THE DISK, summing the real area of each cell (not the mean)
area = sum(h3.cell_area(c, unit="m^2") for c in celle)
wr.writerow((k, i, round(math.sqrt(area / math.pi), 2)))
tot[k].append((len(celle), area))
for k, v in tot.items():
print(f"k={k}: cells per disk {min(n for n, _ in v)}-{max(n for n, _ in v)}, mean disk area {sum(a for _, a in v) / len(v):,.0f} m2, mean equivalent radius {math.sqrt(sum(a for _, a in v) / len(v) / math.pi):,.0f} m")
# Output:
# k=1: cells per disk 7-7, mean disk area 824,778 m2, mean equivalent radius 512 m
# k=2: cells per disk 19-19, mean disk area 2,238,683 m2, mean equivalent radius 844 m
# k=3: cells per disk 37-37, mean disk area 4,359,541 m2, mean equivalent radius 1,178 m
The mean equivalent radii are 512, 844 and 1,178 m, for 7, 19 and 37 cells. Now the part that matters: the SQL compares, for each point,
the set of the disk with the set of the results of ST_DWithin on the equivalent circle, which is the correctness
reference.
SET client_min_messages = warning;
DROP TABLE IF EXISTS centro; DROP TABLE IF EXISTS disco; DROP TABLE IF EXISTS raggio;
CREATE TABLE centro (id int PRIMARY KEY, lon float8, lat float8, h3_9 text);
CREATE TABLE disco (k int, centro_id int, cella text);
CREATE TABLE raggio (k int, centro_id int, metri float8, PRIMARY KEY (k, centro_id));
\copy centro FROM 'centri.csv' WITH (FORMAT csv)
\copy disco FROM 'dischi.csv' WITH (FORMAT csv)
\copy raggio FROM 'raggi.csv' WITH (FORMAT csv)
-- For each starting point and each k: the listings in the H3 cell disk versus the listings within the circle of equal area.
CREATE TEMP TABLE confronto AS
WITH nel_disco AS (
SELECT d.k, d.centro_id, a.id FROM disco d JOIN annuncio a ON a.h3_9 = d.cella
), nel_cerchio AS (
SELECT r.k, c.id AS centro_id, a.id
FROM centro c JOIN raggio r ON r.centro_id = c.id
JOIN annuncio a ON ST_DWithin(a.posizione, ST_SetSRID(ST_MakePoint(c.lon, c.lat), 4326)::geography, r.metri)
)
SELECT coalesce(d.k, c.k) AS k, coalesce(d.centro_id, c.centro_id) AS centro_id, coalesce(d.id, c.id) AS id,
d.id IS NOT NULL AS in_disco, c.id IS NOT NULL AS in_cerchio
FROM nel_disco d FULL JOIN nel_cerchio c ON (d.k, d.centro_id, d.id) = (c.k, c.centro_id, c.id);
SELECT k,
sum((in_disco)::int) AS in_disk,
sum((in_cerchio)::int) AS in_circle,
sum((in_disco AND in_cerchio)::int) AS in_both,
sum((in_disco AND NOT in_cerchio)::int) AS disk_only,
sum((in_cerchio AND NOT in_disco)::int) AS circle_only,
round(100.0 * sum((in_disco AND in_cerchio)::int) / count(*), 1) AS intersection_over_union_pct
FROM confronto GROUP BY k ORDER BY k;
-- Output:
-- k | in_disk | in_circle | in_both | disk_only | circle_only | intersection_over_union_pct
-- ---+---------+-----------+---------+-----------+-------------+-----------------------------
-- 1 | 96304 | 96265 | 79421 | 16883 | 16844 | 70.2
-- 2 | 258271 | 258313 | 230050 | 28221 | 28263 | 80.3
-- 3 | 496202 | 495303 | 455444 | 40758 | 39859 | 85.0
-- (3 rows)
The totals are practically equal (96,304 in the disk against 96,265 in the circle at k=1), as they must be with equal areas, but the sets do not coincide: the intersection over the union is 70.2% at k=1, 80.3% at k=2 and 85.0% at k=3. On average, for each starting point, at k=1 the disk has about 56 listings that the circle does not have, and the circle has about 56 that the disk does not have. The reasons are two: the hexagon is not a circle, and its vertices reach further than its sides; and the disk is centred on the centre of the cell, not on the point where the listing is, so the whole disk is shifted from the true point. The larger k is, the less the edge weighs compared with the interior, which is why the overlap grows.
The practical consequence is a design rule. For "similar listings nearby", where a difference on the edges of that order (56 out of 321 at k=1)
is acceptable, cells are enough and cheaper. For "within 500 metres" written as a promise to the user, or for a
distance calculation that ends up in a document, use ST_DWithin. The middle way is to use the cell as a coarse
filter and the exact distance as the final filter, but remember that the disk does not cover the whole circle: if you do not want to lose any
result take a k larger than necessary.
How many listings a cell needs before it says anything
A cell with two listings has a median, but it has no meaning. The listing groups the listings by cell at resolution 9, computes the median of each and compares it with the value that the made-up rule assigns to the centre of the cell; then it reports the relative error by size band.
import csv, math, statistics as st, h3
from collections import defaultdict
LAT0, LON0 = 40.3515, 18.1720
def km_dal_centro(lat, lon):
return math.hypot((lat - LAT0) * 111.2, (lon - LON0) * 111.2 * math.cos(math.radians(LAT0)))
def prezzo_vero(d_km): # the same made-up rule as in the article
return 900 + 2200 * math.exp(-d_km / 3)
per_cella = defaultdict(list)
with open("annunci.csv") as f:
for r in csv.reader(f):
per_cella[r[5]].append(int(r[3]))
fasce = [("1-4", 1, 4), ("5-19", 5, 19), ("20-49", 20, 49), ("50+", 50, 10**9)]
print("listings per cell cells share of listings median relative error error at 90th percentile")
for nome, lo, hi in fasce:
errori, annunci = [], 0
for cella, prezzi in per_cella.items():
if lo <= len(prezzi) <= hi:
lat, lon = h3.cell_to_latlng(cella)
errori.append(abs(st.median(prezzi) / prezzo_vero(km_dal_centro(lat, lon)) - 1))
annunci += len(prezzi)
errori.sort()
print(f"{nome:>17} {len(errori):>6} {100 * annunci / 50_000:>16.1f}% {100 * st.median(errori):>21.1f}% {100 * errori[int(0.9 * (len(errori) - 1))]:>23.1f}%")
# Output:
# listings per cell cells share of listings median relative error error at 90th percentile
# 1-4 28 0.1% 7.4% 14.3%
# 5-19 75 2.1% 4.0% 7.7%
# 20-49 826 57.4% 2.2% 5.2%
# 50+ 336 40.4% 1.7% 4.3%
The median relative error falls from 7.4% with 1-4 listings to 4.0% with 5-19, to 2.2% with 20-49 and to 1.7% from 50 up; at the 90th percentile it goes from 14.3% to 4.3%. The 28 cells with fewer than five listings contain 0.1% of the listings: showing them on the map adds very noisy blotches for a coverage gain of almost nothing. The limit of 5 that I use to hide cells is an editorial choice that this table justifies as noise, not a regulatory threshold; whether a listing in an almost empty cell identifies a person's property is another problem, which the article on privacy and compliance covers, and to which the threshold gives partial protection, not a guarantee. The results hold for this rule and this noise: your real data will have a different distribution.
This also explains the choice of resolution. At resolution 9 the median cell has 38 listings out of 50,000: fine for a city with dense listings, but in a town with 500 listings the whole map would sit below the threshold. The rule I draw from it is to start from the finest resolution at which the median cell exceeds about twenty listings, and move to a coarser one where the data is sparse. A price per zone derived from thin cells, which then enters as a variable in a valuation model like the one in article 2, carries the risk of indirectly replacing a protected characteristic, and this too is covered in the compliance article.
The twelve pentagons
A sphere cannot be covered with hexagons alone: the H3 documentation explains that at every resolution there are exactly 12 pentagons, one for each vertex of the icosahedron on which the grid is built. Whoever uses cells as "seven cells, the centre and six neighbours" writes code that is wrong at those twelve points.
import h3
LECCE = (40.3515, 18.1720)
for r in (0, 9):
p = h3.get_pentagons(r)
print(f"res {r}: {len(p)} pentagons, all is_pentagon = {all(h3.is_pentagon(c) for c in p)}")
pentagoni = h3.get_pentagons(9)
piu_vicino = min(pentagoni, key=lambda c: h3.great_circle_distance(LECCE, h3.cell_to_latlng(c), unit="km"))
lat, lon = h3.cell_to_latlng(piu_vicino)
print(f"the res 9 pentagon closest to Lecce: {piu_vicino} at ({lat:.2f}, {lon:.2f}), {h3.great_circle_distance(LECCE, (lat, lon), unit='km'):,.0f} km away")
esagono = h3.latlng_to_cell(*LECCE, 9)
for k in (1, 2, 3):
print(f"k={k}: cells in grid_disk of a hexagon {len(h3.grid_disk(esagono, k)):>2}, of a pentagon {len(h3.grid_disk(piu_vicino, k)):>2}")
# Output:
# res 0: 12 pentagons, all is_pentagon = True
# res 9: 12 pentagons, all is_pentagon = True
# the res 9 pentagon closest to Lecce: 89080000003ffff at (64.70, 10.54), 2,752 km away
# k=1: cells in grid_disk of a hexagon 7, of a pentagon 6
# k=2: cells in grid_disk of a hexagon 19, of a pentagon 16
# k=3: cells in grid_disk of a hexagon 37, of a pentagon 31
The listing checks with is_pentagon that there are 12 of them both at resolution 0 and at 9, and shows the consequence: a
grid_disk with k=1 on a pentagon returns 6 cells and not 7; with k=2 there are 16 instead of 19, with k=3 there are 31 instead of
37. For Lecce the risk is theoretical: the nearest pentagon, at resolution 9, is about 2,750 km away. The documentation says that
the orientation of the grid puts all 12 vertices in the ocean, so a real estate platform will almost never run into one, but a
function that always assumes 7 cells is still a defect to fix with a length check, not with hope.
When cells and when PostGIS
The two techniques are not alternatives, they answer different questions. The decision table I draw from the experiment:
- Heat map, price per zone, counts: H3 cells, because the
GROUP BYon the key is simple and the index is a B-tree. - "Similar nearby", where a few tens of results more or fewer on the edges are tolerable:
grid_disk, with the table of limits above. - Exact distances, neighbourhood polygons, administrative boundaries: PostGIS with
ST_DWithinandST_Covers. - A precise position that ends up in a result shown to the user: always the real point, never the centre of the cell.
The order of the items does not matter; what matters is the criterion that holds them together, which is whether the error of an edge is tolerable for that function. Where an error of a few tens of listings on the edges has no consequences, cells simplify the query a lot. Where the user reads a precise promise ("within 500 metres"), the approximation becomes a wrong statement. To search by text, and not by position, see article 11.
Where this fits in the series
Article 8 is the correctness reference used here. The median per zone is the same computation as the market pipeline, with the zone as the key instead of time. The next article, on vector tiles, serves the map and for the low-zoom levels aggregates with a square grid; H3 cells are the alternative when the zone has to stay the same from one tile to the next.
Previous in the series: 11. Real Estate Listing Search: Full-Text with PostgreSQL. Next in the series: 13. The Listing Map: Vector Tiles with PostGIS.
What you can do now
You can choose the H3 resolution by looking at the cell's population and not at its beauty, compute the median price per
zone with a GROUP BY on an indexed column, and tell a colleague how many results change if they replace a
ST_DWithin with a grid_disk: from 15 to 30% in this test, depending on k. You know that the mean area of a
cell is not the area of your cell, that below a certain population the median is noise, and that at every resolution there are 12
pentagons where the disk has fewer cells.
Sources
- H3, Overview of the H3 Geospatial Indexing System - icosahedral structure, 12 pentagons per resolution, orientation with the vertices in the ocean, consulted on 2026-11-12
- H3, Tables of cell stats - number of cells and mean area per resolution, compared with the library's output, consulted on 2026-11-12
- H3, H3 Index - the 64-bit index and its hexadecimal representation, consulted on 2026-11-12
- h3-py, API quick reference - grid_disk, is_pentagon, cell_area, cell_to_latlng, consulted on 2026-11-12
- PostGIS, ST_DWithin - the reference function for search within a distance, consulted on 2026-11-12
- PostgreSQL 17, Aggregate Functions - percentile_cont as an ordered-set aggregate, consulted on 2026-11-12
The seven listings were run on 2026-11-12 with Python 3.14, h3 4.5.0, PostgreSQL 17.10 and PostGIS 3.5 on a temporary cluster, with the comments and labels in English (the output shown is the one from that run). The listings and the price rule are synthetic, with a fixed seed: the percentages describe that rule and not the Lecce market. H3 inside PostgreSQL (the h3-pg extension) was not run.
Commenti
Caricamento commenti...
Sign in to comment