diff --git a/packages/turf-intersect/test/in/issue-resolution.geojson b/packages/turf-intersect/test/in/issue-resolution.geojson new file mode 100644 index 0000000000..3e417ca24f --- /dev/null +++ b/packages/turf-intersect/test/in/issue-resolution.geojson @@ -0,0 +1,399 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -114.757217, + 32.618318 + ], + [ + -114.757217, + 32.619977 + ], + [ + -114.757213, + 32.619977 + ], + [ + -114.757213, + 32.618318 + ], + [ + -114.757217, + 32.618318 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -114.755129, + 32.618401 + ], + [ + -114.755129, + 32.618401 + ], + [ + -114.755129, + 32.618402 + ], + [ + -114.75513, + 32.618402 + ], + [ + -114.75513, + 32.618401 + ], + [ + -114.755131, + 32.618395 + ], + [ + -114.755135, + 32.618385 + ], + [ + -114.755142, + 32.618374 + ], + [ + -114.75515, + 32.618363 + ], + [ + -114.75516, + 32.618353 + ], + [ + -114.755171, + 32.618345 + ], + [ + -114.755183, + 32.618339 + ], + [ + -114.755195, + 32.618334 + ], + [ + -114.755207, + 32.618332 + ], + [ + -114.755218, + 32.618331 + ], + [ + -114.755228, + 32.618331 + ], + [ + -114.75701, + 32.618318 + ], + [ + -114.757014, + 32.618319 + ], + [ + -114.757018, + 32.618321 + ], + [ + -114.757028, + 32.618325 + ], + [ + -114.757041, + 32.61833 + ], + [ + -114.757053, + 32.618337 + ], + [ + -114.757066, + 32.618344 + ], + [ + -114.757078, + 32.618352 + ], + [ + -114.757088, + 32.618362 + ], + [ + -114.757098, + 32.618371 + ], + [ + -114.757107, + 32.618382 + ], + [ + -114.757116, + 32.618393 + ], + [ + -114.757124, + 32.618404 + ], + [ + -114.757132, + 32.618414 + ], + [ + -114.757138, + 32.618426 + ], + [ + -114.757142, + 32.618438 + ], + [ + -114.757146, + 32.61845 + ], + [ + -114.757151, + 32.618463 + ], + [ + -114.757154, + 32.618476 + ], + [ + -114.757157, + 32.618489 + ], + [ + -114.75716, + 32.618502 + ], + [ + -114.757163, + 32.618515 + ], + [ + -114.757165, + 32.618527 + ], + [ + -114.757168, + 32.618538 + ], + [ + -114.75717, + 32.618547 + ], + [ + -114.757171, + 32.618552 + ], + [ + -114.757219, + 32.619925 + ], + [ + -114.757215, + 32.619925 + ], + [ + -114.757211, + 32.619927 + ], + [ + -114.757202, + 32.619933 + ], + [ + -114.757192, + 32.61994 + ], + [ + -114.757182, + 32.619947 + ], + [ + -114.75717, + 32.619953 + ], + [ + -114.757157, + 32.619958 + ], + [ + -114.757143, + 32.619964 + ], + [ + -114.75713, + 32.619968 + ], + [ + -114.757117, + 32.619972 + ], + [ + -114.757105, + 32.619974 + ], + [ + -114.757095, + 32.619976 + ], + [ + -114.757088, + 32.619977 + ], + [ + -114.755325, + 32.619959 + ], + [ + -114.755324, + 32.619958 + ], + [ + -114.755319, + 32.619956 + ], + [ + -114.755307, + 32.619954 + ], + [ + -114.755294, + 32.619952 + ], + [ + -114.755281, + 32.61995 + ], + [ + -114.755269, + 32.619946 + ], + [ + -114.755257, + 32.61994 + ], + [ + -114.755245, + 32.619934 + ], + [ + -114.755233, + 32.619927 + ], + [ + -114.755224, + 32.619919 + ], + [ + -114.755216, + 32.619911 + ], + [ + -114.755209, + 32.619902 + ], + [ + -114.755202, + 32.619891 + ], + [ + -114.755198, + 32.619881 + ], + [ + -114.755195, + 32.61987 + ], + [ + -114.755191, + 32.61986 + ], + [ + -114.755189, + 32.619849 + ], + [ + -114.755187, + 32.619838 + ], + [ + -114.755185, + 32.619826 + ], + [ + -114.755183, + 32.619814 + ], + [ + -114.755182, + 32.619801 + ], + [ + -114.75518, + 32.619789 + ], + [ + -114.755178, + 32.619777 + ], + [ + -114.755177, + 32.619764 + ], + [ + -114.755177, + 32.619752 + ], + [ + -114.755176, + 32.61974 + ], + [ + -114.755175, + 32.619729 + ], + [ + -114.755173, + 32.619718 + ], + [ + -114.755172, + 32.61971 + ], + [ + -114.755171, + 32.619705 + ], + [ + -114.755129, + 32.618401 + ] + ] + ] + } + } + ] +}