OvertureMaps / OvertureMaps/data

[division] Incorrect Locality Generation for OSM admin_level=8 Relations in Spain Due to Misinterpretation of admin_centre

Open
#477 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

divisions
Dominant language
Python
Stars
1.2k
Forks
47
Avg merge
3h 42m
Merged PRs (30d)
1

Description

Discussed in https://github.com/orgs/OvertureMaps/discussions/258

Originally posted by forwalk-org December 5, 2024

Category Feedback

In Spain, during the import of OpenStreetMap relations with admin_level=8, the admin_centre tag does not always ensure an association with a locality that shares the same name as the relation. Sometimes, the name is inherited from an underlying locality, but the admin_centre may be located in a different place.

For example, the relation 342629, representing the municipality of Ames, generates a locality in the division theme with the following details:

GERS ID: 085e2356bfffffff0165c94c2094b49e
Name: 'Ames'
Subtype: 'locality'
Local type: 'town'
However, this place does not actually exist as a town with that name.

Potential fix:
Set local_type to 'municipality' or set subtype='localadmin'

Dependency with other categories, if any.

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.