Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added Bwari as city
  • Loading branch information
Towbee05 committed Oct 19, 2025
commit 1524cf8c774534f5749ca530a2bbd89a63cf5dd8
11 changes: 11 additions & 0 deletions contributions/cities/NG.json
Original file line number Diff line number Diff line change
Expand Up @@ -17188,5 +17188,16 @@
"longitude": "5.328547174323522",
"timezone": "Africa/Lagos",
"wikiDataId": "Q7116252"
},
{
"name": "Bwari",
"state_id": 293,
"state_code": "FC",
"country_id": 161,
"country_code": "NG",
"latitude": "9.282563347732246",
"longitude": "7.379450945728134",
Comment on lines +17210 to +17211
Copy link

Copilot AI Nov 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Coordinate precision is inconsistent with existing entries. Most cities in this file use 8 decimal places (e.g., "5.10658000"), but this entry uses 15 decimal places ("9.282563347732246").

For consistency and practical purposes, coordinates should be formatted to 8 decimal places:

  • "latitude": "9.28256335"
  • "longitude": "7.37945095"

Note: 8 decimal places provides precision to ~1mm, which is more than sufficient for city-level location data.

Suggested change
"latitude": "9.282563347732246",
"longitude": "7.379450945728134",
"latitude": "9.28256335",
"longitude": "7.37945095",

Copilot uses AI. Check for mistakes.
"timezone": "Africa/Lagos",
"wikiDataId": "Q5003670"
}
Comment on lines +17204 to 17214
Copy link

Copilot AI Nov 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing recommended native field. While this field is optional, it's highly recommended for data completeness and is present in most other entries in this file.

For Bwari (a Nigerian city), the native name is likely "Bwari" itself, but this should be verified and explicitly set.

Copilot generated this review using guidance from repository custom instructions.
Comment on lines +17204 to 17214
Copy link

Copilot AI Nov 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing required translations field. According to the project guidelines, translations are MANDATORY for data quality.

Use the automatic enrichment tool to add translations:

python3 bin/scripts/validation/translation_enricher.py \
    --file contributions/cities/NG.json \
    --type city \
    --entity "Bwari"

This tool fetches authentic translations from Wikipedia in 18+ languages (ar, de, es, fr, hi, it, ja, ko, pt, ru, zh, etc.) for free.

Copilot generated this review using guidance from repository custom instructions.
]