Giter VIP home page Giter VIP logo

Comments (6)

bhousel avatar bhousel commented on July 20, 2024

Maybe? Iโ€™m not sure how a language-per-region dataset would be useful in the context of OpenStreetMap editing?

Looping in @1ec5 too, as he knows more about this than I do.

from country-coder.

missinglink avatar missinglink commented on July 20, 2024

I think that's a fair point, I'm not actually planning on using the library for Rapid (or OSM in many cases), but I find the simplified polygons quite useful and would prefer to collaborate on them rather than have another repo to maintain.

There are some other fields in that geonames download which might be helpful for some, but not for everyone.
If that's the case I could put these extra fields in separate files and have tree shaking remove what's not used.

from country-coder.

bhousel avatar bhousel commented on July 20, 2024

Thanks! Sorry I commented kind of quickly before.. We can definitely add data even if it isn't used in Rapid or OSM - I'm more asking for clarification because it's probably not data that I would use myself.

"Spoken/official" languages was mentioned in #4 (comment) too.

from country-coder.

missinglink avatar missinglink commented on July 20, 2024

Here's the list BTW
https://gist.github.com/missinglink/ebe8ba69e58dbdfb47750f6079364ecc

from country-coder.

missinglink avatar missinglink commented on July 20, 2024

Minh has a point about maybe needing more granular shapes in some areas, eg. Switzerland.

Screenshot 2023-09-06 at 15 09 45

from country-coder.

1ec5 avatar 1ec5 commented on July 20, 2024

I think any addition of language codes would need to come with a caveat emptor. Every use case requires a different mapping from countries to languages. Official languages donโ€™t necessarily say anything about the name language in OSM, or the language that users in that country are searching in. iD maintains a mapping for determining the name:* fields to show by default, which started from CLDR but required some tweaks afterwards based on user feedback. This is a pretty limited use of the data, since users can easily customize the language list.

from country-coder.

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.