GithubHelp home page GithubHelp logo

Comments (4)

da115115 avatar da115115 commented on June 25, 2024

That issue also impacts:

  • 268, Puerto Rico, to be mapped onto 3, PR, US
  • 283, U.S. Virgin Islands, to be mapped onto 4, VI, US
  • 506, Canary Island, to be mapped onto 482, ES
  • 540, Madeira Islands, to be mapped onto 469, PT
  • 800, American Samoa, to be mapped onto 5, TT, US
  • 826, Guam, to be mapped onto 5, TT, US
  • 841, Northern Mariana Islands, to be mapped onto 5, TT, US
  • 853, Norfolk Island, to be mapped onto 802, AU

from opentraveldata.

da115115 avatar da115115 commented on June 25, 2024

Issues related to Spain, Portugal, Puerto Rico, Virgin Islands, Norfolk Island have been fixed. There remains issues with:

  • 800, American Samoa, to be mapped onto 5, TT, US
  • 826, Guam, to be mapped onto 5, TT, US
  • 841, Northern Mariana Islands, to be mapped onto 5, TT, US
    Indeed, those account as a state within the USA, not as a country. There is therefore no easy way to tell Geonames how to map into that (as setting TT as an alternate name would map those POR onto Trinidad and Tobago, which is the country corresponding to the TT code).

The mapping algorithm is in the make_optd_por_public.awk file, line 289.

from opentraveldata.

da115115 avatar da115115 commented on June 25, 2024

As a reference, that URL tracks all the changes (most are fixes, some others are regressions).
From the command line, it can be achieved through:
git diff fa0d89e..6666aca opentraveldata/optd_por_public.csv

from opentraveldata.

da115115 avatar da115115 commented on June 25, 2024

A potential way is to map, within the algorithm, the Geonames country codes to WAC 5, TT, USA.

from opentraveldata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.