[Places][2026-07-22.0] addresses[].region is null on 92.3% of Türkiye records and inconsistent on the rest
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start with the supplied DuckDB queries against the 2026-07-22.0 places parquet release and inspect how addresses[1].region is produced. Compare the existing values with the division_area region records and determine whether normalization or coordinate-derived assignment belongs in the source pipeline. Done means Türkiye region values are consistently emitted as TR-xx, including records currently missing them, with the reported query results providing validation.
Written by the indexing model from the issue text.
Description
Summary
For places in Türkiye, addresses[1].region cannot be used to answer "which province is this place in". It is null on 92.3% of records, and where present it mixes plate codes, province names in several casings, the country name and a handful of ISO codes. We ended up assigning province by point-in-polygon against division_area instead, which works, but most consumers will reach for the address field first.
Release and scope
- Release:
2026-07-22.0, themeplaces, typeplace - Filter: bounding box
xmin 25.5..45.0,ymin 35.7..42.3andaddresses[1].country = 'TR' - Records: 1,786,685
Numbers
| Measure | Count | Share |
|---|---|---|
addresses[1].region IS NULL |
1,649,580 | 92.3% |
region in ISO 3166-2 form (TR-xx) |
31 | 0.002% |
region present, any form |
137,105 | 7.7% |
The 25 most frequent non-null values, which show the mix of conventions:
('07', 12244) plate code, Antalya
('06', 11307) plate code, Ankara
('İstanbul', 10649)
('16', 8462) plate code, Bursa
('42', 5476) plate code, Konya
('01', 4558)
('41', 4299)
('09', 4251)
('Ankara', 4129)
('Türkiye', 3852) the country, not a region
('İzmir', 3665)
('20', 3110)
('İSTANBUL', 2822)
('Istanbul', 2657)
('Bursa', 2362)
('Antalya', 2352)
('34', 2142) plate code, İstanbul
('Konya', 1490)
('Muğla', 1214)
('Kocaeli', 1207)
('İZMİR', 917)
('ANKARA', 910)
('Adana', 910)
('Mersin', 880)
('Gaziantep', 758)
So İstanbul alone appears as İstanbul, İSTANBUL, Istanbul and 34, and Antalya as Antalya and 07.
Reproduce
INSTALL httpfs; LOAD httpfs; SET s3_region='us-west-2';
SELECT
count(*) AS total,
count(*) FILTER (WHERE addresses[1].region IS NULL) AS region_null,
count(*) FILTER (WHERE addresses[1].region LIKE 'TR-%') AS region_iso
FROM read_parquet('s3://overturemaps-us-west-2/release/2026-07-22.0/theme=places/type=place/*', hive_partitioning=1)
WHERE bbox.xmin BETWEEN 25.5 AND 45.0 AND bbox.ymin BETWEEN 35.7 AND 42.3
AND addresses[1].country = 'TR';
SELECT addresses[1].region AS region, count(*) c
FROM read_parquet('s3://overturemaps-us-west-2/release/2026-07-22.0/theme=places/type=place/*', hive_partitioning=1)
WHERE bbox.xmin BETWEEN 25.5 AND 45.0 AND bbox.ymin BETWEEN 35.7 AND 42.3
AND addresses[1].country = 'TR' AND addresses[1].region IS NOT NULL
GROUP BY 1 ORDER BY c DESC LIMIT 25;
What would help
The schema documents region as the ISO 3166-2 subdivision code, which for Türkiye maps 1:1 to the two-digit plate code (TR-34 = İstanbul = plate 34). Normalising the values that are already there (plate code or province name in any casing) to TR-xx would recover a usable field for the 7.7%, and if the source pipeline can derive it from coordinates the way consumers have to today, the 92.3% too.
Workaround we use, in case it helps others: division_area with subtype = 'region', country = 'TR' and class = 'land' gives exactly the 81 provinces; a per-province ST_Within loop over a locally materialised extract assigns every record. Notes on that, including why the join has to be done locally rather than against S3, are written up here: https://pinlyx.com/research/turkey-business-digital-report
Related: a second, separate observation about listed versus reachable websites values will follow as its own issue.
- Dominant language
- HTML
- Stars
- 1.2k
- Forks
- 48
- Avg merge
- 2h 58m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OvertureMaps/data
-
Несуществующий домOpenbug external
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OvertureMaps/data#611 ·
-
data issue external
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OvertureMaps/data#606 ·
-
data issue external
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OvertureMaps/data#609 ·
-
bug data issue external
Difficulty 1/5 Under an hour Newbie friendliness 76/100
OvertureMaps/data#604 ·
-
data issue external
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
OvertureMaps/data#602 ·
All issues in OvertureMaps/data
Similar issues
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
emeryberger/CSrankings#15792 ·
Maintainers usually reply within 11 days
-
memmapped_arange ignores the start value and drops the last point above the memmap thresholdPossibly taken @prathameshfuke claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
StingraySoftware/HENDRICS#213 ·
-
Lightcurve slicing raises IndexError when the slice bounds are outside the light curvePossibly taken @prathameshfuke claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
StingraySoftware/stingray#1054 ·
Maintainers usually reply within 2 days
-
country:US rating:6 request-theme type:TV SHOW
Difficulty 1/5 Under an hour Newbie friendliness 65/100
LizardByte/ThemerrDB#10501 · 1 comment ·