stamen / open-redistricting

A collaborative, open legislative redistricting tool, built atop GitHub.
http://openredist.org/
BSD 2-Clause "Simplified" License
25 stars 2 forks source link

Don't union out boundaries between features #30

Open ericsoco opened 8 years ago

ericsoco commented 8 years ago

Difference between:

screen shot 2016-09-16 at 4 07 02 pm

and:

screen shot 2016-09-16 at 4 07 44 pm

ericsoco commented 8 years ago

See: https://github.com/stamen/usopendata/commit/95dad9772aa8a09efef3be596d3d33149c0f9ae0

ericsoco commented 7 years ago

The way GitHub's geojson-diff handles this is to first iterate over all features and check for matches, then diff only those that don't match.

Then, any new features (by index) appear as adds, and any absent features appear as deletes.