Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to NE for country labels #2083

Open
nvkelso opened this issue May 17, 2022 · 0 comments
Open

Switch to NE for country labels #2083

nvkelso opened this issue May 17, 2022 · 0 comments

Comments

@nvkelso
Copy link
Member

nvkelso commented May 17, 2022

The NE tables for country ISO and country TLC contain all the information needed to add "country" labels to the map, without a SPAM and abuse vector from OSM.

To switch we'd need to form label geometries from the label_x and label_y columns, and to wire up FCLASS POV (replacing place:XX).

We'd also need to setup remapping of the FCLASS_ISO, FCLASS_TLC, and other FCLASS_* values to valid Tilezen kinds.

See also:

Values:

  • Admin-0 country (eg United States)
    • kind = country
    • kind_detail = country
  • Admin-0 dependency (eg Puerto Rico)
    • kind = country
    • kind_detail = dependency
  • Admin-1 region (eg England in United Kingdom)
    • kind = unrecognized
    • kind_detail = macroregion
  • Admin-1 states provinces (eg Martinique in France or Alaska in USA)
    • kind = unrecognized
    • kind_detail = region
  • Admin-0 lease (eg Baykonur leased to Russia)
    • kind = unrecognized
    • kind_detail = lease
  • Admin-0 breakaway and disputed (eg Golan Heights)
    • kind = unrecognized
    • kind_detail = breakaway_disputed
  • Admin-0 claim area (eg Crimea)
    • kind = unrecognized
    • kind_detail = claim_area
  • Admin-0 indeterminant (eg Spratly Islands)
    • kind = unrecognized
    • kind_detail = indeterminant
  • Island group (eg Midway Islands part of US Minor Outlying Islands dependency)
    • kind = unrecognized
    • kind_detail = island_group
  • Island (eg Antigua a component of Antigua and Barbuda country)
    • kind = unrecognized
    • kind_detail = island

Originally posted by @nvkelso in #2069 (review)

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

No branches or pull requests

1 participant