Uh oh!
There was an error while loading. Please reload this page.
Miscellaneous geo fixes - #3856
Conversation
This is important as the Natural Earth files nclude state/provinces from USA, Canada, Australia and Brazil which have some overlay in their two-letter ids. For example, 'WA' is used for both Washington state and Western Australia. As subunits from USA and Canada never conflict, filtering out features south of the equator suffices to fix#3779 A better fix would have us add a "governing unit" properties in subunit features in the `sane-topojson` package to avoid conflicts.
Uh oh!
There was an error while loading. Please reload this page.
archmoj
commented
May 13, 2019
@etpinard Thanks for the fixes. |
etpinard
commented
May 13, 2019
Thanks for the review @archmoj I'll leave this PR open for now. I'll try to finish up etpinard/sane-topojson#12 and make the fix in 68bd47b less hacky before 1.48.0 is ready. |
... to improve fix for #3779
etpinard
commented
May 17, 2019
@archmoj I found time to ✅ etpinard/sane-topojson#12 This PR is |
archmoj
commented
May 22, 2019
@etpinard It would nice if sane-topojson could generate |
It could be nice. Feel free to open a new https://github.com/etpinard/sane-topojson/issues But comparing MB-large json files isn't my thing, I think comparing diffs like in etpinard/sane-topojson@8624ec4 is much more valuable. |
archmoj
commented
May 22, 2019
Looking good. |


Three geo fixes.
The fix in 68bd47b is the most interesting where I spent most of the last two days trying to bring back my
sane-topojsonpackage back to life (a few things have changed in the Natural Earth dataset and thetopojsonutility since 2016 😝 ). I settled for a hacky but simple patch for now ... and untilsane-topojsonis back on solid grounds (cc etpinard/sane-topojson#12)@plotly/plotly_js reviewing this PR commit-by-commit should be straight-forward enough, but please let me know if you'd like a few codepen examples.