topojson icon indicating copy to clipboard operation
topojson copied to clipboard

Adding/removing features to an existing Topology

Open akatkov7 opened this issue 4 months ago • 1 comments

Hi, thanks for the library! It's very helpful for reducing the size of GeoJSONs.

I was curious if there was a way for me to add/remove features from an existing Topology.

In my use case, I am converting a few hundred GeoJSON features to a Topology every X minutes per my cron job cadence. The number of features varies and when the number gets higher, the process gets a lot slower.

However, a large percent of these features would be the same from run to run.

So I was curious if it would be feasible to add a way to add or remove features to an existing Topology (which i could cache between runs) and it would be less compute intensive than recomputing with all of the features.

akatkov7 avatar Oct 10 '24 23:10 akatkov7