3 ms·
One obvious optimization that would half the size of the data and also solve the gaps problem is to keep every border between two states once and not twice (for
by shooshx 1y ago
One obvious optimization that would half the size of the data and also solve the gaps problem is to keep every border between two states once and not twice (for each polygon).
This would require some processing of the geometry to find the intersection points, but assuming that in the original data, the border between two states is the same exact line, it shouldn't be hard.
- m2fkxy 1y agohttps://github.com/topojson/topojson https://github.com/topojson/topojson