Bulk add uruguay cities#1497
Conversation
Weekly data-quality review (2026-05-04)Verdict: needs-discussion Checks
Discussion items22 records share exact coordinates with at least one other new record (20 pairs, 1 triple). These are a direct consequence of the polygon-centroid method described in the PR (multiple localities inside the same source polygon get the same centroid). Most look intentional; a few deserve a second look:
No blocker is raised — the methodology is sound and the data source (official government geodata) is Tier 1. Once the Zagarzazu duplicates and Cerro Chato tri-entry are confirmed, this is ready to merge. 🤖 Automated weekly review — Claude (sonnet-4-6). Generated by Claude Code |
|
I have reviewed the changes and i had uploaded an outdated version. But the latest version still included alternate names for the same locality as different records. I have now merged them into single records with the alternate names separated by a hyphen. ILLESCAS,FLORIDA VALENTINES,FLORIDA CERRO CHATO,DURAZNO MERINOS,PAYSANDU PIEDRA SOLA,PAYSANDU TAMBORES,PAYSANDU |
dr5hn
left a comment
There was a problem hiding this comment.
Reviewed +1,823 net new cities from catalogodatos.gub.uy. Validation on master:
- All 19 UY state codes resolve, no FK mismatches.
- All coordinates within Uruguay bbox (~lat -35..-30, lon -58..-53).
- Required fields complete on every new row.
- No
id/created_at/updated_at/flagon the additions. - No intra-PR duplicates.
- Methodology (match by exact state + close name + <2km coords, then subtract) is sound.
One minor convention note for a follow-up PR (not blocking): 633 of the new rows use Title Case for Spanish prepositions ("18 De Julio", "Cerros De La Calera", "Termas Del Dayman") whereas the existing 33 multi-word UY rows use lowercase ("25 de Agosto", "Colonia del Sacramento", "Punta del Este"). I'll push a small normalisation pass after merge so the convention stays consistent across the file.
Thanks for the careful sourcing — this is a great addition.
Description
Adds missing cities from Uruguay
Type of Change
Data Source
Source: https://catalogodatos.gub.uy/dataset/ide-localidades-del-uruguay
Date Verified: 29/04/2026
Affected Entities
Checklist
contributions/directoryid,created_at,updated_at, orflagfieldsRelated Issue
Closes #
Notes
To find the missing cities I matched the cities from this db with the government source by exact state, close name and close coordinates (<2km apart), then checked the matches manually to ensure it was correct. Then I substracted the matches from the government source and also did some cleaning to remove duplicate entries.
The government source has the cities polygons in EPSG 32721 format, to get the real world coordinates I calculated the center of each polygon and converted to real world coordinates