-
Notifications
You must be signed in to change notification settings - Fork 885
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
Country coder supports GB-SCT so use that directly #4256
Conversation
I've just seen you asked for this in rapideditor/country-coder#26 🤦 Do we want the other stuff to switch across too? |
Blocked by rapideditor/country-coder#29 and it not being released yet. Although nothing actually seems to be using Scotland that I can see... |
Yeah I was going to say - I don't think country-coder actually supports this level of detail. When we need sub-country detail, I've been just drawing a custom geojson and dumping them into the We do have a few of these in |
Erm England is a country:
I assume you mean where they currently operate, couldn't this be extracted from OSM and then verified, rather than people having to/trying to draw custom geojson, assuming you want a particular corridor it runs in or something? Although it may not have its own ISO code at all levels.
I'd have thought, due to the risk of errors as below, having them in just one place would be better than having to roll our own. This is currently wrong as it includes the Isle of Man (I had to look it up). |
Are you onboard with this in principle generally @bhousel then I could delete the duplicate geojsons and potentially start fixing up the config pending the release of the new version? |
Yes 👍 Anything we can do to avoid shipping geojson, and just use whatever country-coder supports is a win.. |
Okay, I sort of assumed that if they support a particular thing we can guarantee it will appear eventually so we could at least delete our geojson, even if it's not worth the conflicts of editing the presets yet? |
I wouldn't merge something like that. The locationSets would be invalid in the interim, and links would stop working on http://nsi.guide |
Yeah I didn't expect you to, just preemptively starting the assessment of what's duplicated and then hopefully the checks would flag the broken location sets to fix up. |
They've released ( https://github.com/ideditor/country-coder/releases/tag/v4.0.0 ), although just looking at package.json here do we need to get this bumped too? https://github.com/ideditor/location-conflation |
These are unblocked now with location-conflation 0.6 and country-coder 4.0 🎉 |
They also handle US-HI etc, so all those states could be dropped too.