-
Notifications
You must be signed in to change notification settings - Fork 380
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
Update ISO codes for France and Norway #420
Conversation
@AJMASS @mfogel @nvkelso : core contributors of the project are no longer actually active, a common pattern on open source project after few years. Could you integrate more contributors as |
@nvkelso, thanks for a brilliant and useful project is there any chance you could look at this PR or if you find that you don't have time for this, involve more people as maintainers? I am using Natural Earth for my own non-commecial purpose and ran into this at a late development stage in a sense it is a comfort that the problem was with source data and not code but it's a simple thing to fix, right? Happy new year |
I had a look at the PR and it modifies the default Because Natural Earth has a more fidelity than ISO, and tracks countries that ISO doesn't, Natural Earth maintains it's own set of 3-character codes for each admin-0 related feature. The original intent was consumers of Natural Earth would maintain their own data code mappings between their "worldview" and this data. But most people use the ISO 2-char and 3-char shortcuts included in the data properties. The The place to do this is in the housekeeping OpenOffice file and then to use the Makefile targets to rebuild the SHP and GeoJSON files. I've been sprinting on v5 and have modified those file extensively in my branch, so I'll include this in my next commit and link it here for you to test. |
@J4bbi I welcome any help! I mostly tinker with Natural Earth when there's a major issue that needs to be fixed, or when I want to add a new feature (currently working on boundary POV worldviews). Generally Natural Earth is small enough scale it doesn't need a lot of maintenance, but it does creep up over time. I sometimes can work on it during work hours, but often it's during personal time and I also have a family (youngest son just turned 1 year old) so don't have endless time for it. One tricky thing for collaboration is there are several interlocking files in Natural Earth and it's not always obvious which file needs to be updated in the "src" versus modifying the output SHPs, and the various scale ranks (1:10m, 1:50m, and 1:110m), and the SHP are binary and don't show a good diff in PRs. In other projects (like Who's On First) I've moved to keeping the raw data as specially formatted GeoJSON instead, which solves the diff problem. I'd like to change NE to that practice, but some of the files in GeoJSON format are at the Github file size limits. Regarding the other pieces, I am working with a couple collaborators for v5 – you can see reported issues and a recent PR for populated places updates and we're documenting some of these workflow pieces in a GIST that will then get incorporated into a proper README. Hope the background helps, and again, if you're interested in helping please reach out! |
The following 2 commits (my branch not mainline) Add Preview GeoJSON:
Please let me know if that addresses your concerns. |
(I've also done the same with |
thanks for the update @nvkelso, this is great I have actually been matching NE with CIA World Factbook data and I mistook their coding for ISO2 (I now realise it's FIPS 10-4) Nonetheless, it's an improvement obviously. Your project Who's on First looks awesome. |
Closing in favor of #446. |
Fix incorrect ISO codes for France and Norway
Fixes for issues: #252 #284 #252