23 Commits

Author SHA1 Message Date
Colin Murphy
3bbd7590c4
Replaced polygon-clipping with polyclip-ts (#2729)
* Replaced polygon-clipping with polyclip-ts

---------

Co-authored-by: colin <cmurphy@terabase.energy>
Co-authored-by: James Beard <james@smallsaucepan.com>
2024-12-22 18:01:00 +11:00
mfedderly
2e9d3d51f7
Add Prettier and ESLint to the builds (#1965)
* Configure ESlint and Prettier
- Disable all eslint rules that trigger
- Build's lint step now runs monorepoint, prettier, and eslint
- Remove all tslint references

* [auto] run prettier on everything

Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
2020-12-08 19:24:15 -05:00
Michael Bullington
908dedbe1a
turf-union, turf-difference, turf-intersect: Swap out martinez-polygon-clipping for polygon-clipping used in v7. (#1916)
* swap out martinez-polygon-clipping for polygon-clipping

* reinstate single polygon return on turf-difference

* reinstate single polygon return for turf-intersect

* remove @ts-ignore from intersect and union

* reinstate single polygon return for turf-union

* remove leftover comment on turf-intersect type error

Co-authored-by: Nick Gottlieb <ngottlieb@gmail.com>
Co-authored-by: mfedderly <mdfedderly@mdfedderly.com>
2020-07-08 16:05:40 -04:00
Brandon Belvin
c5e32b49c1 Fix 1394 and 1400 by updating martinez-polygon-clipping import 2018-06-05 14:30:44 -05:00
Benjamin Tran Dinh
9987d59a20 Add issue 702 fixtures 2018-03-19 12:12:24 +01:00
Benjamin Tran Dinh
7f0cbe6b02 Multipolygon intersect 2018-03-19 12:12:10 +01:00
Denis
a2b2ac89fa Update turf-intersect to reflect Major release 6 2018-01-26 20:31:14 -05:00
Rowan Winsemius
d157f7e293 Fix armenia test 2018-01-22 21:22:55 +11:00
Rowan Winsemius
6161c9b72f intial commit 2018-01-22 20:03:26 +11:00
Knight219
ca6e6bcfd8 1132-modified-tests 2017-12-01 09:56:18 +02:00
Knight219
919a872807 tests 2017-11-29 11:57:49 +02:00
Denis
33ea391e68 Remove duplicate test/in fixture 2017-10-11 01:59:10 -04:00
Denis
0009d7ebdb Merge pull request #1004 from zbyte64/issue-resolution
turf-intersect: new test data with small intersection
2017-10-11 01:58:15 -04:00
Denis
66722db5bc Tempory fix for PR #1004 2017-10-11 01:50:27 -04:00
Jason Kraus
e20cb32bb8 new test data with small intersection 2017-10-05 21:52:01 -07:00
Denis
2b02211d9d Output Feature<null> to tests 2017-08-05 17:39:50 -04:00
stebogit
ea9551d2bb return null, truncated input poly 2017-08-03 08:50:35 -07:00
Denis
697699b812 Fix test/out turf-intersect 412 geojson 2017-03-07 17:31:52 -05:00
Drew Bollinger
cebdabfb79 Add formerly failing test case for turf-intersect from issue #412 (#605)
* Add formerly failing test case from issue #412

* Add expected output for test fixture
2017-03-07 17:14:59 -05:00
Denis
b0a7edea8f Improve turf-intersect tests 2017-03-07 15:02:03 -05:00
Denis
b1a0ede1f5 Clean package.json
- Remove .npmignore in favor of files: [] in package.json
- Remove yarn.lock files
- Make sure devDependencies & dependencies are at the bottom of package.json
- Normalize scripts `node test.js` & `node bench.js`
- Normalize description `turf <name> module (descriptions should be maintained by JSDocs index.js)
- Change LICENSE author to TurfJS

CC: @morganherlocker
2017-03-05 23:40:09 -05:00
Aurélien Defossez
dc8448987b Update the intersect doc to add more return types (#459)
* Update the doc of turf-intersect to tell it can return any type of geometry (except GeometryCollection), not only Polygons and MultiLineStrings.

* Tests added to test Point, MultiPoint, LineString, MultiLineString return types.
2016-08-16 16:42:48 -04:00
Tom MacWright
55656b92f4 Unirepo: turf in one repository 2016-02-26 17:44:33 -05:00