mirror of
https://github.com/Turfjs/turf.git
synced 2026-01-25 16:07:00 +00:00
* fix boolean-contains and boolean-within isLineInPoly * update esri-contains and esri-within diagrams * check if line is contained in boundary after splitting on intersections * fix line simply containes in polygon, and tidy up test examples * split linestring segments on polygon before checking midpoints * add explanatory comments and update docs --------- Co-authored-by: samuelarbibe <samuel.arbibe@gmail.com> Co-authored-by: James Beard <james@smallsaucepan.com>
84 lines
2.1 KiB
JSON
84 lines
2.1 KiB
JSON
{
|
|
"name": "@turf/boolean-within",
|
|
"version": "7.3.1",
|
|
"description": "Determines whether the first geometry is completely within the second geometry.",
|
|
"author": "Turf Authors",
|
|
"contributors": [
|
|
"Rowan Winsemius <@rowanwins>",
|
|
"Samuel Arbibe <@samuelarbibe>"
|
|
],
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/Turfjs/turf/issues"
|
|
},
|
|
"homepage": "https://github.com/Turfjs/turf",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/Turfjs/turf.git"
|
|
},
|
|
"funding": "https://opencollective.com/turf",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"turf",
|
|
"gis",
|
|
"boolean",
|
|
"de-9im",
|
|
"within",
|
|
"boolean-within"
|
|
],
|
|
"type": "module",
|
|
"main": "dist/cjs/index.cjs",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/esm/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/esm/index.d.ts",
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/cjs/index.d.cts",
|
|
"default": "./dist/cjs/index.cjs"
|
|
}
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"bench": "tsx bench.ts",
|
|
"build": "tsup --config ../../tsup.config.ts",
|
|
"docs": "tsx ../../scripts/generate-readmes.ts",
|
|
"test": "pnpm run /test:.*/",
|
|
"test:tape": "tsx test.ts",
|
|
"test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/benchmark": "^2.1.5",
|
|
"@types/tape": "^5.8.1",
|
|
"benchmark": "^2.1.4",
|
|
"boolean-jsts": "*",
|
|
"boolean-shapely": "*",
|
|
"glob": "^11.1.0",
|
|
"load-json-file": "^7.0.1",
|
|
"tape": "^5.9.0",
|
|
"tsup": "^8.4.0",
|
|
"tsx": "^4.19.4",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"dependencies": {
|
|
"@turf/bbox": "workspace:*",
|
|
"@turf/boolean-point-in-polygon": "workspace:*",
|
|
"@turf/boolean-point-on-line": "workspace:*",
|
|
"@turf/helpers": "workspace:*",
|
|
"@turf/invariant": "workspace:*",
|
|
"@turf/line-split": "workspace:*",
|
|
"@types/geojson": "^7946.0.10",
|
|
"tslib": "^2.8.1"
|
|
}
|
|
}
|