Comments (6)
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.
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.
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.
Here's the list BTW
https://gist.github.com/missinglink/ebe8ba69e58dbdfb47750f6079364ecc
from country-coder.
Minh has a point about maybe needing more granular shapes in some areas, eg. Switzerland.
![Screenshot 2023-09-06 at 15 09 45](https://private-user-images.githubusercontent.com/738069/266017490-cd17ada8-1e97-42bd-ba05-b994f20b1032.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDQ0MTU3MTksIm5iZiI6MTcwNDQxNTQxOSwicGF0aCI6Ii83MzgwNjkvMjY2MDE3NDkwLWNkMTdhZGE4LTFlOTctNDJiZC1iYTA1LWI5OTRmMjBiMTAzMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMTA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDEwNVQwMDQzMzlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lOGYxNjI5OWMxOTIxYTA3YmFhYTYyYzg1Zjc3ZWVhMGNlNDhlMDQyZmMzMjE1M2UxYmI4ZDI1ZTUwOTZhZmZlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.DgtM12molQ48Jf2HNZKPvdQMI-FabAf3_H5rTGI1XO0)
from country-coder.
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)
- Reduce package/bundle size - dynamically import borders.json HOT 1
- FeedBack - Code HOT 1
- Northen Cyprus' ISO code HOT 2
- ISO 3166 of countries with Sovereign states HOT 1
- TW polygon missing Lienchiang County and parts of Kinmen County (Wuqiu) HOT 1
- Get rid of prettier
- Types not added in package.json exports HOT 1
- Chukchi Peninsula shows as being in Europe instead of Asia
- Support bbox query? HOT 2
- [wrong repo]
- Sub-regions, repeated data and .geojson hosting HOT 1
- United Kingdom HOT 12
- We might be using "exports" wrong HOT 2
- ESM export broken in react-native 0.64.2 (non-expo) HOT 4
- File extension pattern matching in React Native 0.62.4 for mjs cjs main and module files HOT 4
- France: EU + Europe missing ? HOT 3
- Fully ESM compatible ?
- Don't use for..in to iterate over arrays
- Missing triangle on Swiss border HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from country-coder.