Created
August 21, 2019 01:12
-
-
Save dschep/92bc5f308b8506a774ecc9482795ccdf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const turf = require('@turf/turf'); | |
const data = require('./data.json'); | |
console.log(turf.intersect(data.features[0], data.features[1])) |
Can replicate starting with version 5.04
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@AkshayGore this is the full code to reproduce the error. You'll see the
console.log
printsnull
rather than the overlapping area.