Turfjs / turf-intersect

find the intersection of features
30 stars 9 forks source link

intersect returning null (sometimes) when executing on the same feature #21

Open AviFix opened 5 years ago

AviFix commented 5 years ago

Hi

When trying to use intersect on the following feature(same feature in both params) it returns null const intersection = intersect(polygon, polygon);

I expected it to return the same feature since both features are identical.

The feature: feature.TXT

Please advise

victoriaunizhona commented 4 years ago

Try updating to the newer version. I changed mine to 6.2.0-alpha.2 and it started identifying correctly.