doing a merge/mesh on two or more topojson features

145 views Asked by At

I have a few sets of map data (sometimes many depending on the situation). For this example, each topojson feature object has an ID. I would like to be able to take a few features and create new ones where they overlap with an ID of the sum of the overlapping features.

For example, if I have 3 features (from 3 separate topojson files) and there are overlapping features with IDs 3, 4, 2 I would like to create a new feature where they overlap with an ID of 9. Any ideas on how to do this? Is this something that can be done directly with topojson?

0

There are 0 answers