UNPKG

dufour-peyton-intersection

Version:

Reference Implementation of the Dufour-Peyton Intersection Algorithm. Calculates the Intersections of Arbitrary Polygons with a Geospatial Raster.

85 lines (84 loc) 2.71 kB
{ "name": "dufour-peyton-intersection", "version": "0.2.2", "description": "Reference Implementation of the Dufour-Peyton Intersection Algorithm. Calculates the Intersections of Arbitrary Polygons with a Geospatial Raster.", "main": "./src/index.js", "jsdelivr": "dist/dufour-peyton-intersection.min.js", "unpkg": "dist/dufour-peyton-intersection.min.js", "files": [ "dist/dufour-peyton-intersection.min.js", "dist/dufour-peyton-intersection.min.js.map", "src/range/compare.js", "src/range/contains.js", "src/range/cut.js", "src/range/merge-consecutive.js", "src/range/merge.js", "src/range/multicut.js", "src/range/overlaps.js", "src/range/sort.js", "src/range/validate.js", "src/calculate-core.js", "src/calculate-polygon.js", "src/calculate-ring.js", "src/calculate.js", "src/categorize-intersection.js", "src/check-rows.js", "src/clamp.js", "src/cluster-line-segments.js", "src/cluster.js", "src/couple.js", "src/each-pair.js", "src/each-polygon.js", "src/get-polygons.js", "src/index.js", "src/partition.js", "src/prepare-snap.js", "src/round-down.js" ], "scripts": { "build": "npx webpack --devtool=source-map --mode=production --output-filename=dufour-peyton-intersection.min.js --target web", "check": "npx pkg-ok --field=files", "clean": "rm test-output/*.png", "dev": "npx webpack --mode=production --output-filename=dufour-peyton-intersection.min.js --target web --watch", "format": "npx prettier --arrow-parens=avoid --print-width=160 --trailing-comma=none --write ./src/*.js test.js", "setup": "cd data && ./setup.sh", "test": "node -r require-esm-as-empty-object test.js" }, "repository": { "type": "git", "url": "git+https://github.com/GeoTIFF/dufour-peyton-intersection.git" }, "keywords": [ "geojson", "georaster", "geospatial", "geotiff", "gis", "intersection", "polygon", "raster" ], "author": "Daniel J. Dufour & Stephen Peyton", "license": "MIT", "bugs": { "url": "https://github.com/GeoTIFF/dufour-peyton-intersection/issues" }, "homepage": "https://github.com/GeoTIFF/dufour-peyton-intersection#readme", "dependencies": { "get-depth": "^0.0.3" }, "devDependencies": { "@danieljdufour/write-png": "^0.0.1", "fast-counter": "^0.1.0", "find-and-read": "^1.2.0", "flug": "^2.7.2", "geotiff-from": "^1.0.1", "geotiff-precise-bbox": "^0.2.0", "reproject-geojson": "^0.5.0", "require-esm-as-empty-object": "^0.0.1", "webpack": "^5.90.0", "webpack-cli": "^5.1.4", "write-image": "^0.2.0", "xdim": "^1.10.1" } }