Skip to content

Update/establish best practices for OCD-ID types across countries #170

Description

@jdmgoogle

This issue spun out of the discussion on PR #168.

Background links:
Creating new OCD-IDs
Division identifiers

The current OCD-ID documentation establishes one canonical identifier type -- country -- but otherwise gives latitude to within-country maintainers to define and enforce types appropriate for their jurisdiction. E.g., the first-level administrative type in the U.S. is a state, in Portugal it is a district, and in Germany it is a land.

The current situation gives a lot of flexibility and discretion to these within-country maintainer, but can place a significant burden on consumers of the identifiers to figure out what common types are across countries; e.g., is a district a first-level administrative division, or a sub-city legislative division?

Previous ad-hoc attempts to address this problem (e.g., PR #148) created identifiers which used the in-country types as aliases of identifiers that were more American in origin. E.g.,

Canonical: ocd-division/country:de/state:bb
Alias: ocd-division/country:de/land:bb

This was an attempt to balance the needs of publishers (using in-country types and terminology) and consumers (using types they had already seen). The discussion in PR #168 came to the conclusion that this was not desirable, or at least should go through a more thorough review before being implemented at scale. The options discussed were:

  1. Codify the ad-hoc approach.
  2. Reverse the current ad-hoc approach, in that the alias should be from the local term to the across-country term.
  3. Follow the practices of projects like GeoNames, etc., which use country-agnostic terms like adm1, adm2, etc, and not use the US-centric terms state and cd for a global specification.
  4. Add a new file to the spec, e.g. country-de-types.csv, with the columns local-type and standard-type, with rows like land,adm1 and wahlkreis,constituency.

Discuss. :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions