From e46298d2346f3c79693d0a117cced14f29fca19c Mon Sep 17 00:00:00 2001 From: hadrien Date: Fri, 25 Oct 2024 17:01:12 +0200 Subject: [PATCH 1/7] fix [turf-ellipse] -Fixes the wrong behavior of turf-ellipse when drawing "big ellipses" near the poles -Fixes the wrong behavior of turf-ellipse when rotating an ellipse. The rotation is now fully taken account during the calculation of the geometry. -Adds two test to directly check both previous points -Fixes one of the existing test `turf-ellipse` which was not launched when launching `pnpm test` -Changes the test `turf-ellipse` so that it fits the fixes made in the calculation of the geometry --- packages/turf-ellipse/index.ts | 72 +-- packages/turf-ellipse/package.json | 4 +- packages/turf-ellipse/test.ts | 185 +++--- .../test/in/rotation-degrees.json | 2 +- packages/turf-ellipse/test/in/rotation.json | 2 +- .../test/out/anti-meridian-degrees.json | 320 ++++------ .../turf-ellipse/test/out/anti-meridian.json | 326 ++++------ .../test/out/northern-latitudes-degrees.json | 320 ++++------ .../test/out/northern-latitudes.json | 582 ++++++++---------- .../test/out/rotation-degrees.json | 334 ++++------ packages/turf-ellipse/test/out/rotation.json | 334 ++++------ .../turf-ellipse/test/out/simple-degrees.json | 320 ++++------ packages/turf-ellipse/test/out/simple.json | 326 ++++------ pnpm-lock.yaml | 13 +- 14 files changed, 1263 insertions(+), 1877 deletions(-) diff --git a/packages/turf-ellipse/index.ts b/packages/turf-ellipse/index.ts index 06182b9721..f0a8880de5 100644 --- a/packages/turf-ellipse/index.ts +++ b/packages/turf-ellipse/index.ts @@ -5,8 +5,9 @@ import { isNumber, Coord, Units, + point, } from "@turf/helpers"; -import { rhumbDestination } from "@turf/rhumb-destination"; +import { destination } from "@turf/destination"; import { transformRotate } from "@turf/transform-rotate"; import { getCoord } from "@turf/invariant"; import { GeoJsonProperties, Feature, Polygon } from "geojson"; @@ -61,62 +62,31 @@ function ellipse( if (!isNumber(steps)) throw new Error("steps must be a number"); if (!isNumber(angle)) throw new Error("angle must be a number"); - const centerCoords = getCoord(center); - if (units !== "degrees") { - const xDest = rhumbDestination(center, xSemiAxis, 90, { units }); - const yDest = rhumbDestination(center, ySemiAxis, 0, { units }); - xSemiAxis = getCoord(xDest)[0] - centerCoords[0]; - ySemiAxis = getCoord(yDest)[1] - centerCoords[1]; - } + const centerCoords = getCoord( + transformRotate(point(getCoord(center)), angle, { pivot }) + ); const coordinates: number[][] = []; for (let i = 0; i < steps; i += 1) { const stepAngle = (i * -360) / steps; - let x = - (xSemiAxis * ySemiAxis) / - Math.sqrt( - Math.pow(ySemiAxis, 2) + - Math.pow(xSemiAxis, 2) * Math.pow(getTanDeg(stepAngle), 2) - ); - let y = - (xSemiAxis * ySemiAxis) / - Math.sqrt( - Math.pow(xSemiAxis, 2) + - Math.pow(ySemiAxis, 2) / Math.pow(getTanDeg(stepAngle), 2) - ); - - if (stepAngle < -90 && stepAngle >= -270) x = -x; - if (stepAngle < -180 && stepAngle >= -360) y = -y; - if (units === "degrees") { - const angleRad = degreesToRadians(angle); - const newx = x * Math.cos(angleRad) + y * Math.sin(angleRad); - const newy = y * Math.cos(angleRad) - x * Math.sin(angleRad); - x = newx; - y = newy; - } - - coordinates.push([x + centerCoords[0], y + centerCoords[1]]); + const r = Math.sqrt( + (Math.pow(xSemiAxis, 2) * Math.pow(ySemiAxis, 2)) / + (Math.pow( + xSemiAxis * Math.cos(degreesToRadians(stepAngle - angle)), + 2 + ) + + Math.pow( + ySemiAxis * Math.sin(degreesToRadians(stepAngle - angle)), + 2 + )) + ); + const coords = getCoord( + destination(centerCoords, r, stepAngle, { units: units }) + ); + coordinates.push(coords); } coordinates.push(coordinates[0]); - if (units === "degrees") { - return polygon([coordinates], properties); - } else { - return transformRotate(polygon([coordinates], properties), angle, { - pivot, - }); - } -} - -/** - * Get Tan Degrees - * - * @private - * @param {number} deg Degrees - * @returns {number} Tan Degrees - */ -function getTanDeg(deg: number) { - const rad = (deg * Math.PI) / 180; - return Math.tan(rad); + return polygon([coordinates], properties); } export { ellipse }; diff --git a/packages/turf-ellipse/package.json b/packages/turf-ellipse/package.json index eea2117419..f3a5ec718c 100644 --- a/packages/turf-ellipse/package.json +++ b/packages/turf-ellipse/package.json @@ -53,9 +53,11 @@ }, "devDependencies": { "@placemarkio/check-geojson": "^0.1.12", + "@turf/area": "workspace:^", "@turf/bbox-polygon": "workspace:^", "@turf/circle": "workspace:^", "@turf/destination": "workspace:^", + "@turf/intersect": "workspace:^", "@turf/truncate": "workspace:^", "@types/benchmark": "^2.1.5", "@types/tape": "^4.2.32", @@ -70,9 +72,9 @@ "write-json-file": "^5.0.0" }, "dependencies": { + "@turf/destination": "workspace:^", "@turf/helpers": "workspace:^", "@turf/invariant": "workspace:^", - "@turf/rhumb-destination": "workspace:^", "@turf/transform-rotate": "workspace:^", "@types/geojson": "^7946.0.10", "tslib": "^2.6.2" diff --git a/packages/turf-ellipse/test.ts b/packages/turf-ellipse/test.ts index 62d2065333..db4653517b 100644 --- a/packages/turf-ellipse/test.ts +++ b/packages/turf-ellipse/test.ts @@ -1,5 +1,4 @@ import test from "tape"; -import { glob } from "glob"; import path from "path"; import { fileURLToPath } from "url"; import { loadJsonFileSync } from "load-json-file"; @@ -7,124 +6,94 @@ import { writeJsonFileSync } from "write-json-file"; import { circle } from "@turf/circle"; import { truncate } from "@turf/truncate"; import { check } from "@placemarkio/check-geojson"; -import { bboxPolygon } from "@turf/bbox-polygon"; -import { rhumbDestination } from "@turf/rhumb-destination"; -// import { destination } from '@turf/destination'; import { featureCollection } from "@turf/helpers"; +import { intersect } from "@turf/intersect"; +import { area } from "@turf/area"; import { ellipse } from "./index.js"; +import fs from "fs"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); -test("turf-ellipse", (t) => { - glob - .sync(path.join(__dirname, "test", "in", "*.json")) - .forEach((filepath) => { - // Define params - const { name } = path.parse(filepath); - const geojson = loadJsonFileSync(filepath); - const center = geojson.geometry.coordinates; - let { xSemiAxis, ySemiAxis, steps, angle, units } = geojson.properties; - angle = angle || 0; - const options = { steps, angle, units }; - const maxAxis = Math.max(xSemiAxis, ySemiAxis); +const directories = { + in: path.join(__dirname, "test", "in") + path.sep, + out: path.join(__dirname, "test", "out") + path.sep, +}; - // Styled results - const maxDestination0 = rhumbDestination(center, maxAxis, angle, { - units, - }); - const maxDestination90 = rhumbDestination(center, maxAxis, angle + 90, { - units, - }); - const maxDestination180 = rhumbDestination(center, maxAxis, angle + 180, { - units, - }); - const maxDestination270 = rhumbDestination(center, maxAxis, angle + 270, { - units, - }); +const fixtures = fs.readdirSync(directories.in).map((filename) => { + return { + filename, + name: path.parse(filename).name, + geojson: loadJsonFileSync(directories.in + filename), + }; +}); - const xDestination0 = rhumbDestination(center, xSemiAxis, angle, { - units, - }); - const xDestination90 = rhumbDestination(center, xSemiAxis, angle + 90, { - units, - }); - const xDestination180 = rhumbDestination(center, xSemiAxis, angle + 180, { - units, - }); - const xDestination270 = rhumbDestination(center, xSemiAxis, angle + 270, { - units, - }); +test("turf-ellipse", (t) => { + fixtures.forEach((fixture) => { + console.log(fixture.filename); + const filename = fixture.filename; + const name = fixture.name; + const geojson = fixture.geojson; + const center = geojson.geometry.coordinates; + let { xSemiAxis, ySemiAxis, steps, angle, units } = geojson.properties; + angle = angle || 0; + const options = { steps, angle, units }; + const maxAxis = Math.max(xSemiAxis, ySemiAxis); - const yDestination0 = rhumbDestination(center, ySemiAxis, angle, { - units, - }); - const yDestination90 = rhumbDestination(center, ySemiAxis, angle + 90, { - units, - }); - const yDestination180 = rhumbDestination(center, ySemiAxis, angle + 180, { - units, - }); - const yDestination270 = rhumbDestination(center, ySemiAxis, angle + 270, { - units, - }); + const results = featureCollection([ + geojson, + truncate(colorize(circle(center, maxAxis, options), "#F00")), + truncate( + colorize(ellipse(center, xSemiAxis, ySemiAxis, options), "#00F") + ), + truncate( + colorize( + ellipse(center, xSemiAxis, ySemiAxis, { + steps, + angle: angle + 90, + units, + }), + "#0F0" + ) + ), + ]); - const bboxX = colorize( - bboxPolygon([ - xDestination270.geometry.coordinates[0], - yDestination180.geometry.coordinates[1], - xDestination90.geometry.coordinates[0], - yDestination0.geometry.coordinates[1], - ]), - "#FFF" - ); - const bboxY = colorize( - bboxPolygon([ - yDestination270.geometry.coordinates[0], - xDestination180.geometry.coordinates[1], - yDestination90.geometry.coordinates[0], - xDestination0.geometry.coordinates[1], - ]), - "#666" - ); - const bboxMax = colorize( - bboxPolygon([ - maxDestination270.geometry.coordinates[0], - maxDestination180.geometry.coordinates[1], - maxDestination90.geometry.coordinates[0], - maxDestination0.geometry.coordinates[1], - ]), - "#000" - ); + // Save to file + const out = path.join(directories.out, filename); + if (process.env.REGEN) writeJsonFileSync(out, results); + t.deepEqual(results, loadJsonFileSync(out), name); + }); + t.end(); +}); - const results = featureCollection([ - bboxX, - bboxY, - bboxMax, - geojson, - truncate(colorize(circle(center, maxAxis, options), "#F00")), - truncate( - colorize(ellipse(center, xSemiAxis, ySemiAxis, options), "#00F") - ), - truncate( - colorize( - ellipse(center, xSemiAxis, ySemiAxis, { - steps, - angle: angle + 90, - units, - }), - "#0F0" - ) - ), - ]); +test("turf-ellipse -- circle consistency", (t) => { + const ellipseGeom = ellipse([0, 60], 2000, 2000); + const circleGeom = circle([0, 60], 2000); + const intersectionGeom = intersect( + featureCollection([ellipseGeom, circleGeom]) + ); + const areaIntersection = + intersectionGeom != null ? area(intersectionGeom.geometry) : 0; + const areaCircle = circleGeom != null ? area(circleGeom.geometry) : 0; + t.true( + Math.abs(areaIntersection - areaCircle) / areaCircle < 0.00001, + "both areas are equal" + ); + t.end(); +}); - // Save to file - const out = filepath.replace( - path.join("test", "in"), - path.join("test", "out") - ); - if (process.env.REGEN) writeJsonFileSync(out, results); - t.deepEqual(results, loadJsonFileSync(out), name); - }); +test("turf-ellipse -- rotation consistency", (t) => { + const ellipseGeom = ellipse([0, 60], 2000, 2000, { angle: 0 }); + const ellipseTurnedGeom = ellipse([0, 60], 2000, 2000, { angle: 90 }); + const intersectionGeom = intersect( + featureCollection([ellipseGeom, ellipseTurnedGeom]) + ); + const areaIntersection = + intersectionGeom != null ? area(intersectionGeom.geometry) : 0; + const areaEllipse = ellipseGeom != null ? area(ellipseGeom.geometry) : 0; + t.true( + Math.abs(areaIntersection - areaEllipse) / areaEllipse < 0.00001, + "both areas are equal" + ); t.end(); }); diff --git a/packages/turf-ellipse/test/in/rotation-degrees.json b/packages/turf-ellipse/test/in/rotation-degrees.json index 496e8da0a8..2effdb4b96 100644 --- a/packages/turf-ellipse/test/in/rotation-degrees.json +++ b/packages/turf-ellipse/test/in/rotation-degrees.json @@ -4,7 +4,7 @@ "units": "degrees", "xSemiAxis": 0.125, "ySemiAxis": 0.025, - "angle": 45 + "angle": 30 }, "geometry": { "type": "Point", diff --git a/packages/turf-ellipse/test/in/rotation.json b/packages/turf-ellipse/test/in/rotation.json index bcb5f88063..bd27786805 100644 --- a/packages/turf-ellipse/test/in/rotation.json +++ b/packages/turf-ellipse/test/in/rotation.json @@ -3,7 +3,7 @@ "properties": { "xSemiAxis": 5, "ySemiAxis": 1, - "angle": 45 + "angle": 30 }, "geometry": { "type": "Point", diff --git a/packages/turf-ellipse/test/out/anti-meridian-degrees.json b/packages/turf-ellipse/test/out/anti-meridian-degrees.json index 9dc93cef4b..1eece81fcc 100644 --- a/packages/turf-ellipse/test/out/anti-meridian-degrees.json +++ b/packages/turf-ellipse/test/out/anti-meridian-degrees.json @@ -1,72 +1,6 @@ { "type": "FeatureCollection", "features": [ - { - "type": "Feature", - "bbox": [-232.28458782435735, -27, -127.71541217564265, -7.000000000000003], - "properties": { - "stroke-width": 6, - "stroke": "#FFF", - "fill": "#FFF", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-232.28458782435735, -27], - [-127.71541217564265, -27], - [-127.71541217564265, -7.000000000000003], - [-232.28458782435735, -7.000000000000003], - [-232.28458782435735, -27] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [-190.4569175648715, -66.99999999999999, -169.5430824351285, 33], - "properties": { - "stroke-width": 6, - "stroke": "#666", - "fill": "#666", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-190.4569175648715, -66.99999999999999], - [-169.5430824351285, -66.99999999999999], - [-169.5430824351285, 33], - [-190.4569175648715, 33], - [-190.4569175648715, -66.99999999999999] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [-232.28458782435735, -66.99999999999999, -127.71541217564265, 33], - "properties": { - "stroke-width": 6, - "stroke": "#000", - "fill": "#000", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-232.28458782435735, -66.99999999999999], - [-127.71541217564265, -66.99999999999999], - [-127.71541217564265, 33], - [-232.28458782435735, 33], - [-232.28458782435735, -66.99999999999999] - ] - ] - } - }, { "type": "Feature", "properties": { @@ -172,71 +106,71 @@ "type": "Polygon", "coordinates": [ [ - [-130, -17], - [-135.144121, -12.582082], - [-144.548397, -9.948238], - [-152.477908, -8.651265], - [-158.259476, -7.99478], - [-162.477758, -7.634166], - [-165.662441, -7.419949], - [-168.161441, -7.284346], - [-170.194193, -7.194193], - [-171.901575, -7.132041], - [-173.37709, -7.088114], - [-174.685172, -7.056655], - [-175.872005, -7.034139], - [-176.972101, -7.018353], - [-178.012448, -7.007904], - [-179.015277, -7.00194], [-180, -7], - [-180.984723, -7.00194], - [-181.987552, -7.007904], - [-183.027899, -7.018353], - [-184.127995, -7.034139], - [-185.314828, -7.056655], - [-186.62291, -7.088114], - [-188.098425, -7.132041], - [-189.805807, -7.194193], - [-191.838559, -7.284346], - [-194.337559, -7.419949], - [-197.522242, -7.634166], - [-201.740524, -7.99478], - [-207.522092, -8.651265], - [-215.451603, -9.948238], - [-224.855879, -12.582082], - [-230, -17], - [-224.855879, -21.417918], - [-215.451603, -24.051762], - [-207.522092, -25.348735], - [-201.740524, -26.00522], - [-197.522242, -26.365834], - [-194.337559, -26.580051], - [-191.838559, -26.715654], - [-189.805807, -26.805807], - [-188.098425, -26.867959], - [-186.62291, -26.911886], - [-185.314828, -26.943345], - [-184.127995, -26.965861], - [-183.027899, -26.981647], - [-181.987552, -26.992096], - [-180.984723, -26.99806], + [-180.987091, -6.999932], + [-181.992343, -6.999726], + [-183.035231, -6.999372], + [-184.138056, -6.998853], + [-185.327905, -6.998147], + [-186.63942, -6.997228], + [-188.118981, -6.996076], + [-189.831334, -6.994705], + [-191.87051, -6.993261], + [-194.378358, -6.992297], + [-197.57629, -6.993735], + [-201.816763, -7.004346], + [-207.641588, -7.050082], + [-215.673422, -7.241357], + [-225.366576, -8.05423], + [-231.255224, -10.832176], + [-227.086607, -15.833284], + [-218.070561, -20.251391], + [-209.999773, -22.946517], + [-203.907323, -24.46711], + [-199.37017, -25.351901], + [-195.901639, -25.895108], + [-193.158106, -26.24599], + [-190.914574, -26.482344], + [-189.023257, -26.646744], + [-187.384567, -26.763657], + [-185.929134, -26.847757], + [-184.606845, -26.908141], + [-183.380027, -26.950571], + [-182.21908, -26.9787], + [-181.099542, -26.994771], [-180, -27], - [-179.015277, -26.99806], - [-178.012448, -26.992096], - [-176.972101, -26.981647], - [-175.872005, -26.965861], - [-174.685172, -26.943345], - [-173.37709, -26.911886], - [-171.901575, -26.867959], - [-170.194193, -26.805807], - [-168.161441, -26.715654], - [-165.662441, -26.580051], - [-162.477758, -26.365834], - [-158.259476, -26.00522], - [-152.477908, -25.348735], - [-144.548397, -24.051762], - [-135.144121, -21.417918], - [-130, -17] + [-178.900458, -26.994771], + [-177.78092, -26.9787], + [-176.619973, -26.950571], + [-175.393155, -26.908141], + [-174.070866, -26.847757], + [-172.615433, -26.763657], + [-170.976743, -26.646744], + [-169.085426, -26.482344], + [-166.841894, -26.24599], + [-164.098361, -25.895108], + [-160.62983, -25.351901], + [-156.092677, -24.46711], + [-150.000227, -22.946517], + [-141.929439, -20.251391], + [-132.913393, -15.833284], + [-128.744776, -10.832176], + [-134.633424, -8.05423], + [-144.326578, -7.241357], + [-152.358412, -7.050082], + [-158.183237, -7.004346], + [-162.42371, -6.993735], + [-165.621642, -6.992297], + [-168.12949, -6.993261], + [-170.168666, -6.994705], + [-171.881019, -6.996076], + [-173.36058, -6.997228], + [-174.672095, -6.998147], + [-175.861944, -6.998853], + [-176.964769, -6.999372], + [-178.007657, -6.999726], + [-179.012909, -6.999932], + [-180, -7] ] ] } @@ -253,71 +187,71 @@ "type": "Polygon", "coordinates": [ [ - [-180, -67], - [-175.582082, -61.855879], - [-172.948238, -52.451603], - [-171.651265, -44.522092], - [-170.99478, -38.740524], - [-170.634166, -34.522242], - [-170.419949, -31.337559], - [-170.284346, -28.838559], - [-170.194193, -26.805807], - [-170.132041, -25.098425], - [-170.088114, -23.62291], - [-170.056655, -22.314828], - [-170.034139, -21.127995], - [-170.018353, -20.027899], - [-170.007904, -18.987552], - [-170.00194, -17.984723], - [-170, -17], - [-170.00194, -16.015277], - [-170.007904, -15.012448], - [-170.018353, -13.972101], - [-170.034139, -12.872005], - [-170.056655, -11.685172], - [-170.088114, -10.37709], - [-170.132041, -8.901575], - [-170.194193, -7.194193], - [-170.284346, -5.161441], - [-170.419949, -2.662441], - [-170.634166, 0.522242], - [-170.99478, 4.740524], - [-171.651265, 10.522092], - [-172.948238, 18.451603], - [-175.582082, 27.855879], [-180, 33], - [-184.417918, 27.855879], - [-187.051762, 18.451603], - [-188.348735, 10.522092], - [-189.00522, 4.740524], - [-189.365834, 0.522242], - [-189.580051, -2.662441], - [-189.715654, -5.161441], - [-189.805807, -7.194193], - [-189.867959, -8.901575], - [-189.911886, -10.37709], - [-189.943345, -11.685172], - [-189.965861, -12.872005], - [-189.981647, -13.972101], - [-189.992096, -15.012448], - [-189.99806, -16.015277], - [-190, -17], - [-189.99806, -17.984723], - [-189.992096, -18.987552], - [-189.981647, -20.027899], - [-189.965861, -21.127995], - [-189.943345, -22.314828], - [-189.911886, -23.62291], - [-189.867959, -25.098425], - [-189.805807, -26.805807], - [-189.715654, -28.838559], - [-189.580051, -31.337559], - [-189.365834, -34.522242], - [-189.00522, -38.740524], - [-188.348735, -44.522092], - [-187.051762, -52.451603], - [-184.417918, -61.855879], - [-180, -67] + [-184.502118, 27.861418], + [-186.969271, 18.490068], + [-188.169191, 10.60333], + [-188.820544, 4.858227], + [-189.219617, 0.668263], + [-189.488343, -2.494484], + [-189.682719, -4.976107], + [-189.831334, -6.994705], + [-189.950115, -8.690233], + [-190.048591, -10.15556], + [-190.132808, -11.454674], + [-190.2068, -12.633439], + [-190.273389, -13.726124], + [-190.334634, -14.759536], + [-190.392107, -15.755753], + [-190.44707, -16.734064], + [-190.500585, -17.712463], + [-190.553604, -18.70895], + [-190.60703, -19.742835], + [-190.661769, -20.836238], + [-190.718784, -22.016028], + [-190.779129, -23.316582], + [-190.843974, -24.783931], + [-190.914574, -26.482344], + [-190.992041, -28.505179], + [-191.076542, -30.993289], + [-191.164502, -34.16656], + [-191.238481, -38.375012], + [-191.22591, -44.156217], + [-190.802558, -52.122889], + [-188.410753, -61.67665], + [-180, -67], + [-171.589247, -61.67665], + [-169.197442, -52.122889], + [-168.77409, -44.156217], + [-168.761519, -38.375012], + [-168.835498, -34.16656], + [-168.923458, -30.993289], + [-169.007959, -28.505179], + [-169.085426, -26.482344], + [-169.156026, -24.783931], + [-169.220871, -23.316582], + [-169.281216, -22.016028], + [-169.338231, -20.836238], + [-169.39297, -19.742835], + [-169.446396, -18.70895], + [-169.499415, -17.712463], + [-169.55293, -16.734064], + [-169.607893, -15.755753], + [-169.665366, -14.759536], + [-169.726611, -13.726124], + [-169.7932, -12.633439], + [-169.867192, -11.454674], + [-169.951409, -10.15556], + [-170.049885, -8.690233], + [-170.168666, -6.994705], + [-170.317281, -4.976107], + [-170.511657, -2.494484], + [-170.780383, 0.668263], + [-171.179456, 4.858227], + [-171.830809, 10.60333], + [-173.030729, 18.490068], + [-175.497882, 27.861418], + [-180, 33] ] ] } diff --git a/packages/turf-ellipse/test/out/anti-meridian.json b/packages/turf-ellipse/test/out/anti-meridian.json index affda5a808..5081c77a37 100644 --- a/packages/turf-ellipse/test/out/anti-meridian.json +++ b/packages/turf-ellipse/test/out/anti-meridian.json @@ -1,78 +1,6 @@ { "type": "FeatureCollection", "features": [ - { - "type": "Feature", - "bbox": [ - -180.4702059453939, -17.089932036372456, -179.5297940546061, -16.910067963627547 - ], - "properties": { - "stroke-width": 6, - "stroke": "#FFF", - "fill": "#FFF", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-180.4702059453939, -17.089932036372456], - [-179.5297940546061, -17.089932036372456], - [-179.5297940546061, -16.910067963627547], - [-180.4702059453939, -16.910067963627547], - [-180.4702059453939, -17.089932036372456] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [ - -180.09404118907878, -17.44966018186227, -179.90595881092122, -16.55033981813773 - ], - "properties": { - "stroke-width": 6, - "stroke": "#666", - "fill": "#666", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-180.09404118907878, -17.44966018186227], - [-179.90595881092122, -17.44966018186227], - [-179.90595881092122, -16.55033981813773], - [-180.09404118907878, -16.55033981813773], - [-180.09404118907878, -17.44966018186227] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [ - -180.4702059453939, -17.44966018186227, -179.5297940546061, -16.55033981813773 - ], - "properties": { - "stroke-width": 6, - "stroke": "#000", - "fill": "#000", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-180.4702059453939, -17.44966018186227], - [-179.5297940546061, -17.44966018186227], - [-179.5297940546061, -16.55033981813773], - [-180.4702059453939, -16.55033981813773], - [-180.4702059453939, -17.44966018186227] - ] - ] - } - }, { "type": "Feature", "properties": { @@ -177,71 +105,71 @@ "type": "Polygon", "coordinates": [ [ - [-179.529794, -17], - [-179.581966, -16.958827], - [-179.674097, -16.935174], - [-179.749219, -16.923927], - [-179.802884, -16.918352], - [-179.841585, -16.915326], - [-179.870604, -16.91354], - [-179.893277, -16.912415], - [-179.911669, -16.911669], - [-179.927087, -16.911156], - [-179.940394, -16.910793], - [-179.95218, -16.910534], - [-179.962865, -16.910349], - [-179.972765, -16.910219], - [-179.982124, -16.910133], - [-179.991144, -16.910084], [-180, -16.910068], - [-180.008856, -16.910084], - [-180.017876, -16.910133], - [-180.027235, -16.910219], - [-180.037135, -16.910349], - [-180.04782, -16.910534], - [-180.059606, -16.910793], - [-180.072913, -16.911156], - [-180.088331, -16.911669], - [-180.106723, -16.912415], - [-180.129396, -16.91354], - [-180.158415, -16.915326], - [-180.197116, -16.918352], - [-180.250781, -16.923927], - [-180.325903, -16.935174], - [-180.418034, -16.958827], - [-180.470206, -17], - [-180.418034, -17.041173], - [-180.325903, -17.064826], - [-180.250781, -17.076073], - [-180.197116, -17.081648], - [-180.158415, -17.084674], - [-180.129396, -17.08646], - [-180.106723, -17.087585], - [-180.088331, -17.088331], - [-180.072913, -17.088844], - [-180.059606, -17.089207], - [-180.04782, -17.089466], - [-180.037135, -17.089651], - [-180.027235, -17.089781], - [-180.017876, -17.089867], - [-180.008856, -17.089916], + [-180.009256, -16.910085], + [-180.018682, -16.910138], + [-180.028461, -16.910231], + [-180.038802, -16.910371], + [-180.049957, -16.910571], + [-180.062253, -16.910851], + [-180.076123, -16.911241], + [-180.092172, -16.911794], + [-180.111279, -16.912595], + [-180.13477, -16.9138], + [-180.164707, -16.915705], + [-180.204362, -16.918912], + [-180.258717, -16.924755], + [-180.333278, -16.936311], + [-180.42174, -16.959835], + [-180.470205, -16.999461], + [-180.421919, -17.039297], + [-180.333504, -17.063146], + [-180.258925, -17.074918], + [-180.204539, -17.080884], + [-180.164855, -17.084162], + [-180.134894, -17.086111], + [-180.111383, -17.087345], + [-180.092258, -17.088165], + [-180.076195, -17.08873], + [-180.062312, -17.08913], + [-180.050005, -17.089416], + [-180.038839, -17.089621], + [-180.028488, -17.089765], + [-180.0187, -17.08986], + [-180.009265, -17.089914], [-180, -17.089932], - [-179.991144, -17.089916], - [-179.982124, -17.089867], - [-179.972765, -17.089781], - [-179.962865, -17.089651], - [-179.95218, -17.089466], - [-179.940394, -17.089207], - [-179.927087, -17.088844], - [-179.911669, -17.088331], - [-179.893277, -17.087585], - [-179.870604, -17.08646], - [-179.841585, -17.084674], - [-179.802884, -17.081648], - [-179.749219, -17.076073], - [-179.674097, -17.064826], - [-179.581966, -17.041173], - [-179.529794, -17] + [-179.990735, -17.089914], + [-179.9813, -17.08986], + [-179.971512, -17.089765], + [-179.961161, -17.089621], + [-179.949995, -17.089416], + [-179.937688, -17.08913], + [-179.923805, -17.08873], + [-179.907742, -17.088165], + [-179.888617, -17.087345], + [-179.865106, -17.086111], + [-179.835145, -17.084162], + [-179.795461, -17.080884], + [-179.741075, -17.074918], + [-179.666496, -17.063146], + [-179.578081, -17.039297], + [-179.529795, -16.999461], + [-179.57826, -16.959835], + [-179.666722, -16.936311], + [-179.741283, -16.924755], + [-179.795638, -16.918912], + [-179.835293, -16.915705], + [-179.86523, -16.9138], + [-179.888721, -16.912595], + [-179.907828, -16.911794], + [-179.923877, -16.911241], + [-179.937747, -16.910851], + [-179.950043, -16.910571], + [-179.961198, -16.910371], + [-179.971539, -16.910231], + [-179.981318, -16.910138], + [-179.990744, -16.910085], + [-180, -16.910068] ] ] } @@ -258,71 +186,71 @@ "type": "Polygon", "coordinates": [ [ - [-180, -17.44966], - [-179.9569, -17.399812], - [-179.932155, -17.311716], - [-179.920399, -17.239871], - [-179.914578, -17.188544], - [-179.911421, -17.151527], - [-179.90956, -17.123771], - [-179.908388, -17.102083], - [-179.907612, -17.084491], - [-179.907079, -17.069743], - [-179.906703, -17.057015], - [-179.906435, -17.045742], - [-179.906244, -17.035521], - [-179.90611, -17.026051], - [-179.906023, -17.017099], - [-179.905973, -17.008471], - [-179.905959, -17], - [-179.905978, -16.991529], - [-179.906031, -16.982901], - [-179.906123, -16.973949], - [-179.906261, -16.964479], - [-179.906458, -16.954258], - [-179.906732, -16.942985], - [-179.907114, -16.930257], - [-179.907654, -16.915509], - [-179.908438, -16.897917], - [-179.90962, -16.876229], - [-179.911492, -16.848473], - [-179.914664, -16.811456], - [-179.920501, -16.760129], - [-179.932268, -16.688284], - [-179.956992, -16.600188], [-180, -16.55034], - [-180.043009, -16.600276], - [-180.067732, -16.688391], - [-180.079499, -16.760226], - [-180.085336, -16.811538], - [-180.088508, -16.848541], - [-180.09038, -16.876286], - [-180.091562, -16.897965], - [-180.092346, -16.915549], - [-180.092886, -16.93029], - [-180.093268, -16.943012], - [-180.093542, -16.95428], - [-180.093739, -16.964496], - [-180.093877, -16.973961], - [-180.093969, -16.98291], - [-180.094022, -16.991533], - [-180.094041, -17], - [-180.094027, -17.008467], - [-180.093977, -17.01709], - [-180.09389, -17.026039], - [-180.093756, -17.035504], - [-180.093565, -17.04572], - [-180.093297, -17.056988], - [-180.092921, -17.06971], - [-180.092388, -17.084451], - [-180.091612, -17.102035], - [-180.09044, -17.123714], - [-180.088579, -17.151459], - [-180.085422, -17.188462], - [-180.079601, -17.239774], - [-180.067845, -17.311609], - [-180.0431, -17.399724], - [-180, -17.44966] + [-180.041458, -16.596598], + [-180.066204, -16.681166], + [-180.078409, -16.752473], + [-180.084598, -16.804466], + [-180.088004, -16.8424], + [-180.09003, -16.87104], + [-180.091315, -16.893513], + [-180.092172, -16.911794], + [-180.092763, -16.927148], + [-180.093183, -16.940418], + [-180.093485, -16.952181], + [-180.093702, -16.962855], + [-180.093855, -16.972748], + [-180.093958, -16.982104], + [-180.094019, -16.991123], + [-180.094041, -16.999978], + [-180.094027, -17.008834], + [-180.093976, -17.017853], + [-180.093882, -17.027209], + [-180.093739, -17.037102], + [-180.093532, -17.047776], + [-180.093242, -17.05954], + [-180.092836, -17.07281], + [-180.092258, -17.088165], + [-180.091419, -17.106446], + [-180.090154, -17.128921], + [-180.088152, -17.157562], + [-180.084775, -17.195499], + [-180.078617, -17.247497], + [-180.066429, -17.318813], + [-180.041637, -17.403394], + [-180, -17.44966], + [-179.958363, -17.403394], + [-179.933571, -17.318813], + [-179.921383, -17.247497], + [-179.915225, -17.195499], + [-179.911848, -17.157562], + [-179.909846, -17.128921], + [-179.908581, -17.106446], + [-179.907742, -17.088165], + [-179.907164, -17.07281], + [-179.906758, -17.05954], + [-179.906468, -17.047776], + [-179.906261, -17.037102], + [-179.906118, -17.027209], + [-179.906024, -17.017853], + [-179.905973, -17.008834], + [-179.905959, -16.999978], + [-179.905981, -16.991123], + [-179.906042, -16.982104], + [-179.906145, -16.972748], + [-179.906298, -16.962855], + [-179.906515, -16.952181], + [-179.906817, -16.940418], + [-179.907237, -16.927148], + [-179.907828, -16.911794], + [-179.908685, -16.893513], + [-179.90997, -16.87104], + [-179.911996, -16.8424], + [-179.915402, -16.804466], + [-179.921591, -16.752473], + [-179.933796, -16.681166], + [-179.958542, -16.596598], + [-180, -16.55034] ] ] } diff --git a/packages/turf-ellipse/test/out/northern-latitudes-degrees.json b/packages/turf-ellipse/test/out/northern-latitudes-degrees.json index d68fce32b1..09fdd5b402 100644 --- a/packages/turf-ellipse/test/out/northern-latitudes-degrees.json +++ b/packages/turf-ellipse/test/out/northern-latitudes-degrees.json @@ -1,72 +1,6 @@ { "type": "FeatureCollection", "features": [ - { - "type": "Feature", - "bbox": [-112.1397763927165, 73, -75.8602236072835, 75.00000000000001], - "properties": { - "stroke-width": 6, - "stroke": "#FFF", - "fill": "#FFF", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-112.1397763927165, 73], - [-75.8602236072835, 73], - [-75.8602236072835, 75.00000000000001], - [-112.1397763927165, 75.00000000000001], - [-112.1397763927165, 73] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [-97.62795527854331, 69.00000000000001, -90.37204472145669, 79], - "properties": { - "stroke-width": 6, - "stroke": "#666", - "fill": "#666", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-97.62795527854331, 69.00000000000001], - [-90.37204472145669, 69.00000000000001], - [-90.37204472145669, 79], - [-97.62795527854331, 79], - [-97.62795527854331, 69.00000000000001] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [-112.1397763927165, 69.00000000000001, -75.8602236072835, 79], - "properties": { - "stroke-width": 6, - "stroke": "#000", - "fill": "#000", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-112.1397763927165, 69.00000000000001], - [-75.8602236072835, 69.00000000000001], - [-75.8602236072835, 79], - [-112.1397763927165, 79], - [-112.1397763927165, 69.00000000000001] - ] - ] - } - }, { "type": "Feature", "properties": { @@ -172,71 +106,71 @@ "type": "Polygon", "coordinates": [ [ - [-89, 74], - [-89.514412, 74.441792], - [-90.45484, 74.705176], - [-91.247791, 74.834874], - [-91.825948, 74.900522], - [-92.247776, 74.936583], - [-92.566244, 74.958005], - [-92.816144, 74.971565], - [-93.019419, 74.980581], - [-93.190158, 74.986796], - [-93.337709, 74.991189], - [-93.468517, 74.994334], - [-93.587201, 74.996586], - [-93.69721, 74.998165], - [-93.801245, 74.99921], - [-93.901528, 74.999806], [-94, 75], - [-94.098472, 74.999806], - [-94.198755, 74.99921], - [-94.30279, 74.998165], - [-94.412799, 74.996586], - [-94.531483, 74.994334], - [-94.662291, 74.991189], - [-94.809842, 74.986796], - [-94.980581, 74.980581], - [-95.183856, 74.971565], - [-95.433756, 74.958005], - [-95.752224, 74.936583], - [-96.174052, 74.900522], - [-96.752209, 74.834874], - [-97.54516, 74.705176], - [-98.485588, 74.441792], - [-99, 74], - [-98.485588, 73.558208], - [-97.54516, 73.294824], - [-96.752209, 73.165126], - [-96.174052, 73.099478], - [-95.752224, 73.063417], - [-95.433756, 73.041995], - [-95.183856, 73.028435], - [-94.980581, 73.019419], - [-94.809842, 73.013204], - [-94.662291, 73.008811], - [-94.531483, 73.005666], - [-94.412799, 73.003414], - [-94.30279, 73.001835], - [-94.198755, 73.00079], - [-94.098472, 73.000194], + [-94.380438, 74.999491], + [-94.76781, 74.997927], + [-95.169541, 74.995189], + [-95.594118, 74.991057], + [-96.051817, 74.985171], + [-96.555726, 74.976964], + [-97.123272, 74.965539], + [-97.778607, 74.949439], + [-98.556455, 74.926222], + [-99.508431, 74.891604], + [-100.713267, 74.837656], + [-102.291358, 74.748857], + [-104.412599, 74.593574], + [-107.217575, 74.310143], + [-110.303952, 73.824318], + [-111.609696, 73.256451], + [-109.490486, 72.972764], + [-106.162049, 72.93242], + [-103.42373, 72.94745], + [-101.439406, 72.963848], + [-99.994457, 72.975376], + [-98.904394, 72.983073], + [-98.049326, 72.988272], + [-97.353915, 72.99187], + [-96.769874, 72.994415], + [-96.265178, 72.996246], + [-95.817769, 72.997574], + [-95.411841, 72.998533], + [-95.035586, 72.999209], + [-94.67977, 72.999659], + [-94.336788, 72.999916], [-94, 73], - [-93.901528, 73.000194], - [-93.801245, 73.00079], - [-93.69721, 73.001835], - [-93.587201, 73.003414], - [-93.468517, 73.005666], - [-93.337709, 73.008811], - [-93.190158, 73.013204], - [-93.019419, 73.019419], - [-92.816144, 73.028435], - [-92.566244, 73.041995], - [-92.247776, 73.063417], - [-91.825948, 73.099478], - [-91.247791, 73.165126], - [-90.45484, 73.294824], - [-89.514412, 73.558208], - [-89, 74] + [-93.663212, 72.999916], + [-93.32023, 72.999659], + [-92.964414, 72.999209], + [-92.588159, 72.998533], + [-92.182231, 72.997574], + [-91.734822, 72.996246], + [-91.230126, 72.994415], + [-90.646085, 72.99187], + [-89.950674, 72.988272], + [-89.095606, 72.983073], + [-88.005543, 72.975376], + [-86.560594, 72.963848], + [-84.57627, 72.94745], + [-81.837951, 72.93242], + [-78.509514, 72.972764], + [-76.390304, 73.256451], + [-77.696048, 73.824318], + [-80.782425, 74.310143], + [-83.587401, 74.593574], + [-85.708642, 74.748857], + [-87.286733, 74.837656], + [-88.491569, 74.891604], + [-89.443545, 74.926222], + [-90.221393, 74.949439], + [-90.876728, 74.965539], + [-91.444274, 74.976964], + [-91.948183, 74.985171], + [-92.405882, 74.991057], + [-92.830459, 74.995189], + [-93.23219, 74.997927], + [-93.619562, 74.999491], + [-94, 75] ] ] } @@ -253,71 +187,71 @@ "type": "Polygon", "coordinates": [ [ - [-94, 69], - [-93.558208, 69.514412], - [-93.294824, 70.45484], - [-93.165126, 71.247791], - [-93.099478, 71.825948], - [-93.063417, 72.247776], - [-93.041995, 72.566244], - [-93.028435, 72.816144], - [-93.019419, 73.019419], - [-93.013204, 73.190158], - [-93.008811, 73.337709], - [-93.005666, 73.468517], - [-93.003414, 73.587201], - [-93.001835, 73.69721], - [-93.00079, 73.801245], - [-93.000194, 73.901528], - [-93, 74], - [-93.000194, 74.098472], - [-93.00079, 74.198755], - [-93.001835, 74.30279], - [-93.003414, 74.412799], - [-93.005666, 74.531483], - [-93.008811, 74.662291], - [-93.013204, 74.809842], - [-93.019419, 74.980581], - [-93.028435, 75.183856], - [-93.041995, 75.433756], - [-93.063417, 75.752224], - [-93.099478, 76.174052], - [-93.165126, 76.752209], - [-93.294824, 77.54516], - [-93.558208, 78.485588], [-94, 79], - [-94.441792, 78.485588], - [-94.705176, 77.54516], - [-94.834874, 76.752209], - [-94.900522, 76.174052], - [-94.936583, 75.752224], - [-94.958005, 75.433756], - [-94.971565, 75.183856], - [-94.980581, 74.980581], - [-94.986796, 74.809842], - [-94.991189, 74.662291], - [-94.994334, 74.531483], - [-94.996586, 74.412799], - [-94.998165, 74.30279], - [-94.99921, 74.198755], - [-94.999806, 74.098472], - [-95, 74], - [-94.999806, 73.901528], - [-94.99921, 73.801245], - [-94.998165, 73.69721], - [-94.996586, 73.587201], - [-94.994334, 73.468517], - [-94.991189, 73.337709], - [-94.986796, 73.190158], - [-94.980581, 73.019419], - [-94.971565, 72.816144], - [-94.958005, 72.566244], - [-94.936583, 72.247776], - [-94.900522, 71.825948], - [-94.834874, 71.247791], - [-94.705176, 70.45484], - [-94.441792, 69.514412], - [-94, 69] + [-96.20993, 78.477336], + [-97.264288, 77.525732], + [-97.637161, 76.726612], + [-97.762333, 76.145519], + [-97.799667, 75.722275], + [-97.803572, 75.403106], + [-97.793928, 75.152864], + [-97.778607, 74.949439], + [-97.760916, 74.778659], + [-97.74227, 74.631131], + [-97.723248, 74.50039], + [-97.704036, 74.381803], + [-97.684617, 74.271913], + [-97.664865, 74.168017], + [-97.644576, 74.067892], + [-97.623485, 73.969595], + [-97.601258, 73.871321], + [-97.577474, 73.77126], + [-97.551594, 73.667479], + [-97.522913, 73.557762], + [-97.490472, 73.439421], + [-97.452938, 73.309023], + [-97.408384, 73.161975], + [-97.353915, 72.99187], + [-97.285006, 72.789418], + [-97.19421, 72.54063], + [-97.068591, 72.223733], + [-96.884249, 71.804235], + [-96.594386, 71.229702], + [-96.105631, 70.442456], + [-95.260891, 69.509774], + [-94, 69], + [-92.739109, 69.509774], + [-91.894369, 70.442456], + [-91.405614, 71.229702], + [-91.115751, 71.804235], + [-90.931409, 72.223733], + [-90.80579, 72.54063], + [-90.714994, 72.789418], + [-90.646085, 72.99187], + [-90.591616, 73.161975], + [-90.547062, 73.309023], + [-90.509528, 73.439421], + [-90.477087, 73.557762], + [-90.448406, 73.667479], + [-90.422526, 73.77126], + [-90.398742, 73.871321], + [-90.376515, 73.969595], + [-90.355424, 74.067892], + [-90.335135, 74.168017], + [-90.315383, 74.271913], + [-90.295964, 74.381803], + [-90.276752, 74.50039], + [-90.25773, 74.631131], + [-90.239084, 74.778659], + [-90.221393, 74.949439], + [-90.206072, 75.152864], + [-90.196428, 75.403106], + [-90.200333, 75.722275], + [-90.237667, 76.145519], + [-90.362839, 76.726612], + [-90.735712, 77.525732], + [-91.79007, 78.477336], + [-94, 79] ] ] } diff --git a/packages/turf-ellipse/test/out/northern-latitudes.json b/packages/turf-ellipse/test/out/northern-latitudes.json index 451887bfae..7ebcc503c8 100644 --- a/packages/turf-ellipse/test/out/northern-latitudes.json +++ b/packages/turf-ellipse/test/out/northern-latitudes.json @@ -1,78 +1,6 @@ { "type": "FeatureCollection", "features": [ - { - "type": "Feature", - "bbox": [ - -95.63134703033796, 73.91006796362754, -92.36865296966204, 74.08993203637246 - ], - "properties": { - "stroke-width": 6, - "stroke": "#FFF", - "fill": "#FFF", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-95.63134703033796, 73.91006796362754], - [-92.36865296966204, 73.91006796362754], - [-92.36865296966204, 74.08993203637246], - [-95.63134703033796, 74.08993203637246], - [-95.63134703033796, 73.91006796362754] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [ - -94.32626940606758, 73.55033981813773, -93.67373059393242, 74.44966018186227 - ], - "properties": { - "stroke-width": 6, - "stroke": "#666", - "fill": "#666", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-94.32626940606758, 73.55033981813773], - [-93.67373059393242, 73.55033981813773], - [-93.67373059393242, 74.44966018186227], - [-94.32626940606758, 74.44966018186227], - [-94.32626940606758, 73.55033981813773] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [ - -95.63134703033796, 73.55033981813773, -92.36865296966204, 74.44966018186227 - ], - "properties": { - "stroke-width": 6, - "stroke": "#000", - "fill": "#000", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-95.63134703033796, 73.55033981813773], - [-92.36865296966204, 73.55033981813773], - [-92.36865296966204, 74.44966018186227], - [-95.63134703033796, 74.44966018186227], - [-95.63134703033796, 73.55033981813773] - ] - ] - } - }, { "type": "Feature", "properties": { @@ -242,135 +170,135 @@ "type": "Polygon", "coordinates": [ [ - [-92.368653, 74], - [-92.782084, 74.059832], - [-93.203223, 74.078476], - [-93.431704, 74.084299], - [-93.564304, 74.086665], - [-93.649362, 74.08783], - [-93.708311, 74.088483], - [-93.751588, 74.088883], - [-93.784783, 74.089146], - [-93.811133, 74.089327], - [-93.832637, 74.089458], - [-93.850588, 74.089554], - [-93.865863, 74.089628], - [-93.879074, 74.089685], - [-93.890664, 74.08973], - [-93.900958, 74.089766], - [-93.910204, 74.089796], - [-93.918592, 74.08982], - [-93.92627, 74.08984], - [-93.933358, 74.089857], - [-93.93995, 74.089871], - [-93.946126, 74.089883], - [-93.951951, 74.089893], - [-93.95748, 74.089901], - [-93.962759, 74.089909], - [-93.967828, 74.089915], - [-93.972723, 74.089919], - [-93.977475, 74.089923], - [-93.982112, 74.089927], - [-93.98666, 74.089929], - [-93.991143, 74.089931], - [-93.995582, 74.089932], [-94, 74.089932], - [-94.004418, 74.089932], - [-94.008857, 74.089931], - [-94.01334, 74.089929], - [-94.017888, 74.089927], - [-94.022525, 74.089923], - [-94.027277, 74.089919], - [-94.032172, 74.089915], - [-94.037241, 74.089909], - [-94.04252, 74.089901], - [-94.048049, 74.089893], - [-94.053874, 74.089883], - [-94.06005, 74.089871], - [-94.066642, 74.089857], - [-94.07373, 74.08984], - [-94.081408, 74.08982], - [-94.089796, 74.089796], - [-94.099042, 74.089766], - [-94.109336, 74.08973], - [-94.120926, 74.089685], - [-94.134137, 74.089628], - [-94.149412, 74.089554], - [-94.167363, 74.089458], - [-94.188867, 74.089327], - [-94.215217, 74.089146], - [-94.248412, 74.088883], - [-94.291689, 74.088483], - [-94.350638, 74.08783], - [-94.435696, 74.086665], - [-94.568296, 74.084299], - [-94.796777, 74.078476], - [-95.217916, 74.059832], - [-95.631347, 74], - [-95.217916, 73.940168], - [-94.796777, 73.921524], - [-94.568296, 73.915701], - [-94.435696, 73.913335], - [-94.350638, 73.91217], - [-94.291689, 73.911517], - [-94.248412, 73.911117], - [-94.215217, 73.910854], - [-94.188867, 73.910673], - [-94.167363, 73.910542], - [-94.149412, 73.910446], - [-94.134137, 73.910372], - [-94.120926, 73.910315], - [-94.109336, 73.91027], - [-94.099042, 73.910234], - [-94.089796, 73.910204], - [-94.081408, 73.91018], - [-94.07373, 73.91016], - [-94.066642, 73.910143], - [-94.06005, 73.910129], - [-94.053874, 73.910117], - [-94.048049, 73.910107], - [-94.04252, 73.910099], - [-94.037241, 73.910091], - [-94.032172, 73.910085], - [-94.027277, 73.910081], - [-94.022525, 73.910077], - [-94.017888, 73.910073], - [-94.01334, 73.910071], - [-94.008857, 73.910069], - [-94.004418, 73.910068], + [-94.016116, 74.089927], + [-94.032305, 74.089912], + [-94.048642, 74.089887], + [-94.065204, 74.089851], + [-94.082073, 74.089804], + [-94.099334, 74.089744], + [-94.117082, 74.089671], + [-94.135422, 74.089583], + [-94.15447, 74.089477], + [-94.174355, 74.089353], + [-94.195229, 74.089205], + [-94.217263, 74.089031], + [-94.240661, 74.088826], + [-94.26566, 74.088582], + [-94.292545, 74.088293], + [-94.321657, 74.087948], + [-94.353411, 74.087532], + [-94.388316, 74.087028], + [-94.427, 74.086411], + [-94.470247, 74.085647], + [-94.519042, 74.084688], + [-94.574626, 74.083469], + [-94.638563, 74.081893], + [-94.712807, 74.079817], + [-94.799731, 74.077029], + [-94.902016, 74.073209], + [-95.022158, 74.067872], + [-95.161013, 74.060312], + [-95.314366, 74.049591], + [-95.466762, 74.034767], + [-95.58595, 74.015643], + [-95.63094, 73.993848], + [-95.581816, 73.972753], + [-95.459688, 73.955329], + [-95.305824, 73.94247], + [-95.152087, 73.933501], + [-95.013452, 73.927337], + [-94.89381, 73.923063], + [-94.792126, 73.920041], + [-94.705815, 73.917857], + [-94.632157, 73.916241], + [-94.568764, 73.915019], + [-94.51368, 73.914079], + [-94.465341, 73.913341], + [-94.42251, 73.912755], + [-94.384208, 73.912282], + [-94.349653, 73.911897], + [-94.318223, 73.911579], + [-94.289411, 73.911315], + [-94.262806, 73.911095], + [-94.238069, 73.91091], + [-94.214918, 73.910753], + [-94.193118, 73.910621], + [-94.172468, 73.910508], + [-94.152795, 73.910413], + [-94.133953, 73.910333], + [-94.115811, 73.910266], + [-94.098254, 73.910211], + [-94.08118, 73.910165], + [-94.064495, 73.910129], + [-94.048113, 73.910102], + [-94.031954, 73.910083], + [-94.015941, 73.910072], [-94, 73.910068], - [-93.995582, 73.910068], - [-93.991143, 73.910069], - [-93.98666, 73.910071], - [-93.982112, 73.910073], - [-93.977475, 73.910077], - [-93.972723, 73.910081], - [-93.967828, 73.910085], - [-93.962759, 73.910091], - [-93.95748, 73.910099], - [-93.951951, 73.910107], - [-93.946126, 73.910117], - [-93.93995, 73.910129], - [-93.933358, 73.910143], - [-93.92627, 73.91016], - [-93.918592, 73.91018], - [-93.910204, 73.910204], - [-93.900958, 73.910234], - [-93.890664, 73.91027], - [-93.879074, 73.910315], - [-93.865863, 73.910372], - [-93.850588, 73.910446], - [-93.832637, 73.910542], - [-93.811133, 73.910673], - [-93.784783, 73.910854], - [-93.751588, 73.911117], - [-93.708311, 73.911517], - [-93.649362, 73.91217], - [-93.564304, 73.913335], - [-93.431704, 73.915701], - [-93.203223, 73.921524], - [-92.782084, 73.940168], - [-92.368653, 74] + [-93.984059, 73.910072], + [-93.968046, 73.910083], + [-93.951887, 73.910102], + [-93.935505, 73.910129], + [-93.91882, 73.910165], + [-93.901746, 73.910211], + [-93.884189, 73.910266], + [-93.866047, 73.910333], + [-93.847205, 73.910413], + [-93.827532, 73.910508], + [-93.806882, 73.910621], + [-93.785082, 73.910753], + [-93.761931, 73.91091], + [-93.737194, 73.911095], + [-93.710589, 73.911315], + [-93.681777, 73.911579], + [-93.650347, 73.911897], + [-93.615792, 73.912282], + [-93.57749, 73.912755], + [-93.534659, 73.913341], + [-93.48632, 73.914079], + [-93.431236, 73.915019], + [-93.367843, 73.916241], + [-93.294185, 73.917857], + [-93.207874, 73.920041], + [-93.10619, 73.923063], + [-92.986548, 73.927337], + [-92.847913, 73.933501], + [-92.694176, 73.94247], + [-92.540312, 73.955329], + [-92.418184, 73.972753], + [-92.36906, 73.993848], + [-92.41405, 74.015643], + [-92.533238, 74.034767], + [-92.685634, 74.049591], + [-92.838987, 74.060312], + [-92.977842, 74.067872], + [-93.097984, 74.073209], + [-93.200269, 74.077029], + [-93.287193, 74.079817], + [-93.361437, 74.081893], + [-93.425374, 74.083469], + [-93.480958, 74.084688], + [-93.529753, 74.085647], + [-93.573, 74.086411], + [-93.611684, 74.087028], + [-93.646589, 74.087532], + [-93.678343, 74.087948], + [-93.707455, 74.088293], + [-93.73434, 74.088582], + [-93.759339, 74.088826], + [-93.782737, 74.089031], + [-93.804771, 74.089205], + [-93.825645, 74.089353], + [-93.84553, 74.089477], + [-93.864578, 74.089583], + [-93.882918, 74.089671], + [-93.900666, 74.089744], + [-93.917927, 74.089804], + [-93.934796, 74.089851], + [-93.951358, 74.089887], + [-93.967695, 74.089912], + [-93.983884, 74.089927], + [-94, 74.089932] ] ] } @@ -387,135 +315,135 @@ "type": "Polygon", "coordinates": [ [ - [-94, 73.55034], - [-93.785114, 73.664909], - [-93.717175, 73.780904], - [-93.695613, 73.843759], - [-93.686723, 73.880223], - [-93.682287, 73.90361], - [-93.679769, 73.919816], - [-93.678204, 73.931714], - [-93.677163, 73.940839], - [-93.676435, 73.948083], - [-93.675906, 73.953994], - [-93.675507, 73.958929], - [-93.6752, 73.963128], - [-93.674957, 73.966759], - [-93.674762, 73.969945], - [-93.674602, 73.972775], - [-93.67447, 73.975317], - [-93.674359, 73.977622], - [-93.674265, 73.979733], - [-93.674185, 73.981681], - [-93.674115, 73.983493], - [-93.674055, 73.985191], - [-93.674003, 73.986792], - [-93.673957, 73.988312], - [-93.673917, 73.989763], - [-93.673882, 73.991157], - [-93.673851, 73.992502], - [-93.673823, 73.993808], - [-93.673799, 73.995083], - [-93.673778, 73.996333], - [-93.67376, 73.997565], - [-93.673744, 73.998786], - [-93.673731, 74], - [-93.67372, 74.001214], - [-93.673711, 74.002435], - [-93.673705, 74.003667], - [-93.673701, 74.004917], - [-93.6737, 74.006192], - [-93.673702, 74.007498], - [-93.673706, 74.008843], - [-93.673714, 74.010237], - [-93.673725, 74.011688], - [-93.673741, 74.013208], - [-93.673761, 74.014809], - [-93.673788, 74.016507], - [-93.673821, 74.018319], - [-93.673863, 74.020267], - [-93.673915, 74.022378], - [-93.67398, 74.024683], - [-93.674062, 74.027225], - [-93.674166, 74.030055], - [-93.674299, 74.033241], - [-93.67447, 74.036872], - [-93.674695, 74.041071], - [-93.674997, 74.046006], - [-93.675411, 74.051917], - [-93.675999, 74.059161], - [-93.676863, 74.068286], - [-93.678202, 74.080184], - [-93.680418, 74.09639], - [-93.68443, 74.119777], - [-93.692704, 74.156241], - [-93.713378, 74.219096], - [-93.780685, 74.335091], [-94, 74.44966], - [-94.219323, 74.336314], - [-94.286632, 74.220145], - [-94.307304, 74.157045], - [-94.315576, 74.12041], - [-94.319587, 74.096907], - [-94.321802, 74.080617], - [-94.32314, 74.068657], - [-94.324005, 74.059483], - [-94.324591, 74.0522], - [-94.325006, 74.046257], - [-94.325307, 74.041296], - [-94.325532, 74.037074], - [-94.325703, 74.033423], - [-94.325836, 74.030219], - [-94.325939, 74.027374], - [-94.326021, 74.024819], - [-94.326086, 74.0225], - [-94.326138, 74.020378], - [-94.32618, 74.018419], - [-94.326213, 74.016597], - [-94.326239, 74.01489], - [-94.32626, 74.01328], - [-94.326275, 74.011752], - [-94.326287, 74.010293], - [-94.326294, 74.008892], - [-94.326299, 74.007539], - [-94.3263, 74.006226], - [-94.326299, 74.004944], - [-94.326295, 74.003687], - [-94.326289, 74.002448], - [-94.32628, 74.001221], - [-94.326269, 74], - [-94.326256, 73.998779], - [-94.32624, 73.997552], - [-94.326222, 73.996313], - [-94.326201, 73.995056], - [-94.326177, 73.993774], - [-94.326149, 73.992461], - [-94.326118, 73.991108], - [-94.326082, 73.989707], - [-94.326042, 73.988248], - [-94.325996, 73.98672], - [-94.325944, 73.98511], - [-94.325884, 73.983403], - [-94.325814, 73.981581], - [-94.325734, 73.979622], - [-94.32564, 73.9775], - [-94.325529, 73.975181], - [-94.325397, 73.972626], - [-94.325237, 73.969781], - [-94.325041, 73.966577], - [-94.324798, 73.962926], - [-94.32449, 73.958704], - [-94.324092, 73.953743], - [-94.323562, 73.9478], - [-94.322834, 73.940517], - [-94.321793, 73.931343], - [-94.320227, 73.919383], - [-94.317708, 73.903093], - [-94.313271, 73.87959], - [-94.30438, 73.842955], - [-94.282816, 73.779855], - [-94.214878, 73.663686], - [-94, 73.55034] + [-94.079956, 74.436665], + [-94.147774, 74.403349], + [-94.198734, 74.361076], + [-94.234632, 74.318699], + [-94.259397, 74.280414], + [-94.27656, 74.247338], + [-94.288652, 74.219205], + [-94.29735, 74.195315], + [-94.303742, 74.17492], + [-94.308536, 74.157363], + [-94.312197, 74.142105], + [-94.315038, 74.128713], + [-94.317275, 74.116846], + [-94.319057, 74.106233], + [-94.320492, 74.096658], + [-94.321657, 74.087948], + [-94.32261, 74.079963], + [-94.323392, 74.07259], + [-94.324037, 74.065734], + [-94.324568, 74.059318], + [-94.325006, 74.053277], + [-94.325364, 74.047553], + [-94.325656, 74.042101], + [-94.325889, 74.036879], + [-94.326071, 74.031851], + [-94.326208, 74.026985], + [-94.326304, 74.022253], + [-94.326363, 74.017628], + [-94.326388, 74.013088], + [-94.326379, 74.00861], + [-94.326338, 74.004172], + [-94.326266, 73.999754], + [-94.326163, 73.995336], + [-94.326027, 73.990898], + [-94.325858, 73.98642], + [-94.325654, 73.98188], + [-94.325412, 73.977256], + [-94.325129, 73.972525], + [-94.324799, 73.967659], + [-94.324419, 73.962632], + [-94.323981, 73.957411], + [-94.323477, 73.95196], + [-94.322895, 73.946238], + [-94.322223, 73.940198], + [-94.321444, 73.933784], + [-94.320537, 73.926931], + [-94.319475, 73.91956], + [-94.318223, 73.911579], + [-94.316734, 73.902873], + [-94.314949, 73.893303], + [-94.312785, 73.882695], + [-94.310131, 73.870835], + [-94.306834, 73.857452], + [-94.302674, 73.842205], + [-94.297335, 73.824663], + [-94.290356, 73.804286], + [-94.281044, 73.78042], + [-94.268351, 73.752319], + [-94.250686, 73.719285], + [-94.225699, 73.681057], + [-94.190184, 73.638749], + [-94.140691, 73.596555], + [-94.075816, 73.563307], + [-94, 73.55034], + [-93.924184, 73.563307], + [-93.859309, 73.596555], + [-93.809816, 73.638749], + [-93.774301, 73.681057], + [-93.749314, 73.719285], + [-93.731649, 73.752319], + [-93.718956, 73.78042], + [-93.709644, 73.804286], + [-93.702665, 73.824663], + [-93.697326, 73.842205], + [-93.693166, 73.857452], + [-93.689869, 73.870835], + [-93.687215, 73.882695], + [-93.685051, 73.893303], + [-93.683266, 73.902873], + [-93.681777, 73.911579], + [-93.680525, 73.91956], + [-93.679463, 73.926931], + [-93.678556, 73.933784], + [-93.677777, 73.940198], + [-93.677105, 73.946238], + [-93.676523, 73.95196], + [-93.676019, 73.957411], + [-93.675581, 73.962632], + [-93.675201, 73.967659], + [-93.674871, 73.972525], + [-93.674588, 73.977256], + [-93.674346, 73.98188], + [-93.674142, 73.98642], + [-93.673973, 73.990898], + [-93.673837, 73.995336], + [-93.673734, 73.999754], + [-93.673662, 74.004172], + [-93.673621, 74.00861], + [-93.673612, 74.013088], + [-93.673637, 74.017628], + [-93.673696, 74.022253], + [-93.673792, 74.026985], + [-93.673929, 74.031851], + [-93.674111, 74.036879], + [-93.674344, 74.042101], + [-93.674636, 74.047553], + [-93.674994, 74.053277], + [-93.675432, 74.059318], + [-93.675963, 74.065734], + [-93.676608, 74.07259], + [-93.67739, 74.079963], + [-93.678343, 74.087948], + [-93.679508, 74.096658], + [-93.680943, 74.106233], + [-93.682725, 74.116846], + [-93.684962, 74.128713], + [-93.687803, 74.142105], + [-93.691464, 74.157363], + [-93.696258, 74.17492], + [-93.70265, 74.195315], + [-93.711348, 74.219205], + [-93.72344, 74.247338], + [-93.740603, 74.280414], + [-93.765368, 74.318699], + [-93.801266, 74.361076], + [-93.852226, 74.403349], + [-93.920044, 74.436665], + [-94, 74.44966] ] ] } diff --git a/packages/turf-ellipse/test/out/rotation-degrees.json b/packages/turf-ellipse/test/out/rotation-degrees.json index 1a5e7432a6..bc1d6efed5 100644 --- a/packages/turf-ellipse/test/out/rotation-degrees.json +++ b/packages/turf-ellipse/test/out/rotation-degrees.json @@ -1,85 +1,13 @@ { "type": "FeatureCollection", "features": [ - { - "type": "Feature", - "bbox": [ - -74.11421824800942, 40.71315533047033, -73.8809366917385, 40.748510669529665 - ], - "properties": { - "stroke-width": 6, - "stroke": "#FFF", - "fill": "#FFF", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-74.11421824800942, 40.71315533047033], - [-73.8809366917385, 40.71315533047033], - [-73.8809366917385, 40.748510669529665], - [-74.11421824800942, 40.748510669529665], - [-74.11421824800942, 40.71315533047033] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [ - -74.02083123236167, 40.64244465235168, -73.97417496521712, 40.819221347648316 - ], - "properties": { - "stroke-width": 6, - "stroke": "#666", - "fill": "#666", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-74.02083123236167, 40.64244465235168], - [-73.97417496521712, 40.64244465235168], - [-73.97417496521712, 40.819221347648316], - [-74.02083123236167, 40.819221347648316], - [-74.02083123236167, 40.64244465235168] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [ - -74.11421824800942, 40.64244465235168, -73.8809366917385, 40.819221347648316 - ], - "properties": { - "stroke-width": 6, - "stroke": "#000", - "fill": "#000", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-74.11421824800942, 40.64244465235168], - [-73.8809366917385, 40.64244465235168], - [-73.8809366917385, 40.819221347648316], - [-74.11421824800942, 40.819221347648316], - [-74.11421824800942, 40.64244465235168] - ] - ] - } - }, { "type": "Feature", "properties": { "units": "degrees", "xSemiAxis": 0.125, "ySemiAxis": 0.025, - "angle": 45 + "angle": 30 }, "geometry": { "type": "Point", @@ -179,71 +107,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.909112, 40.642445], - [-73.910395, 40.659348], - [-73.922364, 40.680629], - [-73.934089, 40.696939], - [-73.943149, 40.70832], - [-73.949968, 40.716414], - [-73.955219, 40.722423], - [-73.959397, 40.72708], - [-73.962831, 40.730833], - [-73.96574, 40.733961], - [-73.96827, 40.736647], - [-73.970527, 40.739015], - [-73.972585, 40.741153], - [-73.974502, 40.743126], - [-73.976323, 40.744983], - [-73.978085, 40.746766], - [-73.979822, 40.748511], - [-73.981567, 40.750248], - [-73.98335, 40.75201], - [-73.985207, 40.753831], - [-73.98718, 40.755748], - [-73.989318, 40.757806], - [-73.991686, 40.760063], - [-73.994372, 40.762593], - [-73.9975, 40.765502], - [-74.001253, 40.768936], - [-74.00591, 40.773114], - [-74.011919, 40.778365], - [-74.020013, 40.785184], - [-74.031394, 40.794244], - [-74.047704, 40.805969], - [-74.068985, 40.817938], - [-74.085888, 40.819221], - [-74.084605, 40.802318], - [-74.072636, 40.781037], - [-74.060911, 40.764727], - [-74.051851, 40.753346], - [-74.045032, 40.745252], - [-74.039781, 40.739243], - [-74.035603, 40.734586], - [-74.032169, 40.730833], - [-74.02926, 40.727705], - [-74.02673, 40.725019], - [-74.024473, 40.722651], - [-74.022415, 40.720513], - [-74.020498, 40.71854], - [-74.018677, 40.716683], - [-74.016915, 40.7149], - [-74.015178, 40.713155], - [-74.013433, 40.711418], - [-74.01165, 40.709656], - [-74.009793, 40.707835], - [-74.00782, 40.705918], - [-74.005682, 40.70386], - [-74.003314, 40.701603], - [-74.000628, 40.699073], - [-73.9975, 40.696164], - [-73.993747, 40.69273], - [-73.98909, 40.688552], - [-73.983081, 40.683301], - [-73.974987, 40.676482], - [-73.963606, 40.667422], - [-73.947296, 40.655697], - [-73.926015, 40.643728], - [-73.909112, 40.642445] + [-73.9975, 40.75951], + [-74.00144, 40.761131], + [-74.005936, 40.762955], + [-74.011208, 40.765057], + [-74.01758, 40.767546], + [-74.025553, 40.770577], + [-74.035928, 40.774379], + [-74.050006, 40.779268], + [-74.06979, 40.785546], + [-74.097259, 40.792772], + [-74.128244, 40.796894], + [-74.141269, 40.788926], + [-74.125971, 40.771062], + [-74.103066, 40.755043], + [-74.084246, 40.743873], + [-74.070284, 40.736242], + [-74.059847, 40.730816], + [-74.051788, 40.726768], + [-74.045341, 40.723611], + [-74.040009, 40.721052], + [-74.035467, 40.718907], + [-74.031493, 40.717056], + [-74.02793, 40.715417], + [-74.024665, 40.713932], + [-74.02161, 40.712555], + [-74.018695, 40.711255], + [-74.015861, 40.710002], + [-74.013055, 40.708773], + [-74.010225, 40.707544], + [-74.007319, 40.706294], + [-74.004279, 40.704998], + [-74.001034, 40.70363], + [-73.9975, 40.702156], + [-73.993564, 40.700535], + [-73.989072, 40.69871], + [-73.983806, 40.696607], + [-73.977443, 40.694117], + [-73.969481, 40.691083], + [-73.959122, 40.687274], + [-73.94507, 40.682374], + [-73.925329, 40.676075], + [-73.897927, 40.668808], + [-73.867016, 40.664625], + [-73.853982, 40.672562], + [-73.869185, 40.690461], + [-73.892011, 40.706527], + [-73.910788, 40.717728], + [-73.924728, 40.725378], + [-73.935153, 40.730816], + [-73.943205, 40.734872], + [-73.949649, 40.738035], + [-73.954978, 40.740598], + [-73.959519, 40.742746], + [-73.963493, 40.7446], + [-73.967055, 40.746241], + [-73.970321, 40.747728], + [-73.973377, 40.749106], + [-73.976293, 40.750407], + [-73.979128, 40.751661], + [-73.981935, 40.752891], + [-73.984766, 40.754121], + [-73.987673, 40.755371], + [-73.990716, 40.756667], + [-73.993963, 40.758036], + [-73.9975, 40.75951] ] ] } @@ -260,71 +188,71 @@ "type": "Polygon", "coordinates": [ [ - [-74.085888, 40.642445], - [-74.068985, 40.643728], - [-74.047704, 40.655697], - [-74.031394, 40.667422], - [-74.020013, 40.676482], - [-74.011919, 40.683301], - [-74.00591, 40.688552], - [-74.001253, 40.69273], - [-73.9975, 40.696164], - [-73.994372, 40.699073], - [-73.991686, 40.701603], - [-73.989318, 40.70386], - [-73.98718, 40.705918], - [-73.985207, 40.707835], - [-73.98335, 40.709656], - [-73.981567, 40.711418], - [-73.979822, 40.713155], - [-73.978085, 40.7149], - [-73.976323, 40.716683], - [-73.974502, 40.71854], - [-73.972585, 40.720513], - [-73.970527, 40.722651], - [-73.96827, 40.725019], - [-73.96574, 40.727705], - [-73.962831, 40.730833], - [-73.959397, 40.734586], - [-73.955219, 40.739243], - [-73.949968, 40.745252], - [-73.943149, 40.753346], - [-73.934089, 40.764727], - [-73.922364, 40.781037], - [-73.910395, 40.802318], - [-73.909112, 40.819221], - [-73.926015, 40.817938], - [-73.947296, 40.805969], - [-73.963606, 40.794244], - [-73.974987, 40.785184], - [-73.983081, 40.778365], - [-73.98909, 40.773114], - [-73.993747, 40.768936], - [-73.9975, 40.765502], - [-74.000628, 40.762593], - [-74.003314, 40.760063], - [-74.005682, 40.757806], - [-74.00782, 40.755748], - [-74.009793, 40.753831], - [-74.01165, 40.75201], - [-74.013433, 40.750248], - [-74.015178, 40.748511], - [-74.016915, 40.746766], - [-74.018677, 40.744983], - [-74.020498, 40.743126], - [-74.022415, 40.741153], - [-74.024473, 40.739015], - [-74.02673, 40.736647], - [-74.02926, 40.733961], - [-74.032169, 40.730833], - [-74.035603, 40.72708], - [-74.039781, 40.722423], - [-74.045032, 40.716414], - [-74.051851, 40.70832], - [-74.060911, 40.696939], - [-74.072636, 40.680629], - [-74.084605, 40.659348], - [-74.085888, 40.642445] + [-73.9975, 40.778079], + [-74.002851, 40.771974], + [-74.007022, 40.76709], + [-74.010403, 40.76305], + [-74.013236, 40.759608], + [-74.01568, 40.756596], + [-74.017845, 40.753896], + [-74.019806, 40.751421], + [-74.021623, 40.749106], + [-74.02334, 40.746896], + [-74.024993, 40.744748], + [-74.026616, 40.74262], + [-74.028236, 40.740475], + [-74.029886, 40.738272], + [-74.031595, 40.735967], + [-74.033399, 40.733507], + [-74.035343, 40.730827], + [-74.037481, 40.727842], + [-74.039886, 40.724436], + [-74.042658, 40.720442], + [-74.045939, 40.715615], + [-74.049935, 40.709576], + [-74.054949, 40.701718], + [-74.061394, 40.691056], + [-74.069671, 40.676075], + [-74.079201, 40.655279], + [-74.084644, 40.631823], + [-74.074154, 40.621957], + [-74.050605, 40.633527], + [-74.029473, 40.650862], + [-74.014734, 40.66511], + [-74.004662, 40.675683], + [-73.9975, 40.683587], + [-73.992156, 40.689692], + [-73.987988, 40.694576], + [-73.984609, 40.698615], + [-73.981777, 40.702056], + [-73.979334, 40.705067], + [-73.977169, 40.707766], + [-73.975207, 40.71024], + [-73.97339, 40.712555], + [-73.971673, 40.714764], + [-73.970018, 40.716912], + [-73.968395, 40.719038], + [-73.966772, 40.721183], + [-73.965122, 40.723385], + [-73.963411, 40.725689], + [-73.961604, 40.728148], + [-73.959657, 40.730827], + [-73.957515, 40.73381], + [-73.955106, 40.737215], + [-73.952328, 40.741206], + [-73.949039, 40.74603], + [-73.945031, 40.752066], + [-73.940001, 40.75992], + [-73.933529, 40.770575], + [-73.92521, 40.785546], + [-73.915613, 40.806329], + [-73.910096, 40.829777], + [-73.920595, 40.839658], + [-73.94424, 40.828115], + [-73.96545, 40.810796], + [-73.980231, 40.796553], + [-73.990326, 40.785983], + [-73.9975, 40.778079] ] ] } diff --git a/packages/turf-ellipse/test/out/rotation.json b/packages/turf-ellipse/test/out/rotation.json index 66fc3f2051..7b40241c3e 100644 --- a/packages/turf-ellipse/test/out/rotation.json +++ b/packages/turf-ellipse/test/out/rotation.json @@ -1,84 +1,12 @@ { "type": "FeatureCollection", "features": [ - { - "type": "Feature", - "bbox": [ - -74.03946895975423, 40.724473844723505, -73.95555109008865, 40.73719215527649 - ], - "properties": { - "stroke-width": 6, - "stroke": "#FFF", - "fill": "#FFF", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-74.03946895975423, 40.724473844723505], - [-73.95555109008865, 40.724473844723505], - [-73.95555109008865, 40.73719215527649], - [-74.03946895975423, 40.73719215527649], - [-74.03946895975423, 40.724473844723505] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [ - -74.00589218693665, 40.69903722361756, -73.98910861505686, 40.76262877638244 - ], - "properties": { - "stroke-width": 6, - "stroke": "#666", - "fill": "#666", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-74.00589218693665, 40.69903722361756], - [-73.98910861505686, 40.69903722361756], - [-73.98910861505686, 40.76262877638244], - [-74.00589218693665, 40.76262877638244], - [-74.00589218693665, 40.69903722361756] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [ - -74.03946895975423, 40.69903722361756, -73.95555109008865, 40.76262877638244 - ], - "properties": { - "stroke-width": 6, - "stroke": "#000", - "fill": "#000", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-74.03946895975423, 40.69903722361756], - [-73.95555109008865, 40.69903722361756], - [-73.95555109008865, 40.76262877638244], - [-74.03946895975423, 40.76262877638244], - [-74.03946895975423, 40.69903722361756] - ] - ] - } - }, { "type": "Feature", "properties": { "xSemiAxis": 5, "ySemiAxis": 1, - "angle": 45 + "angle": 30 }, "geometry": { "type": "Point", @@ -178,71 +106,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.955551, 40.699037], - [-73.957753, 40.707639], - [-73.9654, 40.716622], - [-73.971243, 40.722312], - [-73.975203, 40.72588], - [-73.977982, 40.728278], - [-73.980035, 40.730002], - [-73.981628, 40.731313], - [-73.982916, 40.732356], - [-73.983994, 40.733219], - [-73.984923, 40.733957], - [-73.985748, 40.734604], - [-73.986496, 40.735188], - [-73.98719, 40.735725], - [-73.987847, 40.736231], - [-73.988483, 40.736717], - [-73.989108, 40.737192], - [-73.989735, 40.737666], - [-73.990376, 40.738147], - [-73.991044, 40.738646], - [-73.991753, 40.739172], - [-73.992523, 40.739739], - [-73.993378, 40.740363], - [-73.994351, 40.741068], - [-73.99549, 40.741884], - [-73.996867, 40.74286], - [-73.998597, 40.744067], - [-74.000872, 40.745624], - [-74.004037, 40.74773], - [-74.008747, 40.750732], - [-74.016256, 40.75516], - [-74.028115, 40.760958], - [-74.039469, 40.762629], - [-74.037263, 40.754029], - [-74.029609, 40.745046], - [-74.023763, 40.739356], - [-74.0198, 40.735787], - [-74.017021, 40.733389], - [-74.014966, 40.731665], - [-74.013373, 40.730354], - [-74.012085, 40.72931], - [-74.011007, 40.728447], - [-74.010077, 40.72771], - [-74.009252, 40.727062], - [-74.008504, 40.726479], - [-74.00781, 40.725941], - [-74.007152, 40.725435], - [-74.006517, 40.724949], - [-74.005891, 40.724474], - [-74.005264, 40.724], - [-74.004623, 40.723519], - [-74.003955, 40.72302], - [-74.003246, 40.722494], - [-74.002476, 40.721927], - [-74.001621, 40.721303], - [-74.000648, 40.720598], - [-73.999509, 40.719781], - [-73.998132, 40.718805], - [-73.996402, 40.717598], - [-73.994127, 40.716041], - [-73.990963, 40.713935], - [-73.986254, 40.710933], - [-73.978748, 40.706504], - [-73.966896, 40.700706], - [-73.955551, 40.699037] + [-73.9975, 40.741149], + [-73.998917, 40.741732], + [-74.000534, 40.742388], + [-74.002429, 40.743145], + [-74.004721, 40.74404], + [-74.007588, 40.745131], + [-74.011318, 40.746499], + [-74.016379, 40.748259], + [-74.023491, 40.75052], + [-74.033365, 40.753124], + [-74.044502, 40.754614], + [-74.049189, 40.751751], + [-74.043697, 40.745321], + [-74.035466, 40.739553], + [-74.028701, 40.735531], + [-74.023681, 40.732784], + [-74.019928, 40.730831], + [-74.01703, 40.729374], + [-74.014711, 40.728237], + [-74.012793, 40.727316], + [-74.01116, 40.726544], + [-74.00973, 40.725878], + [-74.008448, 40.725289], + [-74.007274, 40.724754], + [-74.006175, 40.724259], + [-74.005126, 40.723791], + [-74.004106, 40.72334], + [-74.003097, 40.722897], + [-74.002079, 40.722455], + [-74.001033, 40.722006], + [-73.999939, 40.72154], + [-73.998772, 40.721047], + [-73.9975, 40.720517], + [-73.996084, 40.719934], + [-73.994467, 40.719278], + [-73.992572, 40.718521], + [-73.990282, 40.717626], + [-73.987417, 40.716534], + [-73.983689, 40.715165], + [-73.978631, 40.713404], + [-73.971524, 40.71114], + [-73.961659, 40.708531], + [-73.950531, 40.707033], + [-73.945844, 40.709892], + [-73.951323, 40.716327], + [-73.959544, 40.722101], + [-73.966303, 40.726126], + [-73.97132, 40.728876], + [-73.975072, 40.730831], + [-73.977969, 40.732289], + [-73.980288, 40.733426], + [-73.982205, 40.734348], + [-73.983839, 40.73512], + [-73.985268, 40.735786], + [-73.98655, 40.736376], + [-73.987725, 40.736911], + [-73.988824, 40.737407], + [-73.989873, 40.737875], + [-73.990892, 40.738326], + [-73.991902, 40.738768], + [-73.99292, 40.73921], + [-73.993966, 40.73966], + [-73.99506, 40.740126], + [-73.996228, 40.740619], + [-73.9975, 40.741149] ] ] } @@ -259,71 +187,71 @@ "type": "Polygon", "coordinates": [ [ - [-74.039449, 40.699037], - [-74.028101, 40.700708], - [-74.01625, 40.706506], - [-74.008743, 40.710934], - [-74.004035, 40.713936], - [-74.000871, 40.716042], - [-73.998597, 40.717599], - [-73.996867, 40.718806], - [-73.99549, 40.719782], - [-73.994351, 40.720598], - [-73.993378, 40.721303], - [-73.992524, 40.721927], - [-73.991754, 40.722494], - [-73.991044, 40.72302], - [-73.990377, 40.723519], - [-73.989736, 40.724], - [-73.989109, 40.724474], - [-73.988483, 40.724949], - [-73.987848, 40.725435], - [-73.987191, 40.725941], - [-73.986496, 40.726478], - [-73.985748, 40.727062], - [-73.984924, 40.727709], - [-73.983994, 40.728447], - [-73.982916, 40.72931], - [-73.981629, 40.730353], - [-73.980035, 40.731664], - [-73.977981, 40.733388], - [-73.975202, 40.735786], - [-73.971239, 40.739354], - [-73.965394, 40.745044], - [-73.957739, 40.754027], - [-73.955531, 40.762629], - [-73.966882, 40.76096], - [-73.978741, 40.755162], - [-73.986251, 40.750733], - [-73.990961, 40.747731], - [-73.994126, 40.745625], - [-73.996402, 40.744068], - [-73.998132, 40.742861], - [-73.999509, 40.741885], - [-74.000649, 40.741068], - [-74.001622, 40.740363], - [-74.002477, 40.739739], - [-74.003247, 40.739172], - [-74.003956, 40.738646], - [-74.004624, 40.738147], - [-74.005265, 40.737666], - [-74.005892, 40.737192], - [-74.006518, 40.736717], - [-74.007153, 40.736231], - [-74.00781, 40.735725], - [-74.008505, 40.735187], - [-74.009253, 40.734604], - [-74.010077, 40.733956], - [-74.011007, 40.733219], - [-74.012085, 40.732356], - [-74.013373, 40.731312], - [-74.014966, 40.730001], - [-74.01702, 40.728277], - [-74.019798, 40.725879], - [-74.02376, 40.72231], - [-74.029602, 40.71662], - [-74.037249, 40.707637], - [-74.039449, 40.699037] + [-73.9975, 40.747829], + [-73.999424, 40.745633], + [-74.000924, 40.743876], + [-74.00214, 40.742423], + [-74.003159, 40.741184], + [-74.004038, 40.740101], + [-74.004817, 40.73913], + [-74.005523, 40.73824], + [-74.006176, 40.737407], + [-74.006794, 40.736612], + [-74.007389, 40.735839], + [-74.007972, 40.735074], + [-74.008556, 40.734303], + [-74.009149, 40.73351], + [-74.009764, 40.732681], + [-74.010414, 40.731796], + [-74.011113, 40.730832], + [-74.011883, 40.729759], + [-74.012748, 40.728533], + [-74.013746, 40.727097], + [-74.014927, 40.725361], + [-74.016366, 40.723189], + [-74.018172, 40.720363], + [-74.020493, 40.716528], + [-74.023476, 40.71114], + [-74.026912, 40.703661], + [-74.028878, 40.695224], + [-74.025103, 40.691673], + [-74.016621, 40.695832], + [-74.00901, 40.702066], + [-74.003704, 40.707191], + [-74.000078, 40.710994], + [-73.9975, 40.713837], + [-73.995577, 40.716033], + [-73.994077, 40.71779], + [-73.992861, 40.719243], + [-73.991843, 40.720481], + [-73.990963, 40.721565], + [-73.990185, 40.722536], + [-73.989479, 40.723426], + [-73.988825, 40.724259], + [-73.988208, 40.725053], + [-73.987613, 40.725826], + [-73.987029, 40.726591], + [-73.986445, 40.727362], + [-73.985852, 40.728155], + [-73.985236, 40.728984], + [-73.984587, 40.729868], + [-73.983887, 40.730832], + [-73.983117, 40.731906], + [-73.982251, 40.733131], + [-73.981252, 40.734567], + [-73.98007, 40.736302], + [-73.978629, 40.738474], + [-73.976822, 40.7413], + [-73.974497, 40.745133], + [-73.971509, 40.75052], + [-73.968064, 40.757998], + [-73.966088, 40.766434], + [-73.969864, 40.769986], + [-73.978359, 40.765831], + [-73.98598, 40.759599], + [-73.991292, 40.754475], + [-73.994921, 40.750672], + [-73.9975, 40.747829] ] ] } diff --git a/packages/turf-ellipse/test/out/simple-degrees.json b/packages/turf-ellipse/test/out/simple-degrees.json index 56edf01da7..de59edddd5 100644 --- a/packages/turf-ellipse/test/out/simple-degrees.json +++ b/packages/turf-ellipse/test/out/simple-degrees.json @@ -1,72 +1,6 @@ { "type": "FeatureCollection", "features": [ - { - "type": "Feature", - "bbox": [-80.59569231663727, 39.730833, -67.39930768336274, 41.730833], - "properties": { - "stroke-width": 6, - "stroke": "#FFF", - "fill": "#FFF", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-80.59569231663727, 39.730833], - [-67.39930768336274, 39.730833], - [-67.39930768336274, 41.730833], - [-80.59569231663727, 41.730833], - [-80.59569231663727, 39.730833] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [-75.31713846332747, 35.730833, -72.67786153667254, 45.730833], - "properties": { - "stroke-width": 6, - "stroke": "#666", - "fill": "#666", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-75.31713846332747, 35.730833], - [-72.67786153667254, 35.730833], - [-72.67786153667254, 45.730833], - [-75.31713846332747, 45.730833], - [-75.31713846332747, 35.730833] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [-80.59569231663727, 35.730833, -67.39930768336274, 45.730833], - "properties": { - "stroke-width": 6, - "stroke": "#000", - "fill": "#000", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-80.59569231663727, 35.730833], - [-67.39930768336274, 35.730833], - [-67.39930768336274, 45.730833], - [-80.59569231663727, 45.730833], - [-80.59569231663727, 35.730833] - ] - ] - } - }, { "type": "Feature", "properties": { @@ -172,71 +106,71 @@ "type": "Polygon", "coordinates": [ [ - [-68.9975, 40.730833], - [-69.511912, 41.172625], - [-70.45234, 41.436009], - [-71.245291, 41.565707], - [-71.823448, 41.631355], - [-72.245276, 41.667416], - [-72.563744, 41.688838], - [-72.813644, 41.702398], - [-73.016919, 41.711414], - [-73.187658, 41.717629], - [-73.335209, 41.722022], - [-73.466017, 41.725167], - [-73.584701, 41.727419], - [-73.69471, 41.728998], - [-73.798745, 41.730043], - [-73.899028, 41.730639], [-73.9975, 41.730833], - [-74.095972, 41.730639], - [-74.196255, 41.730043], - [-74.30029, 41.728998], - [-74.410299, 41.727419], - [-74.528983, 41.725167], - [-74.659791, 41.722022], - [-74.807342, 41.717629], - [-74.978081, 41.711414], - [-75.181356, 41.702398], - [-75.431256, 41.688838], - [-75.749724, 41.667416], - [-76.171552, 41.631355], - [-76.749709, 41.565707], - [-77.54266, 41.436009], - [-78.483088, 41.172625], - [-78.9975, 40.730833], - [-78.483088, 40.289041], - [-77.54266, 40.025657], - [-76.749709, 39.895959], - [-76.171552, 39.830311], - [-75.749724, 39.79425], - [-75.431256, 39.772828], - [-75.181356, 39.759268], - [-74.978081, 39.750252], - [-74.807342, 39.744037], - [-74.659791, 39.739644], - [-74.528983, 39.736499], - [-74.410299, 39.734247], - [-74.30029, 39.732668], - [-74.196255, 39.731623], - [-74.095972, 39.731027], + [-74.129444, 41.730565], + [-74.26381, 41.729739], + [-74.403197, 41.728293], + [-74.550578, 41.72611], + [-74.709562, 41.722998], + [-74.88476, 41.718653], + [-75.082339, 41.712593], + [-75.310897, 41.704032], + [-75.582889, 41.691641], + [-75.917048, 41.673066], + [-76.342458, 41.643872], + [-76.904984, 41.595144], + [-77.673648, 41.507773], + [-78.721557, 41.340199], + [-79.947344, 41.020221], + [-80.583334, 40.543359], + [-79.869249, 40.139535], + [-78.622783, 39.93274], + [-77.582708, 39.840093], + [-76.827422, 39.795492], + [-76.277405, 39.771646], + [-75.862582, 39.7577], + [-75.53727, 39.748956], + [-75.272754, 39.743179], + [-75.050635, 39.739213], + [-74.858714, 39.736418], + [-74.688593, 39.734421], + [-74.534254, 39.732994], + [-74.391205, 39.731994], + [-74.25593, 39.731333], + [-74.125537, 39.730956], [-73.9975, 39.730833], - [-73.899028, 39.731027], - [-73.798745, 39.731623], - [-73.69471, 39.732668], - [-73.584701, 39.734247], - [-73.466017, 39.736499], - [-73.335209, 39.739644], - [-73.187658, 39.744037], - [-73.016919, 39.750252], - [-72.813644, 39.759268], - [-72.563744, 39.772828], - [-72.245276, 39.79425], - [-71.823448, 39.830311], - [-71.245291, 39.895959], - [-70.45234, 40.025657], - [-69.511912, 40.289041], - [-68.9975, 40.730833] + [-73.869463, 39.730956], + [-73.73907, 39.731333], + [-73.603795, 39.731994], + [-73.460746, 39.732994], + [-73.306407, 39.734421], + [-73.136286, 39.736418], + [-72.944365, 39.739213], + [-72.722246, 39.743179], + [-72.45773, 39.748956], + [-72.132418, 39.7577], + [-71.717595, 39.771646], + [-71.167578, 39.795492], + [-70.412292, 39.840093], + [-69.372217, 39.93274], + [-68.125751, 40.139535], + [-67.411666, 40.543359], + [-68.047656, 41.020221], + [-69.273443, 41.340199], + [-70.321352, 41.507773], + [-71.090016, 41.595144], + [-71.652542, 41.643872], + [-72.077952, 41.673066], + [-72.412111, 41.691641], + [-72.684103, 41.704032], + [-72.912661, 41.712593], + [-73.11024, 41.718653], + [-73.285438, 41.722998], + [-73.444422, 41.72611], + [-73.591803, 41.728293], + [-73.73119, 41.729739], + [-73.865556, 41.730565], + [-73.9975, 41.730833] ] ] } @@ -253,71 +187,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.9975, 35.730833], - [-73.555708, 36.245245], - [-73.292324, 37.185673], - [-73.162626, 37.978624], - [-73.096978, 38.556781], - [-73.060917, 38.978609], - [-73.039495, 39.297077], - [-73.025935, 39.546977], - [-73.016919, 39.750252], - [-73.010704, 39.920991], - [-73.006311, 40.068542], - [-73.003166, 40.19935], - [-73.000914, 40.318034], - [-72.999335, 40.428043], - [-72.99829, 40.532078], - [-72.997694, 40.632361], - [-72.9975, 40.730833], - [-72.997694, 40.829305], - [-72.99829, 40.929588], - [-72.999335, 41.033623], - [-73.000914, 41.143632], - [-73.003166, 41.262316], - [-73.006311, 41.393124], - [-73.010704, 41.540675], - [-73.016919, 41.711414], - [-73.025935, 41.914689], - [-73.039495, 42.164589], - [-73.060917, 42.483057], - [-73.096978, 42.904885], - [-73.162626, 43.483042], - [-73.292324, 44.275993], - [-73.555708, 45.216421], [-73.9975, 45.730833], - [-74.439292, 45.216421], - [-74.702676, 44.275993], - [-74.832374, 43.483042], - [-74.898022, 42.904885], - [-74.934083, 42.483057], - [-74.955505, 42.164589], - [-74.969065, 41.914689], - [-74.978081, 41.711414], - [-74.984296, 41.540675], - [-74.988689, 41.393124], - [-74.991834, 41.262316], - [-74.994086, 41.143632], - [-74.995665, 41.033623], - [-74.99671, 40.929588], - [-74.997306, 40.829305], - [-74.9975, 40.730833], - [-74.997306, 40.632361], - [-74.99671, 40.532078], - [-74.995665, 40.428043], - [-74.994086, 40.318034], - [-74.991834, 40.19935], - [-74.988689, 40.068542], - [-74.984296, 39.920991], - [-74.978081, 39.750252], - [-74.969065, 39.546977], - [-74.955505, 39.297077], - [-74.934083, 38.978609], - [-74.898022, 38.556781], - [-74.832374, 37.978624], - [-74.702676, 37.185673], - [-74.439292, 36.245245], - [-73.9975, 35.730833] + [-74.624009, 45.214797], + [-74.981731, 44.271947], + [-75.14762, 43.477473], + [-75.226528, 42.898491], + [-75.267193, 42.476206], + [-75.28974, 42.157471], + [-75.30293, 41.907409], + [-75.310897, 41.704032], + [-75.315746, 41.533228], + [-75.318619, 41.385634], + [-75.320164, 41.2548], + [-75.320765, 41.136102], + [-75.32065, 41.026087], + [-75.319951, 40.922054], + [-75.318739, 40.821778], + [-75.317039, 40.723319], + [-75.314836, 40.624866], + [-75.312076, 40.524608], + [-75.308665, 40.420606], + [-75.304452, 40.310638], + [-75.299207, 40.192006], + [-75.292584, 40.061265], + [-75.28405, 39.913801], + [-75.272754, 39.743179], + [-75.257295, 39.540063], + [-75.235228, 39.290391], + [-75.202033, 38.972261], + [-75.148737, 38.550964], + [-75.056205, 37.973684], + [-74.88205, 37.182206], + [-74.544727, 36.24391], + [-73.9975, 35.730833], + [-73.450273, 36.24391], + [-73.11295, 37.182206], + [-72.938795, 37.973684], + [-72.846263, 38.550964], + [-72.792967, 38.972261], + [-72.759772, 39.290391], + [-72.737705, 39.540063], + [-72.722246, 39.743179], + [-72.71095, 39.913801], + [-72.702416, 40.061265], + [-72.695793, 40.192006], + [-72.690548, 40.310638], + [-72.686335, 40.420606], + [-72.682924, 40.524608], + [-72.680164, 40.624866], + [-72.677961, 40.723319], + [-72.676261, 40.821778], + [-72.675049, 40.922054], + [-72.67435, 41.026087], + [-72.674235, 41.136102], + [-72.674836, 41.2548], + [-72.676381, 41.385634], + [-72.679254, 41.533228], + [-72.684103, 41.704032], + [-72.69207, 41.907409], + [-72.70526, 42.157471], + [-72.727807, 42.476206], + [-72.768472, 42.898491], + [-72.84738, 43.477473], + [-73.013269, 44.271947], + [-73.370991, 45.214797], + [-73.9975, 45.730833] ] ] } diff --git a/packages/turf-ellipse/test/out/simple.json b/packages/turf-ellipse/test/out/simple.json index 5f440dcd44..cb36deb4fb 100644 --- a/packages/turf-ellipse/test/out/simple.json +++ b/packages/turf-ellipse/test/out/simple.json @@ -1,78 +1,6 @@ { "type": "FeatureCollection", "features": [ - { - "type": "Feature", - "bbox": [ - -74.05683888714123, 40.72183979636275, -73.93816111285878, 40.73982620363724 - ], - "properties": { - "stroke-width": 6, - "stroke": "#FFF", - "fill": "#FFF", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-74.05683888714123, 40.72183979636275], - [-73.93816111285878, 40.72183979636275], - [-73.93816111285878, 40.73982620363724], - [-74.05683888714123, 40.73982620363724], - [-74.05683888714123, 40.72183979636275] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [ - -74.00936777742822, 40.68586698181377, -73.98563222257178, 40.77579901818623 - ], - "properties": { - "stroke-width": 6, - "stroke": "#666", - "fill": "#666", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-74.00936777742822, 40.68586698181377], - [-73.98563222257178, 40.68586698181377], - [-73.98563222257178, 40.77579901818623], - [-74.00936777742822, 40.77579901818623], - [-74.00936777742822, 40.68586698181377] - ] - ] - } - }, - { - "type": "Feature", - "bbox": [ - -74.05683888714123, 40.68586698181377, -73.93816111285878, 40.77579901818623 - ], - "properties": { - "stroke-width": 6, - "stroke": "#000", - "fill": "#000", - "fill-opacity": 0 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-74.05683888714123, 40.68586698181377], - [-73.93816111285878, 40.68586698181377], - [-73.93816111285878, 40.77579901818623], - [-74.05683888714123, 40.77579901818623], - [-74.05683888714123, 40.68586698181377] - ] - ] - } - }, { "type": "Feature", "properties": { @@ -177,71 +105,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.938161, 40.730833], - [-73.947745, 40.735733], - [-73.961537, 40.737986], - [-73.970979, 40.738878], - [-73.97711, 40.739279], - [-73.981313, 40.739485], - [-73.984374, 40.739603], - [-73.986724, 40.739677], - [-73.988608, 40.739725], - [-73.990176, 40.739757], - [-73.991522, 40.73978], - [-73.992709, 40.739797], - [-73.993782, 40.739809], - [-73.994775, 40.739817], - [-73.995712, 40.739822], - [-73.996614, 40.739825], [-73.9975, 40.739826], - [-73.998386, 40.739825], - [-73.999288, 40.739822], - [-74.000225, 40.739817], - [-74.001218, 40.739809], - [-74.002291, 40.739797], - [-74.003478, 40.73978], - [-74.004824, 40.739757], - [-74.006392, 40.739725], - [-74.008276, 40.739677], - [-74.010626, 40.739603], - [-74.013687, 40.739485], - [-74.01789, 40.739279], - [-74.024021, 40.738878], - [-74.033463, 40.737986], - [-74.047255, 40.735733], - [-74.056839, 40.730833], - [-74.047255, 40.725933], - [-74.033463, 40.72368], - [-74.024021, 40.722788], - [-74.01789, 40.722387], - [-74.013687, 40.722181], - [-74.010626, 40.722063], - [-74.008276, 40.721989], - [-74.006392, 40.721941], - [-74.004824, 40.721909], - [-74.003478, 40.721886], - [-74.002291, 40.721869], - [-74.001218, 40.721857], - [-74.000225, 40.721849], - [-73.999288, 40.721844], - [-73.998386, 40.721841], + [-73.998669, 40.739824], + [-73.999859, 40.739819], + [-74.001094, 40.73981], + [-74.0024, 40.739795], + [-74.003808, 40.739775], + [-74.005361, 40.739747], + [-74.007112, 40.739707], + [-74.009139, 40.739651], + [-74.011552, 40.73957], + [-74.014518, 40.739447], + [-74.018298, 40.739254], + [-74.023304, 40.738929], + [-74.030166, 40.738337], + [-74.039577, 40.737167], + [-74.050737, 40.734794], + [-74.056839, 40.730818], + [-74.050731, 40.726848], + [-74.039569, 40.724484], + [-74.030159, 40.72332], + [-74.023298, 40.722732], + [-74.018292, 40.722408], + [-74.014513, 40.722216], + [-74.011548, 40.722095], + [-74.009136, 40.722014], + [-74.00711, 40.721958], + [-74.005359, 40.721919], + [-74.003807, 40.721891], + [-74.002398, 40.72187], + [-74.001093, 40.721856], + [-73.999858, 40.721847], + [-73.998668, 40.721842], [-73.9975, 40.72184], - [-73.996614, 40.721841], - [-73.995712, 40.721844], - [-73.994775, 40.721849], - [-73.993782, 40.721857], - [-73.992709, 40.721869], - [-73.991522, 40.721886], - [-73.990176, 40.721909], - [-73.988608, 40.721941], - [-73.986724, 40.721989], - [-73.984374, 40.722063], - [-73.981313, 40.722181], - [-73.97711, 40.722387], - [-73.970979, 40.722788], - [-73.961537, 40.72368], - [-73.947745, 40.725933], - [-73.938161, 40.730833] + [-73.996332, 40.721842], + [-73.995142, 40.721847], + [-73.993907, 40.721856], + [-73.992602, 40.72187], + [-73.991193, 40.721891], + [-73.989641, 40.721919], + [-73.98789, 40.721958], + [-73.985864, 40.722014], + [-73.983452, 40.722095], + [-73.980487, 40.722216], + [-73.976708, 40.722408], + [-73.971702, 40.722732], + [-73.964841, 40.72332], + [-73.955431, 40.724484], + [-73.944269, 40.726848], + [-73.938161, 40.730818], + [-73.944263, 40.734794], + [-73.955423, 40.737167], + [-73.964834, 40.738337], + [-73.971696, 40.738929], + [-73.976702, 40.739254], + [-73.980482, 40.739447], + [-73.983448, 40.73957], + [-73.985861, 40.739651], + [-73.987888, 40.739707], + [-73.989639, 40.739747], + [-73.991192, 40.739775], + [-73.9926, 40.739795], + [-73.993906, 40.73981], + [-73.995141, 40.739819], + [-73.996331, 40.739824], + [-73.9975, 40.739826] ] ] } @@ -258,71 +186,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.9975, 40.685867], - [-73.991035, 40.693131], - [-73.988062, 40.703583], - [-73.986885, 40.710737], - [-73.986356, 40.715383], - [-73.986083, 40.718568], - [-73.985927, 40.720887], - [-73.98583, 40.722668], - [-73.985767, 40.724095], - [-73.985723, 40.725283], - [-73.985693, 40.726303], - [-73.985671, 40.727202], - [-73.985656, 40.728016], - [-73.985645, 40.728768], - [-73.985638, 40.729478], - [-73.985634, 40.730162], - [-73.985632, 40.730833], - [-73.985633, 40.731504], - [-73.985637, 40.732188], - [-73.985645, 40.732898], - [-73.985655, 40.73365], - [-73.985671, 40.734464], - [-73.985692, 40.735363], - [-73.985722, 40.736383], - [-73.985766, 40.737571], - [-73.985829, 40.738998], - [-73.985925, 40.740779], - [-73.986081, 40.743098], - [-73.986354, 40.746283], - [-73.986882, 40.750929], - [-73.988058, 40.758083], - [-73.991031, 40.768535], [-73.9975, 40.775799], - [-74.003969, 40.768538], - [-74.006942, 40.758086], - [-74.008118, 40.750931], - [-74.008646, 40.746285], - [-74.008919, 40.7431], - [-74.009075, 40.74078], - [-74.009171, 40.738999], - [-74.009234, 40.737571], - [-74.009278, 40.736383], - [-74.009308, 40.735364], - [-74.009329, 40.734464], - [-74.009345, 40.73365], - [-74.009355, 40.732898], - [-74.009363, 40.732188], - [-74.009367, 40.731504], - [-74.009368, 40.730833], - [-74.009366, 40.730162], - [-74.009362, 40.729478], - [-74.009355, 40.728768], - [-74.009344, 40.728016], - [-74.009329, 40.727202], - [-74.009307, 40.726302], - [-74.009277, 40.725283], - [-74.009233, 40.724095], - [-74.00917, 40.722667], - [-74.009073, 40.720886], - [-74.008917, 40.718566], - [-74.008644, 40.715381], - [-74.008115, 40.710735], - [-74.006938, 40.70358], - [-74.003965, 40.693128], - [-73.9975, 40.685867] + [-74.002746, 40.771173], + [-74.005873, 40.762715], + [-74.007412, 40.755584], + [-74.00819, 40.750384], + [-74.008618, 40.746591], + [-74.008872, 40.743727], + [-74.009032, 40.741479], + [-74.009139, 40.739651], + [-74.009212, 40.738115], + [-74.009264, 40.736789], + [-74.009301, 40.735612], + [-74.009328, 40.734545], + [-74.009346, 40.733555], + [-74.009359, 40.73262], + [-74.009366, 40.731718], + [-74.009368, 40.730832], + [-74.009365, 40.729947], + [-74.009358, 40.729045], + [-74.009346, 40.728109], + [-74.009327, 40.72712], + [-74.0093, 40.726053], + [-74.009262, 40.724876], + [-74.00921, 40.723549], + [-74.009136, 40.722014], + [-74.009028, 40.720186], + [-74.008867, 40.717938], + [-74.008613, 40.715074], + [-74.008184, 40.711281], + [-74.007404, 40.706081], + [-74.005865, 40.69895], + [-74.00274, 40.690493], + [-73.9975, 40.685867], + [-73.99226, 40.690493], + [-73.989135, 40.69895], + [-73.987596, 40.706081], + [-73.986816, 40.711281], + [-73.986387, 40.715074], + [-73.986133, 40.717938], + [-73.985972, 40.720186], + [-73.985864, 40.722014], + [-73.98579, 40.723549], + [-73.985738, 40.724876], + [-73.9857, 40.726053], + [-73.985673, 40.72712], + [-73.985654, 40.728109], + [-73.985642, 40.729045], + [-73.985635, 40.729947], + [-73.985632, 40.730832], + [-73.985634, 40.731718], + [-73.985641, 40.73262], + [-73.985654, 40.733555], + [-73.985672, 40.734545], + [-73.985699, 40.735612], + [-73.985736, 40.736789], + [-73.985788, 40.738115], + [-73.985861, 40.739651], + [-73.985968, 40.741479], + [-73.986128, 40.743727], + [-73.986382, 40.746591], + [-73.98681, 40.750384], + [-73.987588, 40.755584], + [-73.989127, 40.762715], + [-73.992254, 40.771173], + [-73.9975, 40.775799] ] ] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e4053095ba..ac139d2f73 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2855,15 +2855,15 @@ importers: packages/turf-ellipse: dependencies: + '@turf/destination': + specifier: workspace:^ + version: link:../turf-destination '@turf/helpers': specifier: workspace:^ version: link:../turf-helpers '@turf/invariant': specifier: workspace:^ version: link:../turf-invariant - '@turf/rhumb-destination': - specifier: workspace:^ - version: link:../turf-rhumb-destination '@turf/transform-rotate': specifier: workspace:^ version: link:../turf-transform-rotate @@ -2877,15 +2877,18 @@ importers: '@placemarkio/check-geojson': specifier: ^0.1.12 version: 0.1.12 + '@turf/area': + specifier: workspace:^ + version: link:../turf-area '@turf/bbox-polygon': specifier: workspace:^ version: link:../turf-bbox-polygon '@turf/circle': specifier: workspace:^ version: link:../turf-circle - '@turf/destination': + '@turf/intersect': specifier: workspace:^ - version: link:../turf-destination + version: link:../turf-intersect '@turf/truncate': specifier: workspace:^ version: link:../turf-truncate From ade991304ca30717e1b2bb68c9365babde9bfdf5 Mon Sep 17 00:00:00 2001 From: hadrien Date: Fri, 25 Oct 2024 18:58:10 +0200 Subject: [PATCH 2/7] update [turf-standard-deviational-ellipse] for compatibility with the fix of turf-ellipse --- .../test/in/mta-stations-unweighted.json | 4511 ++++++++++++----- .../test/in/mta-stations-weighted.json | 249 +- .../test/out/mta-stations-unweighted.json | 386 +- .../test/out/mta-stations-weighted.json | 381 +- 4 files changed, 3703 insertions(+), 1824 deletions(-) diff --git a/packages/turf-standard-deviational-ellipse/test/in/mta-stations-unweighted.json b/packages/turf-standard-deviational-ellipse/test/in/mta-stations-unweighted.json index 5d075c8da2..9137250ea8 100644 --- a/packages/turf-standard-deviational-ellipse/test/in/mta-stations-unweighted.json +++ b/packages/turf-standard-deviational-ellipse/test/in/mta-stations-unweighted.json @@ -16,195 +16,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.864013671875, 40.70892333984375], - [-73.864807128906193, 40.706298828125057], - [-73.865600585937386, 40.703674316406307], - [-73.86639404296875, 40.7012939453125], - [-73.867309570312443, 40.698730468750114], - [-73.8682861328125, 40.696289062500114], - [-73.86932373046875, 40.693725585937557], - [-73.87030029296875, 40.691284179687614], - [-73.871704101562386, 40.6881103515625], - [-73.873107910156193, 40.68487548828125], - [-73.87432861328125, 40.682495117187557], - [-73.875976562499943, 40.679321289062443], - [-73.877319335937443, 40.6768798828125], - [-73.8782958984375, 40.674926757812614], - [-73.87982177734375, 40.6724853515625], - [-73.88128662109375, 40.669921875000114], - [-73.88287353515625, 40.667480468750114], - [-73.88458251953125, 40.664916992187557], - [-73.88592529296875, 40.663085937500114], - [-73.88720703125, 40.66107177734375], - [-73.88909912109375, 40.658691406250114], - [-73.89111328125, 40.656127929687557], - [-73.8931884765625, 40.653686523437557], - [-73.895324707031193, 40.651123046875], - [-73.8975830078125, 40.648681640625], - [-73.900024414062386, 40.646301269531364], - [-73.902404785156193, 40.643920898437557], - [-73.9044189453125, 40.642089843750114], - [-73.9063720703125, 40.640502929687557], - [-73.909179687499886, 40.638305664062614], - [-73.9119873046875, 40.636108398437557], - [-73.914978027343693, 40.633911132812614], - [-73.91729736328125, 40.632324218750057], - [-73.919677734375, 40.63092041015625], - [-73.922973632812443, 40.629089355468807], - [-73.9263916015625, 40.62750244140625], - [-73.929870605468693, 40.625915527343693], - [-73.933471679687443, 40.624694824218807], - [-73.937194824218693, 40.62347412109375], - [-73.940917968749943, 40.62249755859375], - [-73.9447021484375, 40.621887207031364], - [-73.9486083984375, 40.621276855468807], - [-73.952392578125, 40.621093750000114], - [-73.956298828125, 40.621276855468807], - [-73.960205078124886, 40.621520996093864], - [-73.963989257812443, 40.622070312500114], - [-73.9677734375, 40.62310791015625], - [-73.97149658203125, 40.624328613281307], - [-73.97509765625, 40.625488281250114], - [-73.978576660156193, 40.6273193359375], - [-73.98187255859375, 40.629272460937557], - [-73.985107421875, 40.631530761718807], - [-73.988220214843693, 40.633728027343864], - [-73.991088867187443, 40.636474609375], - [-73.993774414062386, 40.6392822265625], - [-73.99639892578125, 40.642089843750114], - [-73.998229980468693, 40.644287109375], - [-73.99981689453125, 40.646728515625], - [-74.001403808593636, 40.648925781250057], - [-74.002990722656193, 40.6514892578125], - [-74.004821777343693, 40.654724121093693], - [-74.006103515625, 40.657287597656307], - [-74.00732421875, 40.65972900390625], - [-74.008728027343693, 40.663085937500114], - [-74.010009765625, 40.666503906250114], - [-74.01116943359375, 40.669921875000114], - [-74.01190185546875, 40.6724853515625], - [-74.0125732421875, 40.674926757812614], - [-74.013488769531193, 40.678283691406307], - [-74.01422119140625, 40.681701660156307], - [-74.0147705078125, 40.68487548828125], - [-74.015319824218693, 40.688293457031193], - [-74.01580810546875, 40.691528320312443], - [-74.01611328125, 40.694702148437557], - [-74.01641845703125, 40.6978759765625], - [-74.0164794921875, 40.700073242187614], - [-74.0166015625, 40.702514648437557], - [-74.016723632812443, 40.7047119140625], - [-74.016723632812443, 40.707092285156307], - [-74.016723632812443, 40.7100830078125], - [-74.0166015625, 40.713073730468864], - [-74.0164794921875, 40.715881347656307], - [-74.016174316406193, 40.718688964843807], - [-74.015991210937386, 40.7216796875], - [-74.015686035156193, 40.724914550781193], - [-74.015197753906193, 40.728515625000114], - [-74.0147705078125, 40.7310791015625], - [-74.014404296875, 40.73388671875], - [-74.013793945312443, 40.736511230468864], - [-74.013305664062443, 40.73907470703125], - [-74.01287841796875, 40.741088867187614], - [-74.0123291015625, 40.743713378906307], - [-74.011413574218636, 40.74688720703125], - [-74.010620117187443, 40.7501220703125], - [-74.009582519531193, 40.753295898437614], - [-74.00860595703125, 40.756530761718864], - [-74.00732421875, 40.760314941406307], - [-74.006103515625, 40.76348876953125], - [-74.005126953125, 40.76593017578125], - [-74.00408935546875, 40.768493652343807], - [-74.002990722656193, 40.770874023437443], - [-74.002197265625, 40.772888183593807], - [-74.0009765625, 40.77532958984375], - [-73.99951171875, 40.778503417968693], - [-73.99810791015625, 40.780883789062557], - [-73.997192382812443, 40.782897949218693], - [-73.99609375, 40.784729003906307], - [-73.994995117187443, 40.786499023437614], - [-73.993774414062386, 40.788513183593807], - [-73.992309570312443, 40.791076660156364], - [-73.990722656249886, 40.793518066406364], - [-73.988891601562443, 40.79608154296875], - [-73.98712158203125, 40.798522949218864], - [-73.98529052734375, 40.801086425781307], - [-73.983276367187443, 40.80352783203125], - [-73.9818115234375, 40.805480957031307], - [-73.980224609374943, 40.807312011718693], - [-73.977905273437443, 40.809692382812557], - [-73.976196289062443, 40.8115234375], - [-73.97442626953125, 40.813293457031307], - [-73.97198486328125, 40.815673828125114], - [-73.96929931640625, 40.818115234375057], - [-73.966674804687443, 40.82049560546875], - [-73.963806152343693, 40.822692871093807], - [-73.96087646484375, 40.82489013671875], - [-73.957885742187443, 40.826904296875114], - [-73.9547119140625, 40.828674316406193], - [-73.951416015624943, 40.830505371093807], - [-73.948913574218693, 40.831726074218693], - [-73.94622802734375, 40.8328857421875], - [-73.94268798828125, 40.834472656250057], - [-73.9390869140625, 40.835693359375114], - [-73.936279296875, 40.836486816406193], - [-73.93341064453125, 40.83709716796875], - [-73.92962646484375, 40.837890625], - [-73.92578125, 40.838500976562557], - [-73.921875, 40.838500976562557], - [-73.9180908203125, 40.838500976562557], - [-73.91522216796875, 40.838317871093807], - [-73.912292480468693, 40.837890625], - [-73.90948486328125, 40.8372802734375], - [-73.9066162109375, 40.83673095703125], - [-73.903808593749943, 40.835876464843864], - [-73.901123046875, 40.834899902343807], - [-73.897521972656193, 40.83331298828125], - [-73.894104003906193, 40.831481933593864], - [-73.891601562499943, 40.829895019531307], - [-73.8892822265625, 40.82830810546875], - [-73.886169433593693, 40.825927734375057], - [-73.883300781249943, 40.823303222656364], - [-73.880615234375, 40.8206787109375], - [-73.877990722656193, 40.817687988281307], - [-73.875671386718693, 40.814697265625114], - [-73.87347412109375, 40.8115234375], - [-73.87152099609375, 40.80828857421875], - [-73.8701171875, 40.805725097656364], - [-73.868713378906193, 40.803283691406364], - [-73.867126464843636, 40.7999267578125], - [-73.86572265625, 40.79669189453125], - [-73.8643798828125, 40.793090820312557], - [-73.86322021484375, 40.789672851562557], - [-73.86248779296875, 40.78729248046875], - [-73.8616943359375, 40.784729003906307], - [-73.860900878906193, 40.781311035156364], - [-73.860412597656193, 40.778686523437614], - [-73.85980224609375, 40.776306152343807], - [-73.85931396484375, 40.773071289062557], - [-73.858886718749943, 40.770690917968693], - [-73.85858154296875, 40.768127441406307], - [-73.8582763671875, 40.765075683593807], - [-73.857971191406136, 40.761901855468864], - [-73.85791015625, 40.759521484375057], - [-73.8577880859375, 40.757324218750114], - [-73.85772705078125, 40.754272460937614], - [-73.85772705078125, 40.75128173828125], - [-73.8577880859375, 40.748291015625057], - [-73.8577880859375, 40.745300292968864], - [-73.85809326171875, 40.741699218749943], - [-73.8582763671875, 40.73828125], - [-73.85858154296875, 40.735473632812557], - [-73.859008789062443, 40.732727050781193], - [-73.859497070312386, 40.7291259765625], - [-73.860229492187443, 40.725097656249943], - [-73.860717773437443, 40.72247314453125], - [-73.861083984374943, 40.720520019531193], - [-73.8616943359375, 40.7178955078125], - [-73.8623046875, 40.715270996093807], - [-73.86322021484375, 40.712097167968864], - [-73.864013671875, 40.70892333984375] + [-73.937242, 40.836186], + [-73.95061, 40.832464], + [-73.962925, 40.827467], + [-73.974045, 40.821573], + [-73.983949, 40.815099], + [-73.992697, 40.808283], + [-74.00039, 40.801291], + [-74.007142, 40.794228], + [-74.013069, 40.787155], + [-74.018273, 40.780095], + [-74.022843, 40.773051], + [-74.026852, 40.76601], + [-74.030356, 40.758945], + [-74.033397, 40.751824], + [-74.035999, 40.744608], + [-74.038172, 40.737256], + [-74.039907, 40.729722], + [-74.041179, 40.721963], + [-74.041939, 40.713935], + [-74.042117, 40.705603], + [-74.041611, 40.696944], + [-74.04029, 40.687956], + [-74.037986, 40.678674], + [-74.034501, 40.669186], + [-74.029617, 40.659656], + [-74.023121, 40.650342], + [-74.01485, 40.641608], + [-74.004753, 40.633898], + [-73.992947, 40.627687], + [-73.979755, 40.623387], + [-73.96568, 40.621247], + [-73.951317, 40.621297], + [-73.937242, 40.62335], + [-73.923915, 40.62707], + [-73.911634, 40.632063], + [-73.90054, 40.637951], + [-73.890654, 40.644418], + [-73.881917, 40.651226], + [-73.87423, 40.65821], + [-73.867477, 40.665265], + [-73.861546, 40.672331], + [-73.856334, 40.679384], + [-73.851753, 40.686421], + [-73.84773, 40.693457], + [-73.844209, 40.700516], + [-73.841151, 40.707632], + [-73.838529, 40.714843], + [-73.836335, 40.722192], + [-73.834577, 40.729722], + [-73.833281, 40.737479], + [-73.832495, 40.745506], + [-73.832291, 40.753837], + [-73.83277, 40.762497], + [-73.834065, 40.771488], + [-73.836343, 40.780774], + [-73.839806, 40.790268], + [-73.844672, 40.799806], + [-73.851158, 40.809129], + [-73.859428, 40.817876], + [-73.869536, 40.825598], + [-73.881366, 40.831822], + [-73.894592, 40.836133], + [-73.908711, 40.838281], + [-73.923121, 40.838237], + [-73.937242, 40.836186] ] ] } @@ -212,2368 +88,4733 @@ "features": [ { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.991069, 40.730054] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.991069, 40.730054] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-74.000192, 40.718803] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.000192, 40.718803] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.983848, 40.761727] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.983848, 40.761727] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.974999, 40.680862] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.974999, 40.680862] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.894885, 40.664714] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.894885, 40.664714] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.90087, 40.884667] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.90087, 40.884667] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.958066, 40.800581] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.958066, 40.800581] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.940858, 40.679918] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.940858, 40.679918] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.898788, 40.749719] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.898788, 40.749719] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.929018, 40.75196] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.929018, 40.75196] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.987409, 40.718306] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.987409, 40.718306] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.891657, 40.678028] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.891657, 40.678028] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.879625, 40.68152] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.879625, 40.68152] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.844435, 40.695165] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.844435, 40.695165] + } }, { "type": "Feature", - "properties": { "weight": 9 }, - "geometry": { "type": "Point", "coordinates": [-73.98177, 40.690648] } + "properties": { + "weight": 9 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.98177, 40.690648] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.82758, 40.583268] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.82758, 40.583268] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.813651, 40.588091] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.813651, 40.588091] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.891752, 40.829987] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.891752, 40.829987] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.896617, 40.822142] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.896617, 40.822142] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.90074, 40.856092] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.90074, 40.856092] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.910136, 40.845899] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.910136, 40.845899] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.918432, 40.833768] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.918432, 40.833768] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.845624, 40.754621] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.845624, 40.754621] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.869527, 40.749144] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.869527, 40.749144] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.83003, 40.759599] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.83003, 40.759599] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.832569, 40.846809] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.832569, 40.846809] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.926138, 40.810476] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.926138, 40.810476] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.851221, 40.834254] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.851221, 40.834254] + } }, { "type": "Feature", - "properties": { "weight": 15 }, - "geometry": { "type": "Point", "coordinates": [-74.004131, 40.713064] } + "properties": { + "weight": 15 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.004131, 40.713064] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.847035, 40.836488] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.847035, 40.836488] + } }, { "type": "Feature", - "properties": { "weight": 15 }, - "geometry": { "type": "Point", "coordinates": [-73.976713, 40.751807] } + "properties": { + "weight": 15 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.976713, 40.751807] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.982076, 40.74608] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.982076, 40.74608] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.95107, 40.785671] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.95107, 40.785671] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.959873, 40.77362] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.959873, 40.77362] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.910383, 40.682851] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.910383, 40.682851] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.983109, 40.677315] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.983109, 40.677315] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.882034, 40.74237] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.882034, 40.74237] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.920785, 40.678822] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.920785, 40.678822] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.86748, 40.857192] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.86748, 40.857192] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.866134, 40.877839] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.866134, 40.877839] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.854315, 40.898286] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.854315, 40.898286] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.958099, 40.670765] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.958099, 40.670765] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.893066, 40.823976] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.893066, 40.823976] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.868356, 40.848768] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.868356, 40.848768] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.950079, 40.656659] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.950079, 40.656659] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.889404, 40.665517] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.889404, 40.665517] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.927384, 40.818303] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.927384, 40.818303] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.925691, 40.82823] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.925691, 40.82823] + } }, { "type": "Feature", - "properties": { "weight": 15 }, - "geometry": { "type": "Point", "coordinates": [-73.967967, 40.762526] } + "properties": { + "weight": 15 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.967967, 40.762526] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.904097, 40.812117] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.904097, 40.812117] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.874515, 40.829521] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.874515, 40.829521] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.886282, 40.826525] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.886282, 40.826525] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.867617, 40.831509] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.867617, 40.831509] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.902984, 40.74563] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.902984, 40.74563] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.755404, 40.603995] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.755404, 40.603995] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.976336, 40.775519] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.976336, 40.775519] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.964602, 40.791618] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.964602, 40.791618] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.93956, 40.840718] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.93956, 40.840718] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.893509, 40.866977] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.893509, 40.866977] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.98459, 40.754184] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.98459, 40.754184] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.962031, 40.661633] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.962031, 40.661633] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.995348, 40.631478] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.995348, 40.631478] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.817012, 40.702898] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.817012, 40.702898] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.83037, 40.714034] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.83037, 40.714034] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.808004, 40.700382] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.808004, 40.700382] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.946054, 40.747768] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.946054, 40.747768] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.85286, 40.726505] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.85286, 40.726505] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.87722, 40.736813] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.87722, 40.736813] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.978171, 40.636118] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.978171, 40.636118] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.95999, 40.688889] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.95999, 40.688889] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.950312, 40.706126] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.950312, 40.706126] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.950247, 40.714072] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.950247, 40.714072] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.901916, 40.669145] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.901916, 40.669145] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.903958, 40.688866] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.903958, 40.688866] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.916638, 40.686415] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.916638, 40.686415] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.947354, 40.703844] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.947354, 40.703844] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.011515, 40.63497] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.011515, 40.63497] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.929861, 40.756442] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.929861, 40.756442] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.925822, 40.761431] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.925822, 40.761431] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.986768, 40.754611] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.986768, 40.754611] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.979188, 40.752768] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.979188, 40.752768] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.957624, 40.674771] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.957624, 40.674771] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.832162, 40.684331] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.832162, 40.684331] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-74.000308, 40.732254] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.000308, 40.732254] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.97192, 40.757106] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.97192, 40.757106] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.976217, 40.788644] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.976217, 40.788644] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.857362, 40.893143] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.857362, 40.893143] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.982208, 40.77344] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.982208, 40.77344] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.890549, 40.820947] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.890549, 40.820947] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.006277, 40.722853] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.006277, 40.722853] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.836321, 40.843863] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.836321, 40.843863] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.986599, 40.739864] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.986599, 40.739864] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.945264, 40.747022] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.945264, 40.747022] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.981929, 40.768247] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.981929, 40.768247] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.948916, 40.742215] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.948916, 40.742215] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.995657, 40.74408] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.995657, 40.74408] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.005367, 40.728251] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.005367, 40.728251] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.837683, 40.681711] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.837683, 40.681711] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.815832, 40.608402] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.815832, 40.608402] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.9685, 40.576311] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.9685, 40.576311] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.95358, 40.742625] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.95358, 40.742625] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.96387, 40.768141] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.96387, 40.768141] + } }, { "type": "Feature", - "properties": { "weight": 15 }, - "geometry": { "type": "Point", "coordinates": [-73.940163, 40.750635] } + "properties": { + "weight": 15 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.940163, 40.750635] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.843852, 40.680428] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.843852, 40.680428] + } }, { "type": "Feature", - "properties": { "weight": 15 }, - "geometry": { "type": "Point", "coordinates": [-73.98995, 40.734673] } + "properties": { + "weight": 15 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.98995, 40.734673] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.953522, 40.689627] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.953522, 40.689627] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.979735, 40.660035] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.979735, 40.660035] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.980251, 40.666244] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.980251, 40.666244] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.975775, 40.650781] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.975775, 40.650781] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.979721, 40.644272] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.979721, 40.644272] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.964357, 40.643904] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.964357, 40.643904] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.962882, 40.650493] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.962882, 40.650493] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.962694, 40.635141] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.962694, 40.635141] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.961453, 40.655073] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.961453, 40.655073] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.970956, 40.675294] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.970956, 40.675294] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.977549, 40.68442] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.977549, 40.68442] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.911945, 40.678339] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.911945, 40.678339] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.975374, 40.687118] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.975374, 40.687118] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.966795, 40.688094] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.966795, 40.688094] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.972852, 40.677102] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.972852, 40.677102] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.976783, 40.684488] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.976783, 40.684488] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.978809, 40.683665] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.978809, 40.683665] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.990151, 40.692403] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.990151, 40.692403] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.835918, 40.672096] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.835918, 40.672096] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.860495, 40.854363] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.860495, 40.854363] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.855359, 40.858984] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.855359, 40.858984] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.950426, 40.680438] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.950426, 40.680438] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.980406, 40.68831] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.980406, 40.68831] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.964222, 40.672032] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.964222, 40.672032] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.948847, 40.645123] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.948847, 40.645123] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.949455, 40.65086] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.949455, 40.65086] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.948299, 40.639991] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.948299, 40.639991] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.947541, 40.632842] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.947541, 40.632842] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.950728, 40.662772] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.950728, 40.662772] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.932932, 40.668978] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.932932, 40.668978] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.942159, 40.669481] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.942159, 40.669481] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.951183, 40.724479] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.951183, 40.724479] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.954425, 40.731266] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.954425, 40.731266] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.957832, 40.708383] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.957832, 40.708383] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.953488, 40.706889] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.953488, 40.706889] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.929848, 40.813223] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.929848, 40.813223] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.975248, 40.760086] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.975248, 40.760086] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.969072, 40.757468] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.969072, 40.757468] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.988698, 40.745453] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.988698, 40.745453] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.987936, 40.749644] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.987936, 40.749644] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.98168, 40.730974] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.98168, 40.730974] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.986228, 40.755983] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.986228, 40.755983] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.951423, 40.712774] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.951423, 40.712774] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.940496, 40.711576] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.940496, 40.711576] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.943943, 40.714575] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.943943, 40.714575] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.956664, 40.717173] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.956664, 40.717173] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.939792, 40.707391] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.939792, 40.707391] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.943815, 40.746305] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.943815, 40.746305] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.949599, 40.744128] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.949599, 40.744128] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.932851, 40.752763] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.932851, 40.752763] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.950359, 40.82655] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.950359, 40.82655] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.944889, 40.834041] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.944889, 40.834041] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.972322, 40.793919] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.972322, 40.793919] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.968378, 40.799446] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.968378, 40.799446] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.951822, 40.799074] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.951822, 40.799074] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.96137, 40.79606] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.96137, 40.79606] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.98197, 40.778453] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.98197, 40.778453] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.972097, 40.781346] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.972097, 40.781346] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.836923, 40.718044] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.836923, 40.718044] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.968828, 40.785823] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.968828, 40.785823] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.966847, 40.803966] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.966847, 40.803966] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.964109, 40.807722] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.964109, 40.807722] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.945495, 40.807753] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.945495, 40.807753] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.94077, 40.814229] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.94077, 40.814229] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.949625, 40.802097] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.949625, 40.802097] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.905227, 40.850409] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.905227, 40.850409] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.953676, 40.822007] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.953676, 40.822007] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.936244, 40.82042] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.936244, 40.82042] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.911793, 40.84848] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.911793, 40.84848] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.907684, 40.853453] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.907684, 40.853453] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.913399, 40.839305] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.913399, 40.839305] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.940132, 40.840555] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.940132, 40.840555] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.933595, 40.849504] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.933595, 40.849504] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.929411, 40.855225] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.929411, 40.855225] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.939703, 40.847391] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.939703, 40.847391] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.776012, 40.592942] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.776012, 40.592942] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.788521, 40.592374] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.788521, 40.592374] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.82052, 40.585385] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.82052, 40.585385] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.83559, 40.580955] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.83559, 40.580955] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.768174, 40.595398] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.768174, 40.595398] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.761352, 40.600066] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.761352, 40.600066] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.803289, 40.707571] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.803289, 40.707571] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.793474, 40.710517] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.793474, 40.710517] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.862699, 40.749865] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.862699, 40.749865] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.855333, 40.751729] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.855333, 40.751729] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.861618, 40.729763] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.861618, 40.729763] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.865049, 40.677044] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.865049, 40.677044] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.979917, 40.783933] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.979917, 40.783933] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.903096, 40.675344] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.903096, 40.675344] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.002905, 40.733422] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.002905, 40.733422] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.825797, 40.68595] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.825797, 40.68595] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.98769, 40.755477] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.98769, 40.755477] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.975957, 40.576033] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.975957, 40.576033] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.993365, 40.747214] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.993365, 40.747214] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.984264, 40.743069] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.984264, 40.743069] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.828121, 40.852461] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.828121, 40.852461] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.842951, 40.839892] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.842951, 40.839892] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.997871, 40.741039] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.997871, 40.741039] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.976041, 40.751431] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.976041, 40.751431] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.796923, 40.590927] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.796923, 40.590927] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-74.000495, 40.732337] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.000495, 40.732337] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.860087, 40.692426] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.860087, 40.692426] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.852051, 40.693703] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.852051, 40.693703] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.836793, 40.697114] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.836793, 40.697114] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.828349, 40.700481] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.828349, 40.700481] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.903934, 40.695518] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.903934, 40.695518] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.910975, 40.699471] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.910975, 40.699471] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.88411, 40.666314] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.88411, 40.666314] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.890358, 40.672709] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.890358, 40.672709] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.885194, 40.679777] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.885194, 40.679777] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.900562, 40.664057] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.900562, 40.664057] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.902448, 40.663589] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.902448, 40.663589] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.908958, 40.662617] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.908958, 40.662617] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.90185, 40.646653] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.90185, 40.646653] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.899547, 40.650468] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.899547, 40.650468] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.91633, 40.661529] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.91633, 40.661529] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.922521, 40.664766] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.922521, 40.664766] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.899277, 40.658914] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.899277, 40.658914] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.904289, 40.679366] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.904289, 40.679366] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.898526, 40.676998] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.898526, 40.676998] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.880749, 40.67413] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.880749, 40.67413] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.873929, 40.683152] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.873929, 40.683152] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.873321, 40.689616] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.873321, 40.689616] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.867287, 40.69129] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.867287, 40.69129] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.896402, 40.746324] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.896402, 40.746324] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.891205, 40.746867] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.891205, 40.746867] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.869432, 40.733097] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.869432, 40.733097] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.912178, 40.699454] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.912178, 40.699454] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.907581, 40.702918] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.907581, 40.702918] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.918232, 40.703692] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.918232, 40.703692] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.912548, 40.744149] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.912548, 40.744149] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.913521, 40.756316] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.913521, 40.756316] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.906065, 40.752824] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.906065, 40.752824] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.918435, 40.743132] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.918435, 40.743132] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.883697, 40.747658] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.883697, 40.747658] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.876612, 40.748408] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.876612, 40.748408] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.830301, 40.660476] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.830301, 40.660476] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.834057, 40.668234] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.834057, 40.668234] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.820692, 40.709161] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.820692, 40.709161] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.844516, 40.721594] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.844516, 40.721594] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.810832, 40.705417] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.810832, 40.705417] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.801096, 40.702067] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.801096, 40.702067] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.860214, 40.888028] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.860214, 40.888028] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.879158, 40.828584] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.879158, 40.828584] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.896434, 40.816103] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.896434, 40.816103] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.918095, 40.770036] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.918095, 40.770036] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.912034, 40.775035] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.912034, 40.775035] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.907701, 40.816437] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.907701, 40.816437] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.901777, 40.819487] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.901777, 40.819487] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.914041, 40.805368] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.914041, 40.805368] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.887693, 40.837195] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.887693, 40.837195] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.867234, 40.865483] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.867234, 40.865483] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.907656, 40.808719] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.907656, 40.808719] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.897174, 40.86776] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.897174, 40.86776] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.890064, 40.873411] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.890064, 40.873411] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.93647, 40.82388] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.93647, 40.82388] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.914684, 40.844434] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.914684, 40.844434] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.897749, 40.861295] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.897749, 40.861295] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.91779, 40.840074] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.91779, 40.840074] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.887137, 40.873243] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.887137, 40.873243] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.90983, 40.87456] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.90983, 40.87456] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.904834, 40.878855] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.904834, 40.878855] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.915278, 40.869443] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.915278, 40.869443] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.918819, 40.864614] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.918819, 40.864614] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.919899, 40.868071] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.919899, 40.868071] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.898583, 40.889248] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.898583, 40.889248] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.879961, 40.840207] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.879961, 40.840207] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.862509, 40.883887] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.862509, 40.883887] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.884654, 40.879749] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.884654, 40.879749] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.878854, 40.874811] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.878854, 40.874811] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.867053, 40.871258] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.867053, 40.871258] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.83859, 40.878663] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.83859, 40.878663] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.830834, 40.888299] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.830834, 40.888299] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.783817, 40.712645] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.783817, 40.712645] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.850619, 40.903125] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.850619, 40.903125] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.959244, 40.670342] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.959244, 40.670342] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.905261, 40.68286] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.905261, 40.68286] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.903117, 40.678456] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.903117, 40.678456] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.846384, 40.869525] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.846384, 40.869525] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.873346, 40.841863] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.873346, 40.841863] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.925536, 40.860531] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.925536, 40.860531] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.958372, 40.81558] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.958372, 40.81558] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.955827, 40.680595] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.955827, 40.680595] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.926722, 40.81833] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.926722, 40.81833] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.917791, 40.816029] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.917791, 40.816029] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.921399, 40.835536] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.921399, 40.835536] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.919239, 40.807565] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.919239, 40.807565] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.930996, 40.744586] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.930996, 40.744586] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.924015, 40.743781] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.924015, 40.743781] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.944087, 40.824766] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.944087, 40.824766] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.938208, 40.830134] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.938208, 40.830134] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.92565, 40.827904] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.92565, 40.827904] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.930728, 40.679363] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.930728, 40.679363] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.920526, 40.756987] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.920526, 40.756987] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.928508, 40.693172] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.928508, 40.693172] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.922156, 40.689583] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.922156, 40.689583] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.927242, 40.697873] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.927242, 40.697873] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.91972, 40.69866] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.91972, 40.69866] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.921479, 40.766778] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.921479, 40.766778] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.922913, 40.706606] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.922913, 40.706606] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.933147, 40.706151] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.933147, 40.706151] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.937138, 40.748917] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.937138, 40.748917] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.97697, 40.629754] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.97697, 40.629754] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.025509, 40.629741] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.025509, 40.629741] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.023376, 40.634966] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.023376, 40.634966] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.994658, 40.63626] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.994658, 40.63626] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.005351, 40.631385] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.005351, 40.631385] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.986829, 40.597703] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.986829, 40.597703] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.993676, 40.60195] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.993676, 40.60195] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.984521, 40.617108] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.984521, 40.617108] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.990453, 40.620686] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.990453, 40.620686] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.030876, 40.616621] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.030876, 40.616621] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.028397, 40.622686] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.028397, 40.622686] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.000582, 40.613158] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.000582, 40.613158] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.99884, 40.619258] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.99884, 40.619258] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.998174, 40.604676] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.998174, 40.604676] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.001592, 40.607735] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.001592, 40.607735] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.996857, 40.626224] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.996857, 40.626224] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.996353, 40.624841] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.996353, 40.624841] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.973376, 40.595924] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.973376, 40.595924] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.972355, 40.603258] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.972355, 40.603258] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.961353, 40.57771] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.961353, 40.57771] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.954057, 40.586547] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.954057, 40.586547] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.955811, 40.599308] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.955811, 40.599308] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.957608, 40.608638] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.957608, 40.608638] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.979084, 40.597235] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.979084, 40.597235] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.980373, 40.604058] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.980373, 40.604058] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.974592, 40.580738] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.974592, 40.580738] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.974265, 40.589449] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.974265, 40.589449] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.983765, 40.58884] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.983765, 40.58884] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.978188, 40.592465] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.978188, 40.592465] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.973002, 40.608842] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.973002, 40.608842] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.974048, 40.614356] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.974048, 40.614356] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.975256, 40.620731] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.975256, 40.620731] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.959243, 40.617397] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.959243, 40.617397] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.98178, 40.611455] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.98178, 40.611455] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.976069, 40.625017] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.976069, 40.625017] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.960693, 40.625022] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.960693, 40.625022] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.961517, 40.629208] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.961517, 40.629208] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.955078, 40.595321] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.955078, 40.595321] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.941937, 40.753739] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.941937, 40.753739] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.985984, 40.762455] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.985984, 40.762455] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.981697, 40.76297] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.981697, 40.76297] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.981331, 40.758641] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.981331, 40.758641] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.977368, 40.764085] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.977368, 40.764085] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.966089, 40.764618] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.966089, 40.764618] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.953234, 40.759171] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.953234, 40.759171] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.981648, 40.768249] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.981648, 40.768249] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.984209, 40.759801] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.984209, 40.759801] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.980729, 40.764565] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.980729, 40.764565] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.973347, 40.76481] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.973347, 40.76481] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.967375, 40.762708] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.967375, 40.762708] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.991056, 40.750373] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.991056, 40.750373] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.987495, 40.755289] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.987495, 40.755289] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.007623, 40.710162] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.007623, 40.710162] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.008584, 40.714111] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.008584, 40.714111] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.989735, 40.757307] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.989735, 40.757307] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.949066, 40.694618] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.949066, 40.694618] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.950234, 40.700376] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.950234, 40.700376] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.992765, 40.742954] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.992765, 40.742954] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.987771, 40.749789] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.987771, 40.749789] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.985036, 40.688408] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.985036, 40.688408] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.987218, 40.69247] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.987218, 40.69247] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.990177, 40.713855] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.990177, 40.713855] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.988078, 40.71868] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.988078, 40.71868] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.989938, 40.723401] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.989938, 40.723401] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.941377, 40.700404] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.941377, 40.700404] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.935623, 40.697195] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.935623, 40.697195] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.989778, 40.670271] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.989778, 40.670271] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.995891, 40.673641] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.995891, 40.673641] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.990756, 40.68611] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.990756, 40.68611] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.986056, 40.692255] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.986056, 40.692255] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.991818, 40.694196] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.991818, 40.694196] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.990538, 40.735872] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.990538, 40.735872] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.989344, 40.741302] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.989344, 40.741302] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.992872, 40.665413] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.992872, 40.665413] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.988301, 40.670846] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.988301, 40.670846] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.98575, 40.73269] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.98575, 40.73269] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.990669, 40.734763] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.990669, 40.734763] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.896548, 40.674541] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.896548, 40.674541] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.905316, 40.678333] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.905316, 40.678333] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.01788, 40.641361] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.01788, 40.641361] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.010006, 40.648938] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.010006, 40.648938] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-74.003548, 40.655143] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.003548, 40.655143] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.994448, 40.646484] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.994448, 40.646484] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.014033, 40.645068] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.014033, 40.645068] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.994202, 40.640912] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.994202, 40.640912] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.99809, 40.660396] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.99809, 40.660396] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.994946, 40.680273] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.994946, 40.680273] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-74.003738, 40.726227] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.003738, 40.726227] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.937969, 40.851694] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.937969, 40.851694] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.934179, 40.859021] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.934179, 40.859021] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.954797, 40.805058] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.954797, 40.805058] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.952247, 40.811071] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.952247, 40.811071] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.997702, 40.724328] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.997702, 40.724328] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.992507, 40.730464] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.992507, 40.730464] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.00657, 40.709415] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.00657, 40.709415] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.00881, 40.71305] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.00881, 40.71305] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-74.009266, 40.715478] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.009266, 40.715478] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.985063, 40.690544] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.985063, 40.690544] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.989997, 40.693218] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.989997, 40.693218] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.903879, 40.858407] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.903879, 40.858407] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.901033, 40.862802] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.901033, 40.862802] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.009744, 40.712563] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.009744, 40.712563] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-74.005229, 40.720824] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.005229, 40.720824] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.941514, 40.830517] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.941514, 40.830517] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.939892, 40.836012] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.939892, 40.836012] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.007938, 40.710022] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.007938, 40.710022] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.003406, 40.713233] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.003406, 40.713233] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.999826, 40.718173] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.999826, 40.718173] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.006985, 40.713272] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.006985, 40.713272] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.001826, 40.719465] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.001826, 40.719465] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.013168, 40.70173] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.013168, 40.70173] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.014007, 40.704913] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.014007, 40.704913] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.011861, 40.707557] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.011861, 40.707557] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.013007, 40.703142] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.013007, 40.703142] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.012974, 40.707744] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.012974, 40.707744] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.895898, 40.706225] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.895898, 40.706225] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.889577, 40.711431] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.889577, 40.711431] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.013783, 40.707512] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.013783, 40.707512] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.012188, 40.711835] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.012188, 40.711835] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.009508, 40.710367] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.009508, 40.710367] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.011055, 40.706476] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.011055, 40.706476] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.011131, 40.710512] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.011131, 40.710512] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.009099, 40.70682] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.009099, 40.70682] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.92727, 40.86549] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.92727, 40.86549] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.993752, 40.718266] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.993752, 40.718266] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.996203, 40.725296] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.996203, 40.725296] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.993806, 40.720246] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.993806, 40.720246] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.001054, 40.718814] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.001054, 40.718814] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.998041, 40.745905] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.998041, 40.745905] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.99339, 40.752287] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.99339, 40.752287] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.891298, 40.746539] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.891298, 40.746539] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-74.000201, 40.737825] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.000201, 40.737825] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.947534, 40.817905] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.947534, 40.817905] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.996208, 40.738227] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.996208, 40.738227] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.99775, 40.737741] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.99775, 40.737741] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-74.002578, 40.739776] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.002578, 40.739776] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-74.001689, 40.740893] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.001689, 40.740893] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.950426, 40.669938] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.950426, 40.669938] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.993085, 40.697465] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.993085, 40.697465] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.956848, 40.681379] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.956848, 40.681379] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.965837, 40.683262] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.965837, 40.683262] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.903075, 40.704412] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.903075, 40.704412] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.944249, 40.79502] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.944249, 40.79502] + } }, { "type": "Feature", - "properties": { "weight": 15 }, - "geometry": { "type": "Point", "coordinates": [-73.955588, 40.779491] } + "properties": { + "weight": 15 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.955588, 40.779491] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.986884, 40.699742] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.986884, 40.699742] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.990531, 40.699336] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.990531, 40.699336] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.973945, 40.686113] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.973945, 40.686113] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.950589, 40.667883] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.950589, 40.667883] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.87875, 40.886037] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.87875, 40.886037] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.994659, 40.725914] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.994659, 40.725914] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.947478, 40.7906] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.947478, 40.7906] + } }, { "type": "Feature", - "properties": { "weight": 5 }, - "geometry": { "type": "Point", "coordinates": [-73.872106, 40.675376] } + "properties": { + "weight": 5 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.872106, 40.675376] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.85147, 40.679843] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.85147, 40.679843] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.96379, 40.64094] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.96379, 40.64094] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.941616, 40.798629] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.941616, 40.798629] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.860816, 40.833225] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.860816, 40.833225] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-74.006886, 40.719318] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.006886, 40.719318] + } }, { "type": "Feature", - "properties": { "weight": 3 }, - "geometry": { "type": "Point", "coordinates": [-73.858992, 40.679371] } + "properties": { + "weight": 3 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.858992, 40.679371] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-73.981962, 40.753821] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.981962, 40.753821] + } }, { "type": "Feature", - "properties": { "weight": 13 }, - "geometry": { "type": "Point", "coordinates": [-73.997141, 40.7223] } + "properties": { + "weight": 13 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.997141, 40.7223] + } }, { "type": "Feature", - "properties": { "weight": 15 }, - "geometry": { "type": "Point", "coordinates": [-73.937594, 40.804138] } + "properties": { + "weight": 15 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.937594, 40.804138] + } }, { "type": "Feature", - "properties": { "weight": 7 }, - "geometry": { "type": "Point", "coordinates": [-73.981235, 40.577281] } + "properties": { + "weight": 7 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.981235, 40.577281] + } }, { "type": "Feature", - "properties": { "weight": 11 }, - "geometry": { "type": "Point", "coordinates": [-74.002197, 40.755446] } + "properties": { + "weight": 11 + }, + "geometry": { + "type": "Point", + "coordinates": [-74.002197, 40.755446] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.958361, 40.768802] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.958361, 40.768802] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.95177, 40.777861] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.95177, 40.777861] + } }, { "type": "Feature", - "properties": { "weight": 1 }, - "geometry": { "type": "Point", "coordinates": [-73.947066, 40.784236] } + "properties": { + "weight": 1 + }, + "geometry": { + "type": "Point", + "coordinates": [-73.947066, 40.784236] + } } ] } diff --git a/packages/turf-standard-deviational-ellipse/test/in/mta-stations-weighted.json b/packages/turf-standard-deviational-ellipse/test/in/mta-stations-weighted.json index 807ff1b28b..755bec7b4e 100644 --- a/packages/turf-standard-deviational-ellipse/test/in/mta-stations-weighted.json +++ b/packages/turf-standard-deviational-ellipse/test/in/mta-stations-weighted.json @@ -16,190 +16,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.961791992187443, 40.650695800781364], - [-73.964294433593693, 40.650695800781364], - [-73.966796875, 40.650878906250114], - [-73.970092773437443, 40.65130615234375], - [-73.973388671875, 40.651672363281193], - [-73.97576904296875, 40.652099609375], - [-73.978210449218693, 40.652893066406307], - [-73.98138427734375, 40.653930664062614], - [-73.984497070312443, 40.655090332031364], - [-73.98760986328125, 40.65631103515625], - [-73.990478515625, 40.657897949218807], - [-73.993408203125, 40.65972900390625], - [-73.99542236328125, 40.66107177734375], - [-73.997314453125, 40.662719726562614], - [-73.999877929687386, 40.664916992187557], - [-74.002197265625, 40.667297363281364], - [-74.004516601562443, 40.669677734375057], - [-74.006591796875, 40.67230224609375], - [-74.008422851562443, 40.675109863281364], - [-74.01031494140625, 40.677917480468807], - [-74.011779785156193, 40.68072509765625], - [-74.013305664062443, 40.683715820312443], - [-74.01458740234375, 40.686706542968864], - [-74.015502929687443, 40.68890380859375], - [-74.01629638671875, 40.691284179687614], - [-74.01727294921875, 40.694274902343807], - [-74.01812744140625, 40.697326660156307], - [-74.0186767578125, 40.700500488281193], - [-74.019226074218693, 40.702697753906307], - [-74.01947021484375, 40.705078124999943], - [-74.019897460937443, 40.708129882812443], - [-74.020080566406193, 40.710327148437557], - [-74.02032470703125, 40.712707519531193], - [-74.0203857421875, 40.716308593750114], - [-74.0203857421875, 40.720092773437614], - [-74.02032470703125, 40.722900390625057], - [-74.020080566406193, 40.72589111328125], - [-74.019897460937443, 40.72930908203125], - [-74.019409179687443, 40.732727050781193], - [-74.01898193359375, 40.735473632812557], - [-74.01849365234375, 40.73809814453125], - [-74.01800537109375, 40.740722656250114], - [-74.017578124999943, 40.74267578125], - [-74.017028808593693, 40.744689941406364], - [-74.01641845703125, 40.7470703125], - [-74.015625, 40.75030517578125], - [-74.014404296875, 40.753906249999943], - [-74.013305664062443, 40.756896972656364], - [-74.01239013671875, 40.75927734375], - [-74.011413574218636, 40.761718749999943], - [-74.0103759765625, 40.764099121093807], - [-74.009216308593693, 40.76690673828125], - [-74.007873535156193, 40.769714355468864], - [-74.00677490234375, 40.771911621093807], - [-74.005615234375, 40.774108886718864], - [-74.00408935546875, 40.776672363281307], - [-74.00250244140625, 40.77947998046875], - [-74.001281738281193, 40.781494140625057], - [-73.999572753906193, 40.784118652343807], - [-73.997802734375, 40.786682128906364], - [-73.99627685546875, 40.788696289062557], - [-73.994506835937443, 40.791076660156364], - [-73.99249267578125, 40.793701171875057], - [-73.990905761718693, 40.79571533203125], - [-73.989196777343636, 40.797729492187614], - [-73.98748779296875, 40.79949951171875], - [-73.9857177734375, 40.801513671875057], - [-73.983825683593693, 40.803283691406364], - [-73.98187255859375, 40.805297851562557], - [-73.979919433593693, 40.80712890625], - [-73.9774169921875, 40.809326171875057], - [-73.97418212890625, 40.811889648437443], - [-73.97137451171875, 40.814086914062557], - [-73.9691162109375, 40.815673828125114], - [-73.966674804687443, 40.817321777343807], - [-73.964294433593693, 40.818908691406364], - [-73.961669921875, 40.82049560546875], - [-73.9591064453125, 40.821899414062557], - [-73.9564208984375, 40.823303222656364], - [-73.95440673828125, 40.824279785156193], - [-73.952270507812443, 40.825317382812557], - [-73.950073242187443, 40.826110839843807], - [-73.947875976562443, 40.826904296875114], - [-73.945678710937443, 40.827697753906364], - [-73.943420410156136, 40.8284912109375], - [-73.9403076171875, 40.82928466796875], - [-73.93798828125, 40.829895019531307], - [-73.93560791015625, 40.830322265625057], - [-73.932373046875, 40.830871582031307], - [-73.929199218749943, 40.831298828125114], - [-73.9259033203125, 40.831481933593864], - [-73.922607421874943, 40.831481933593864], - [-73.9193115234375, 40.831481933593864], - [-73.9158935546875, 40.831115722656364], - [-73.9127197265625, 40.830688476562557], - [-73.9102783203125, 40.830078125000057], - [-73.90777587890625, 40.829528808593807], - [-73.9053955078125, 40.828674316406193], - [-73.90301513671875, 40.827880859375114], - [-73.899902343749943, 40.826721191406364], - [-73.896972656249886, 40.8250732421875], - [-73.894775390624943, 40.82391357421875], - [-73.8927001953125, 40.822509765625114], - [-73.890014648437386, 40.8206787109375], - [-73.88739013671875, 40.818481445312557], - [-73.8848876953125, 40.8162841796875], - [-73.88262939453125, 40.813720703125057], - [-73.8809814453125, 40.811889648437443], - [-73.879516601562443, 40.809875488281307], - [-73.877502441406193, 40.807312011718693], - [-73.875671386718693, 40.80450439453125], - [-73.874084472656136, 40.801696777343807], - [-73.8726806640625, 40.798706054687614], - [-73.871398925781193, 40.79571533203125], - [-73.8704833984375, 40.793273925781307], - [-73.869689941406193, 40.791076660156364], - [-73.8687744140625, 40.7880859375], - [-73.867980957031136, 40.784912109375057], - [-73.867309570312443, 40.781921386718864], - [-73.866821289062443, 40.7789306640625], - [-73.86639404296875, 40.776489257812557], - [-73.8660888671875, 40.774291992187614], - [-73.86590576171875, 40.771911621093807], - [-73.865783691406193, 40.769714355468864], - [-73.865600585937386, 40.76593017578125], - [-73.865600585937386, 40.7623291015625], - [-73.86572265625, 40.75927734375], - [-73.86590576171875, 40.756530761718864], - [-73.8660888671875, 40.75372314453125], - [-73.8665771484375, 40.7501220703125], - [-73.867126464843636, 40.74688720703125], - [-73.867492675781193, 40.744079589843807], - [-73.867980957031136, 40.74212646484375], - [-73.86846923828125, 40.739501953125057], - [-73.86932373046875, 40.736328125000114], - [-73.8699951171875, 40.73388671875], - [-73.870727539062443, 40.731323242187557], - [-73.87152099609375, 40.728881835937614], - [-73.872314453125, 40.72650146484375], - [-73.873413085937443, 40.723510742187557], - [-73.87457275390625, 40.720520019531193], - [-73.875793457031193, 40.71771240234375], - [-73.8770751953125, 40.714904785156307], - [-73.878173828124943, 40.712707519531193], - [-73.8792724609375, 40.710510253906307], - [-73.8804931640625, 40.708312988281193], - [-73.881896972656193, 40.70550537109375], - [-73.883911132812386, 40.7022705078125], - [-73.885498046874943, 40.699890136718864], - [-73.88677978515625, 40.69769287109375], - [-73.88861083984375, 40.695129394531364], - [-73.890380859374943, 40.69268798828125], - [-73.89202880859375, 40.690673828125057], - [-73.893615722656193, 40.688720703125], - [-73.89520263671875, 40.686706542968864], - [-73.89691162109375, 40.6846923828125], - [-73.89862060546875, 40.682678222656307], - [-73.900390624999943, 40.680908203125], - [-73.902221679687386, 40.678894042968864], - [-73.90472412109375, 40.676513671875], - [-73.9071044921875, 40.674316406250114], - [-73.909179687499886, 40.6724853515625], - [-73.91180419921875, 40.670288085937557], - [-73.914611816406193, 40.6680908203125], - [-73.916870117187443, 40.666503906250114], - [-73.918701171874943, 40.665283203125057], - [-73.920593261718693, 40.66412353515625], - [-73.922424316406193, 40.662902832031364], - [-73.924316406249943, 40.661926269531364], - [-73.92626953125, 40.660705566406307], - [-73.928222656249943, 40.65972900390625], - [-73.9302978515625, 40.658691406250114], - [-73.932373046875, 40.657714843750114], - [-73.935180664062443, 40.656494140625], - [-73.937377929687443, 40.655517578125], - [-73.939575195312443, 40.654907226562443], - [-73.942626953124943, 40.653686523437557], - [-73.94488525390625, 40.653076171875057], - [-73.947204589843693, 40.652526855468807], - [-73.950378417968636, 40.65191650390625], - [-73.953613281249943, 40.6514892578125], - [-73.9569091796875, 40.650878906250114], - [-73.95928955078125, 40.650695800781364], - [-73.961791992187443, 40.650695800781364] + [-73.943062, 40.828517], + [-73.954059, 40.825539], + [-73.964297, 40.821839], + [-73.973743, 40.817592], + [-73.982408, 40.812939], + [-73.990332, 40.807982], + [-73.997572, 40.802794], + [-74.004185, 40.79742], + [-74.010229, 40.791885], + [-74.015753, 40.786199], + [-74.020799, 40.780359], + [-74.025399, 40.774353], + [-74.029572, 40.76816], + [-74.033324, 40.761758], + [-74.036647, 40.755117], + [-74.039516, 40.748211], + [-74.041886, 40.741012], + [-74.043691, 40.7335], + [-74.044837, 40.725667], + [-74.045205, 40.717524], + [-74.044648, 40.709112], + [-74.042995, 40.700515], + [-74.040065, 40.691868], + [-74.035686, 40.683373], + [-74.02973, 40.675291], + [-74.022154, 40.667927], + [-74.013031, 40.661598], + [-74.00257, 40.656579], + [-73.991101, 40.653056], + [-73.979028, 40.651095], + [-73.966766, 40.65064], + [-73.954682, 40.651541], + [-73.943062, 40.65359], + [-73.932093, 40.656568], + [-73.921879, 40.660265], + [-73.912452, 40.664507], + [-73.903802, 40.669155], + [-73.895887, 40.674106], + [-73.888653, 40.679288], + [-73.882042, 40.684655], + [-73.875998, 40.690183], + [-73.87047, 40.695863], + [-73.865417, 40.701696], + [-73.860808, 40.707696], + [-73.856623, 40.713883], + [-73.852857, 40.72028], + [-73.849517, 40.726915], + [-73.846629, 40.733817], + [-73.844238, 40.741012], + [-73.842411, 40.74852], + [-73.84124, 40.756351], + [-73.840847, 40.764493], + [-73.841378, 40.772906], + [-73.843007, 40.781506], + [-73.845916, 40.790158], + [-73.850278, 40.79866], + [-73.856222, 40.806752], + [-73.863796, 40.814126], + [-73.872926, 40.820467], + [-73.883402, 40.825498], + [-73.894896, 40.829032], + [-73.906999, 40.831002], + [-73.919294, 40.831463], + [-73.93141, 40.830566], + [-73.943062, 40.828517] ] ] } diff --git a/packages/turf-standard-deviational-ellipse/test/out/mta-stations-unweighted.json b/packages/turf-standard-deviational-ellipse/test/out/mta-stations-unweighted.json index 4f6d1d9825..ff4c552055 100644 --- a/packages/turf-standard-deviational-ellipse/test/out/mta-stations-unweighted.json +++ b/packages/turf-standard-deviational-ellipse/test/out/mta-stations-unweighted.json @@ -19,195 +19,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.864013671875, 40.70892333984375], - [-73.8648071289062, 40.70629882812506], - [-73.86560058593739, 40.70367431640631], - [-73.86639404296875, 40.7012939453125], - [-73.86730957031244, 40.698730468750114], - [-73.8682861328125, 40.696289062500114], - [-73.86932373046875, 40.69372558593756], - [-73.87030029296875, 40.691284179687614], - [-73.87170410156239, 40.6881103515625], - [-73.8731079101562, 40.68487548828125], - [-73.87432861328125, 40.68249511718756], - [-73.87597656249994, 40.67932128906244], - [-73.87731933593744, 40.6768798828125], - [-73.8782958984375, 40.674926757812614], - [-73.87982177734375, 40.6724853515625], - [-73.88128662109375, 40.669921875000114], - [-73.88287353515625, 40.667480468750114], - [-73.88458251953125, 40.66491699218756], - [-73.88592529296875, 40.663085937500114], - [-73.88720703125, 40.66107177734375], - [-73.88909912109375, 40.658691406250114], - [-73.89111328125, 40.65612792968756], - [-73.8931884765625, 40.65368652343756], - [-73.8953247070312, 40.651123046875], - [-73.8975830078125, 40.648681640625], - [-73.90002441406239, 40.646301269531364], - [-73.9024047851562, 40.64392089843756], - [-73.9044189453125, 40.642089843750114], - [-73.9063720703125, 40.64050292968756], - [-73.90917968749989, 40.638305664062614], - [-73.9119873046875, 40.63610839843756], - [-73.9149780273437, 40.633911132812614], - [-73.91729736328125, 40.63232421875006], - [-73.919677734375, 40.63092041015625], - [-73.92297363281244, 40.62908935546881], - [-73.9263916015625, 40.62750244140625], - [-73.9298706054687, 40.62591552734369], - [-73.93347167968744, 40.62469482421881], - [-73.9371948242187, 40.62347412109375], - [-73.94091796874994, 40.62249755859375], - [-73.9447021484375, 40.621887207031364], - [-73.9486083984375, 40.62127685546881], - [-73.952392578125, 40.621093750000114], - [-73.956298828125, 40.62127685546881], - [-73.96020507812489, 40.621520996093864], - [-73.96398925781244, 40.622070312500114], - [-73.9677734375, 40.62310791015625], - [-73.97149658203125, 40.62432861328131], - [-73.97509765625, 40.625488281250114], - [-73.9785766601562, 40.6273193359375], - [-73.98187255859375, 40.62927246093756], - [-73.985107421875, 40.63153076171881], - [-73.9882202148437, 40.633728027343864], - [-73.99108886718744, 40.636474609375], - [-73.99377441406239, 40.6392822265625], - [-73.99639892578125, 40.642089843750114], - [-73.9982299804687, 40.644287109375], - [-73.99981689453125, 40.646728515625], - [-74.00140380859364, 40.64892578125006], - [-74.0029907226562, 40.6514892578125], - [-74.0048217773437, 40.65472412109369], - [-74.006103515625, 40.65728759765631], - [-74.00732421875, 40.65972900390625], - [-74.0087280273437, 40.663085937500114], - [-74.010009765625, 40.666503906250114], - [-74.01116943359375, 40.669921875000114], - [-74.01190185546875, 40.6724853515625], - [-74.0125732421875, 40.674926757812614], - [-74.0134887695312, 40.67828369140631], - [-74.01422119140625, 40.68170166015631], - [-74.0147705078125, 40.68487548828125], - [-74.0153198242187, 40.68829345703119], - [-74.01580810546875, 40.69152832031244], - [-74.01611328125, 40.69470214843756], - [-74.01641845703125, 40.6978759765625], - [-74.0164794921875, 40.700073242187614], - [-74.0166015625, 40.70251464843756], - [-74.01672363281244, 40.7047119140625], - [-74.01672363281244, 40.70709228515631], - [-74.01672363281244, 40.7100830078125], - [-74.0166015625, 40.713073730468864], - [-74.0164794921875, 40.71588134765631], - [-74.0161743164062, 40.71868896484381], - [-74.01599121093739, 40.7216796875], - [-74.0156860351562, 40.72491455078119], - [-74.0151977539062, 40.728515625000114], - [-74.0147705078125, 40.7310791015625], - [-74.014404296875, 40.73388671875], - [-74.01379394531244, 40.736511230468864], - [-74.01330566406244, 40.73907470703125], - [-74.01287841796875, 40.741088867187614], - [-74.0123291015625, 40.74371337890631], - [-74.01141357421864, 40.74688720703125], - [-74.01062011718744, 40.7501220703125], - [-74.0095825195312, 40.753295898437614], - [-74.00860595703125, 40.756530761718864], - [-74.00732421875, 40.76031494140631], - [-74.006103515625, 40.76348876953125], - [-74.005126953125, 40.76593017578125], - [-74.00408935546875, 40.76849365234381], - [-74.0029907226562, 40.77087402343744], - [-74.002197265625, 40.77288818359381], - [-74.0009765625, 40.77532958984375], - [-73.99951171875, 40.77850341796869], - [-73.99810791015625, 40.78088378906256], - [-73.99719238281244, 40.78289794921869], - [-73.99609375, 40.78472900390631], - [-73.99499511718744, 40.786499023437614], - [-73.99377441406239, 40.78851318359381], - [-73.99230957031244, 40.791076660156364], - [-73.99072265624989, 40.793518066406364], - [-73.98889160156244, 40.79608154296875], - [-73.98712158203125, 40.798522949218864], - [-73.98529052734375, 40.80108642578131], - [-73.98327636718744, 40.80352783203125], - [-73.9818115234375, 40.80548095703131], - [-73.98022460937494, 40.80731201171869], - [-73.97790527343744, 40.80969238281256], - [-73.97619628906244, 40.8115234375], - [-73.97442626953125, 40.81329345703131], - [-73.97198486328125, 40.815673828125114], - [-73.96929931640625, 40.81811523437506], - [-73.96667480468744, 40.82049560546875], - [-73.9638061523437, 40.82269287109381], - [-73.96087646484375, 40.82489013671875], - [-73.95788574218744, 40.826904296875114], - [-73.9547119140625, 40.82867431640619], - [-73.95141601562494, 40.83050537109381], - [-73.9489135742187, 40.83172607421869], - [-73.94622802734375, 40.8328857421875], - [-73.94268798828125, 40.83447265625006], - [-73.9390869140625, 40.835693359375114], - [-73.936279296875, 40.83648681640619], - [-73.93341064453125, 40.83709716796875], - [-73.92962646484375, 40.837890625], - [-73.92578125, 40.83850097656256], - [-73.921875, 40.83850097656256], - [-73.9180908203125, 40.83850097656256], - [-73.91522216796875, 40.83831787109381], - [-73.9122924804687, 40.837890625], - [-73.90948486328125, 40.8372802734375], - [-73.9066162109375, 40.83673095703125], - [-73.90380859374994, 40.835876464843864], - [-73.901123046875, 40.83489990234381], - [-73.8975219726562, 40.83331298828125], - [-73.8941040039062, 40.831481933593864], - [-73.89160156249994, 40.82989501953131], - [-73.8892822265625, 40.82830810546875], - [-73.8861694335937, 40.82592773437506], - [-73.88330078124994, 40.823303222656364], - [-73.880615234375, 40.8206787109375], - [-73.8779907226562, 40.81768798828131], - [-73.8756713867187, 40.814697265625114], - [-73.87347412109375, 40.8115234375], - [-73.87152099609375, 40.80828857421875], - [-73.8701171875, 40.805725097656364], - [-73.8687133789062, 40.803283691406364], - [-73.86712646484364, 40.7999267578125], - [-73.86572265625, 40.79669189453125], - [-73.8643798828125, 40.79309082031256], - [-73.86322021484375, 40.78967285156256], - [-73.86248779296875, 40.78729248046875], - [-73.8616943359375, 40.78472900390631], - [-73.8609008789062, 40.781311035156364], - [-73.8604125976562, 40.778686523437614], - [-73.85980224609375, 40.77630615234381], - [-73.85931396484375, 40.77307128906256], - [-73.85888671874994, 40.77069091796869], - [-73.85858154296875, 40.76812744140631], - [-73.8582763671875, 40.76507568359381], - [-73.85797119140614, 40.761901855468864], - [-73.85791015625, 40.75952148437506], - [-73.8577880859375, 40.757324218750114], - [-73.85772705078125, 40.754272460937614], - [-73.85772705078125, 40.75128173828125], - [-73.8577880859375, 40.74829101562506], - [-73.8577880859375, 40.745300292968864], - [-73.85809326171875, 40.74169921874994], - [-73.8582763671875, 40.73828125], - [-73.85858154296875, 40.73547363281256], - [-73.85900878906244, 40.73272705078119], - [-73.85949707031239, 40.7291259765625], - [-73.86022949218744, 40.72509765624994], - [-73.86071777343744, 40.72247314453125], - [-73.86108398437494, 40.72052001953119], - [-73.8616943359375, 40.7178955078125], - [-73.8623046875, 40.71527099609381], - [-73.86322021484375, 40.712097167968864], - [-73.864013671875, 40.70892333984375] + [-73.937242, 40.836186], + [-73.95061, 40.832464], + [-73.962925, 40.827467], + [-73.974045, 40.821573], + [-73.983949, 40.815099], + [-73.992697, 40.808283], + [-74.00039, 40.801291], + [-74.007142, 40.794228], + [-74.013069, 40.787155], + [-74.018273, 40.780095], + [-74.022843, 40.773051], + [-74.026852, 40.76601], + [-74.030356, 40.758945], + [-74.033397, 40.751824], + [-74.035999, 40.744608], + [-74.038172, 40.737256], + [-74.039907, 40.729722], + [-74.041179, 40.721963], + [-74.041939, 40.713935], + [-74.042117, 40.705603], + [-74.041611, 40.696944], + [-74.04029, 40.687956], + [-74.037986, 40.678674], + [-74.034501, 40.669186], + [-74.029617, 40.659656], + [-74.023121, 40.650342], + [-74.01485, 40.641608], + [-74.004753, 40.633898], + [-73.992947, 40.627687], + [-73.979755, 40.623387], + [-73.96568, 40.621247], + [-73.951317, 40.621297], + [-73.937242, 40.62335], + [-73.923915, 40.62707], + [-73.911634, 40.632063], + [-73.90054, 40.637951], + [-73.890654, 40.644418], + [-73.881917, 40.651226], + [-73.87423, 40.65821], + [-73.867477, 40.665265], + [-73.861546, 40.672331], + [-73.856334, 40.679384], + [-73.851753, 40.686421], + [-73.84773, 40.693457], + [-73.844209, 40.700516], + [-73.841151, 40.707632], + [-73.838529, 40.714843], + [-73.836335, 40.722192], + [-73.834577, 40.729722], + [-73.833281, 40.737479], + [-73.832495, 40.745506], + [-73.832291, 40.753837], + [-73.83277, 40.762497], + [-73.834065, 40.771488], + [-73.836343, 40.780774], + [-73.839806, 40.790268], + [-73.844672, 40.799806], + [-73.851158, 40.809129], + [-73.859428, 40.817876], + [-73.869536, 40.825598], + [-73.881366, 40.831822], + [-73.894592, 40.836133], + [-73.908711, 40.838281], + [-73.923121, 40.838237], + [-73.937242, 40.836186] ] ] } @@ -221,7 +97,7 @@ "semiMinorAxis": 0.11116279583689635, "numberOfFeatures": 473, "angle": 16.480444767293083, - "percentageWithinEllipse": 67.65327695560254 + "percentageWithinEllipse": 71.88160676532769 }, "fill": "#FFF", "stroke": "#0A0", @@ -233,71 +109,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.86425018206197, 40.70817327168436], - [-73.86229362069408, 40.71539493318482], - [-73.86066196462228, 40.722756867270895], - [-73.85936208961321, 40.73030348582415], - [-73.85841504334654, 40.73807936958905], - [-73.85785804056273, 40.74612659590878], - [-73.85774708165933, 40.754480588538456], - [-73.85815997375734, 40.76316364909264], - [-73.859199167547, 40.77217517924255], - [-73.86099317541081, 40.781477665342415], - [-73.86369434043719, 40.79097814737647], - [-73.86746951914185, 40.8005067351386], - [-73.87247949307088, 40.809797379032936], - [-73.87884419223703, 40.81848131749522], - [-73.88659622795889, 40.82610771059877], - [-73.89563531096549, 40.832202836993005], - [-73.90570589866341, 40.836363029417214], - [-73.91641896720802, 40.838351521294626], - [-73.92731929245234, 40.83815531494918], - [-73.9379728415863, 40.83597407208024], - [-73.94803773180242, 40.83215070084145], - [-73.95729603850374, 40.82708121765624], - [-73.9656477572392, 40.821140278912516], - [-73.97308304184949, 40.814638587275496], - [-73.97964946042646, 40.80780946881659], - [-73.98542425881847, 40.80081380566669], - [-73.9904948544156, 40.793752992628335], - [-73.99494688213429, 40.78668327170549], - [-73.99885775898814, 40.77962826314589], - [-74.00229374454675, 40.77258871286213], - [-74.00530895641558, 40.76554956348073], - [-74.00794530937128, 40.75848486121402], - [-74.01023273548554, 40.751361083495325], - [-74.01218929685344, 40.744139421994866], - [-74.01382095292523, 40.73677748790879], - [-74.0151208279343, 40.72923086935553], - [-74.01606787420097, 40.72145498559063], - [-74.01662487698478, 40.71340775927091], - [-74.01673583588818, 40.70505376664123], - [-74.01632294379017, 40.696370706087045], - [-74.0152837500005, 40.68735917593713], - [-74.0134897421367, 40.67805668983727], - [-74.01078857711032, 40.66855620780321], - [-74.00701339840566, 40.65902762004109], - [-74.00200342447663, 40.64973697614675], - [-73.99563872531049, 40.641053037684465], - [-73.98788668958862, 40.633426644580915], - [-73.97884760658202, 40.62733151818668], - [-73.9687770188841, 40.62317132576247], - [-73.9580639503395, 40.62118283388506], - [-73.94716362509517, 40.62137904023051], - [-73.93651007596121, 40.623560283099444], - [-73.9264451857451, 40.62738365433823], - [-73.91718687904377, 40.63245313752344], - [-73.90883516030831, 40.63839407626717], - [-73.90139987569802, 40.64489576790419], - [-73.89483345712105, 40.65172488636309], - [-73.88905865872904, 40.65872054951299], - [-73.88398806313191, 40.66578136255135], - [-73.87953603541322, 40.67285108347419], - [-73.87562515855937, 40.6799060920338], - [-73.87218917300076, 40.68694564231755], - [-73.86917396113193, 40.69398479169895], - [-73.86653760817623, 40.70104949396566], - [-73.86425018206197, 40.70817327168436] + [-73.93724145877377, 40.83618511653203], + [-73.95060972869568, 40.8324633775639], + [-73.96292484453991, 40.82746644344005], + [-73.97404446702156, 40.82157262672473], + [-73.98394875367595, 40.81509819041714], + [-73.99269683798383, 40.80828215856428], + [-74.00038936254118, 40.801290325812246], + [-74.00714185465796, 40.7942279240883], + [-74.0130682739536, 40.787154013569555], + [-74.01827207914721, 40.78009420595208], + [-74.0228420976961, 40.77305062413821], + [-74.02685110454811, 40.766009156141784], + [-74.03035570013952, 40.75894450155889], + [-74.03339660676885, 40.75182359688861], + [-74.03599885133741, 40.7446079598843], + [-74.03817151000639, 40.73725542445193], + [-74.03990680588038, 40.72972169736291], + [-74.04117841938891, 40.7219621787065], + [-74.04193893580715, 40.713934559844056], + [-74.04211646678922, 40.70560284689648], + [-74.04161071606777, 40.696943636408704], + [-74.04028922013188, 40.68795562584149], + [-74.03798531611285, 40.678673302342965], + [-74.03450066487102, 40.669185160344625], + [-74.02961673528854, 40.6596550633659], + [-74.02312072026545, 40.65034185984363], + [-74.01484994966283, 40.641607217347826], + [-74.00475219726987, 40.633897324050196], + [-73.9929463818132, 40.62768650824393], + [-73.97975494152989, 40.62338606565163], + [-73.96567961587314, 40.621246424971716], + [-73.95131647814294, 40.62129635383516], + [-73.93724145877377, 40.62334923864766], + [-73.92391438856964, 40.62706944011775], + [-73.91163338256526, 40.63206223585031], + [-73.9005398677183, 40.6379500718276], + [-73.89065381415783, 40.64441738629339], + [-73.88191681343093, 40.65122571972067], + [-73.87422919069331, 40.658209690276244], + [-73.86747640309733, 40.66526434657484], + [-73.86154537461677, 40.67233080788317], + [-73.85633338369394, 40.67938357145792], + [-73.85175218865726, 40.68642057812388], + [-73.84772946363739, 40.693455977568554], + [-73.84420894289005, 40.70051509596029], + [-73.84115014861848, 40.70763102099724], + [-73.83852823230507, 40.71484226550485], + [-73.83633425422795, 40.72219103909716], + [-73.83457611166715, 40.72972169736291], + [-73.83328025876065, 40.73747892704868], + [-73.83249429706393, 40.74550515345826], + [-73.83229040407745, 40.75383652139038], + [-73.83276933365912, 40.762496621313865], + [-73.83406425957234, 40.771486974883885], + [-73.83634290570137, 40.78077333086871], + [-73.83980511654022, 40.79026741305988], + [-73.8446714183372, 40.79980549611834], + [-73.85115702339624, 40.80912869576755], + [-73.8594271141585, 40.81787502151877], + [-73.8695359500426, 40.825597585252034], + [-73.88136538542491, 40.831820985811284], + [-73.89459183617987, 40.83613264196948], + [-73.90871039642508, 40.83828092817609], + [-73.92312047747767, 40.83823628612954], + [-73.93724145877377, 40.83618511653203] ] ] } diff --git a/packages/turf-standard-deviational-ellipse/test/out/mta-stations-weighted.json b/packages/turf-standard-deviational-ellipse/test/out/mta-stations-weighted.json index f05217ac46..63f4f17c48 100644 --- a/packages/turf-standard-deviational-ellipse/test/out/mta-stations-weighted.json +++ b/packages/turf-standard-deviational-ellipse/test/out/mta-stations-weighted.json @@ -19,190 +19,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.96179199218744, 40.650695800781364], - [-73.9642944335937, 40.650695800781364], - [-73.966796875, 40.650878906250114], - [-73.97009277343744, 40.65130615234375], - [-73.973388671875, 40.65167236328119], - [-73.97576904296875, 40.652099609375], - [-73.9782104492187, 40.65289306640631], - [-73.98138427734375, 40.653930664062614], - [-73.98449707031244, 40.655090332031364], - [-73.98760986328125, 40.65631103515625], - [-73.990478515625, 40.65789794921881], - [-73.993408203125, 40.65972900390625], - [-73.99542236328125, 40.66107177734375], - [-73.997314453125, 40.662719726562614], - [-73.99987792968739, 40.66491699218756], - [-74.002197265625, 40.667297363281364], - [-74.00451660156244, 40.66967773437506], - [-74.006591796875, 40.67230224609375], - [-74.00842285156244, 40.675109863281364], - [-74.01031494140625, 40.67791748046881], - [-74.0117797851562, 40.68072509765625], - [-74.01330566406244, 40.68371582031244], - [-74.01458740234375, 40.686706542968864], - [-74.01550292968744, 40.68890380859375], - [-74.01629638671875, 40.691284179687614], - [-74.01727294921875, 40.69427490234381], - [-74.01812744140625, 40.69732666015631], - [-74.0186767578125, 40.70050048828119], - [-74.0192260742187, 40.70269775390631], - [-74.01947021484375, 40.70507812499994], - [-74.01989746093744, 40.70812988281244], - [-74.0200805664062, 40.71032714843756], - [-74.02032470703125, 40.71270751953119], - [-74.0203857421875, 40.716308593750114], - [-74.0203857421875, 40.720092773437614], - [-74.02032470703125, 40.72290039062506], - [-74.0200805664062, 40.72589111328125], - [-74.01989746093744, 40.72930908203125], - [-74.01940917968744, 40.73272705078119], - [-74.01898193359375, 40.73547363281256], - [-74.01849365234375, 40.73809814453125], - [-74.01800537109375, 40.740722656250114], - [-74.01757812499994, 40.74267578125], - [-74.0170288085937, 40.744689941406364], - [-74.01641845703125, 40.7470703125], - [-74.015625, 40.75030517578125], - [-74.014404296875, 40.75390624999994], - [-74.01330566406244, 40.756896972656364], - [-74.01239013671875, 40.75927734375], - [-74.01141357421864, 40.76171874999994], - [-74.0103759765625, 40.76409912109381], - [-74.0092163085937, 40.76690673828125], - [-74.0078735351562, 40.769714355468864], - [-74.00677490234375, 40.77191162109381], - [-74.005615234375, 40.774108886718864], - [-74.00408935546875, 40.77667236328131], - [-74.00250244140625, 40.77947998046875], - [-74.0012817382812, 40.78149414062506], - [-73.9995727539062, 40.78411865234381], - [-73.997802734375, 40.786682128906364], - [-73.99627685546875, 40.78869628906256], - [-73.99450683593744, 40.791076660156364], - [-73.99249267578125, 40.79370117187506], - [-73.9909057617187, 40.79571533203125], - [-73.98919677734364, 40.797729492187614], - [-73.98748779296875, 40.79949951171875], - [-73.9857177734375, 40.80151367187506], - [-73.9838256835937, 40.803283691406364], - [-73.98187255859375, 40.80529785156256], - [-73.9799194335937, 40.80712890625], - [-73.9774169921875, 40.80932617187506], - [-73.97418212890625, 40.81188964843744], - [-73.97137451171875, 40.81408691406256], - [-73.9691162109375, 40.815673828125114], - [-73.96667480468744, 40.81732177734381], - [-73.9642944335937, 40.818908691406364], - [-73.961669921875, 40.82049560546875], - [-73.9591064453125, 40.82189941406256], - [-73.9564208984375, 40.823303222656364], - [-73.95440673828125, 40.82427978515619], - [-73.95227050781244, 40.82531738281256], - [-73.95007324218744, 40.82611083984381], - [-73.94787597656244, 40.826904296875114], - [-73.94567871093744, 40.827697753906364], - [-73.94342041015614, 40.8284912109375], - [-73.9403076171875, 40.82928466796875], - [-73.93798828125, 40.82989501953131], - [-73.93560791015625, 40.83032226562506], - [-73.932373046875, 40.83087158203131], - [-73.92919921874994, 40.831298828125114], - [-73.9259033203125, 40.831481933593864], - [-73.92260742187494, 40.831481933593864], - [-73.9193115234375, 40.831481933593864], - [-73.9158935546875, 40.831115722656364], - [-73.9127197265625, 40.83068847656256], - [-73.9102783203125, 40.83007812500006], - [-73.90777587890625, 40.82952880859381], - [-73.9053955078125, 40.82867431640619], - [-73.90301513671875, 40.827880859375114], - [-73.89990234374994, 40.826721191406364], - [-73.89697265624989, 40.8250732421875], - [-73.89477539062494, 40.82391357421875], - [-73.8927001953125, 40.822509765625114], - [-73.89001464843739, 40.8206787109375], - [-73.88739013671875, 40.81848144531256], - [-73.8848876953125, 40.8162841796875], - [-73.88262939453125, 40.81372070312506], - [-73.8809814453125, 40.81188964843744], - [-73.87951660156244, 40.80987548828131], - [-73.8775024414062, 40.80731201171869], - [-73.8756713867187, 40.80450439453125], - [-73.87408447265614, 40.80169677734381], - [-73.8726806640625, 40.798706054687614], - [-73.8713989257812, 40.79571533203125], - [-73.8704833984375, 40.79327392578131], - [-73.8696899414062, 40.791076660156364], - [-73.8687744140625, 40.7880859375], - [-73.86798095703114, 40.78491210937506], - [-73.86730957031244, 40.781921386718864], - [-73.86682128906244, 40.7789306640625], - [-73.86639404296875, 40.77648925781256], - [-73.8660888671875, 40.774291992187614], - [-73.86590576171875, 40.77191162109381], - [-73.8657836914062, 40.769714355468864], - [-73.86560058593739, 40.76593017578125], - [-73.86560058593739, 40.7623291015625], - [-73.86572265625, 40.75927734375], - [-73.86590576171875, 40.756530761718864], - [-73.8660888671875, 40.75372314453125], - [-73.8665771484375, 40.7501220703125], - [-73.86712646484364, 40.74688720703125], - [-73.8674926757812, 40.74407958984381], - [-73.86798095703114, 40.74212646484375], - [-73.86846923828125, 40.73950195312506], - [-73.86932373046875, 40.736328125000114], - [-73.8699951171875, 40.73388671875], - [-73.87072753906244, 40.73132324218756], - [-73.87152099609375, 40.728881835937614], - [-73.872314453125, 40.72650146484375], - [-73.87341308593744, 40.72351074218756], - [-73.87457275390625, 40.72052001953119], - [-73.8757934570312, 40.71771240234375], - [-73.8770751953125, 40.71490478515631], - [-73.87817382812494, 40.71270751953119], - [-73.8792724609375, 40.71051025390631], - [-73.8804931640625, 40.70831298828119], - [-73.8818969726562, 40.70550537109375], - [-73.88391113281239, 40.7022705078125], - [-73.88549804687494, 40.699890136718864], - [-73.88677978515625, 40.69769287109375], - [-73.88861083984375, 40.695129394531364], - [-73.89038085937494, 40.69268798828125], - [-73.89202880859375, 40.69067382812506], - [-73.8936157226562, 40.688720703125], - [-73.89520263671875, 40.686706542968864], - [-73.89691162109375, 40.6846923828125], - [-73.89862060546875, 40.68267822265631], - [-73.90039062499994, 40.680908203125], - [-73.90222167968739, 40.678894042968864], - [-73.90472412109375, 40.676513671875], - [-73.9071044921875, 40.674316406250114], - [-73.90917968749989, 40.6724853515625], - [-73.91180419921875, 40.67028808593756], - [-73.9146118164062, 40.6680908203125], - [-73.91687011718744, 40.666503906250114], - [-73.91870117187494, 40.66528320312506], - [-73.9205932617187, 40.66412353515625], - [-73.9224243164062, 40.662902832031364], - [-73.92431640624994, 40.661926269531364], - [-73.92626953125, 40.66070556640631], - [-73.92822265624994, 40.65972900390625], - [-73.9302978515625, 40.658691406250114], - [-73.932373046875, 40.657714843750114], - [-73.93518066406244, 40.656494140625], - [-73.93737792968744, 40.655517578125], - [-73.93957519531244, 40.65490722656244], - [-73.94262695312494, 40.65368652343756], - [-73.94488525390625, 40.65307617187506], - [-73.9472045898437, 40.65252685546881], - [-73.95037841796864, 40.65191650390625], - [-73.95361328124994, 40.6514892578125], - [-73.9569091796875, 40.650878906250114], - [-73.95928955078125, 40.650695800781364], - [-73.96179199218744, 40.650695800781364] + [-73.943062, 40.828517], + [-73.954059, 40.825539], + [-73.964297, 40.821839], + [-73.973743, 40.817592], + [-73.982408, 40.812939], + [-73.990332, 40.807982], + [-73.997572, 40.802794], + [-74.004185, 40.79742], + [-74.010229, 40.791885], + [-74.015753, 40.786199], + [-74.020799, 40.780359], + [-74.025399, 40.774353], + [-74.029572, 40.76816], + [-74.033324, 40.761758], + [-74.036647, 40.755117], + [-74.039516, 40.748211], + [-74.041886, 40.741012], + [-74.043691, 40.7335], + [-74.044837, 40.725667], + [-74.045205, 40.717524], + [-74.044648, 40.709112], + [-74.042995, 40.700515], + [-74.040065, 40.691868], + [-74.035686, 40.683373], + [-74.02973, 40.675291], + [-74.022154, 40.667927], + [-74.013031, 40.661598], + [-74.00257, 40.656579], + [-73.991101, 40.653056], + [-73.979028, 40.651095], + [-73.966766, 40.65064], + [-73.954682, 40.651541], + [-73.943062, 40.65359], + [-73.932093, 40.656568], + [-73.921879, 40.660265], + [-73.912452, 40.664507], + [-73.903802, 40.669155], + [-73.895887, 40.674106], + [-73.888653, 40.679288], + [-73.882042, 40.684655], + [-73.875998, 40.690183], + [-73.87047, 40.695863], + [-73.865417, 40.701696], + [-73.860808, 40.707696], + [-73.856623, 40.713883], + [-73.852857, 40.72028], + [-73.849517, 40.726915], + [-73.846629, 40.733817], + [-73.844238, 40.741012], + [-73.842411, 40.74852], + [-73.84124, 40.756351], + [-73.840847, 40.764493], + [-73.841378, 40.772906], + [-73.843007, 40.781506], + [-73.845916, 40.790158], + [-73.850278, 40.79866], + [-73.856222, 40.806752], + [-73.863796, 40.814126], + [-73.872926, 40.820467], + [-73.883402, 40.825498], + [-73.894896, 40.829032], + [-73.906999, 40.831002], + [-73.919294, 40.831463], + [-73.93141, 40.830566], + [-73.943062, 40.828517] ] ] } @@ -216,7 +97,7 @@ "semiMinorAxis": 0.095782813512421, "numberOfFeatures": 473, "angle": 29.231003681507175, - "percentageWithinEllipse": 57.505285412262154 + "percentageWithinEllipse": 60.25369978858351 }, "fill": "#FFF", "stroke": "#0A0", @@ -228,71 +109,71 @@ "type": "Polygon", "coordinates": [ [ - [-73.88136916881253, 40.70653072317669], - [-73.87814030470469, 40.71268175889811], - [-73.87522933224423, 40.71903809497184], - [-73.87264031979436, 40.725626827270155], - [-73.87038974791109, 40.732476417519145], - [-73.86850839929355, 40.73961395476652], - [-73.86704357528771, 40.747061369952846], - [-73.86606140876805, 40.75483009265435], - [-73.86564874379035, 40.76291364869353], - [-73.86591359639542, 40.771277898699964], - [-73.86698261753159, 40.77984920362209], - [-73.86899342126398, 40.78850199731926], - [-73.87207957481831, 40.79704912600922], - [-73.87634724335821, 40.80524043131959], - [-73.88184567550383, 40.8127760049781], - [-73.88853860560636, 40.819338137367616], - [-73.89628776244074, 40.82463889834789], - [-73.904858870295, 40.82847081807099], - [-73.9139525628125, 40.8307427448419], - [-73.92325111432643, 40.831487436835545], - [-73.93246477374285, 40.830840167484844], - [-73.94136369135974, 40.828999782239435], - [-73.94979018997724, 40.82618761377627], - [-73.95765462382637, 40.8226153939496], - [-73.96492195464074, 40.818466089440754], - [-73.97159566686506, 40.81388616195557], - [-73.97770316301975, 40.80898552993454], - [-73.98328435019002, 40.80384159641086], - [-73.98838356144428, 40.7985047476063], - [-73.99304423000417, 40.793003826869224], - [-73.99730554500583, 40.787350900793186], - [-74.00120038457646, 40.781545128349585], - [-74.0047539703658, 40.775575804107184], - [-74.00798283447364, 40.76942476838577], - [-74.01089380693409, 40.76306843231203], - [-74.01348281938397, 40.75647970001372], - [-74.01573339126723, 40.74963010976473], - [-74.01761473988478, 40.74249257251736], - [-74.01907956389061, 40.73504515733103], - [-74.02006173041028, 40.72727643462952], - [-74.02047439538798, 40.71919287859035], - [-74.02020954278291, 40.71082862858391], - [-74.01914052164673, 40.70225732366178], - [-74.01712971791434, 40.69360452996462], - [-74.01404356436001, 40.685057401274655], - [-74.00977589582011, 40.676866095964286], - [-74.0042774636745, 40.66933052230578], - [-73.99758453357197, 40.66276838991626], - [-73.98983537673759, 40.65746762893598], - [-73.98126426888332, 40.653635709212885], - [-73.97217057636583, 40.651363782441976], - [-73.96287202485189, 40.65061909044833], - [-73.95365836543547, 40.65126635979903], - [-73.94475944781858, 40.65310674504444], - [-73.93633294920109, 40.655918913507605], - [-73.92846851535195, 40.65949113333428], - [-73.92120118453758, 40.66364043784312], - [-73.91452747231327, 40.6682203653283], - [-73.90841997615857, 40.673120997349336], - [-73.9028387889883, 40.67826493087301], - [-73.89773957773404, 40.68360177967757], - [-73.89307890917415, 40.68910270041465], - [-73.8888175941725, 40.69475562649069], - [-73.88492275460186, 40.70056139893429], - [-73.88136916881253, 40.70653072317669] + [-73.94306156958919, 40.82851663375227], + [-73.95405810197089, 40.825538492111384], + [-73.96429653058186, 40.82183803016683], + [-73.97374211217979, 40.81759155837238], + [-73.98240707285824, 40.81293837132372], + [-73.9903319890171, 40.80798175872484], + [-73.99757156074854, 40.802793488816725], + [-74.00418470241266, 40.79741939349629], + [-74.010228086431, 40.79188474308675], + [-74.01575211783936, 40.78619884623807], + [-74.02079844113352, 40.7803587514642], + [-74.02539828333009, 40.77435215339593], + [-74.02957112570353, 40.76815971098337], + [-74.0333233438265, 40.761757033109596], + [-74.03664656560842, 40.755116620830755], + [-74.03951558953443, 40.74821009779746], + [-74.04188580990989, 40.74101112044491], + [-74.04369025335959, 40.73349943122943], + [-74.04483659484667, 40.72566657156954], + [-74.0452049534197, 40.717523734913804], + [-74.04464790884657, 40.70911197986645], + [-74.04299497647753, 40.700514333829574], + [-74.04006444046145, 40.69186798508467], + [-74.03568528787514, 40.683372776896974], + [-74.02972994495666, 40.67529019030247], + [-74.02215377231241, 40.66792653924372], + [-74.01303070161622, 40.66159740493659], + [-74.00256984855237, 40.65657821946182], + [-73.99110083487884, 40.65305515103372], + [-73.97902759538314, 40.65109416846282], + [-73.96676527308936, 40.6506396241348], + [-73.9546819258918, 40.6515402943929], + [-73.94306156958919, 40.6535898935316], + [-73.93209293642069, 40.65656699420155], + [-73.92187812768898, 40.66026461491317], + [-73.91245155625072, 40.664506863838916], + [-73.90380102525427, 40.66915482437516], + [-73.89588619531355, 40.674105522793695], + [-73.88865269798016, 40.67928744222446], + [-73.88204197090916, 40.68465494494549], + [-73.87599767072307, 40.6901829090505], + [-73.87046967678378, 40.695862140682245], + [-73.8654165767467, 40.70169568382898], + [-73.86080732477153, 40.70769592418577], + [-73.85662257692096, 40.71388227997318], + [-73.85285606287853, 40.72027922458845], + [-73.8495162444406, 40.7269143522198], + [-73.84662841984422, 40.73381615506538], + [-73.84423732926848, 40.74101112044491], + [-73.8424101598948, 40.74851968383136], + [-73.84123958454407, 40.75635051952355], + [-73.84084603382779, 40.7644926855492], + [-73.84137775538325, 40.77290539817566], + [-73.84300640721783, 40.78150589943376], + [-73.84591525381745, 40.79015721395023], + [-73.85027717493846, 40.798659580496874], + [-73.8562217348102, 40.80675138235176], + [-73.86379533433629, 40.81412588117805], + [-73.87292512079203, 40.82046676968835], + [-73.88340197534528, 40.825497667869804], + [-73.89489504213849, 40.82903140652576], + [-73.90699813408398, 40.831001164702364], + [-73.91929334031246, 40.83146204083082], + [-73.93140989547123, 40.83056506436569], + [-73.94306156958919, 40.82851663375227] ] ] } From 9e7a500850d13f0e3bcab0949c0a7939368a0cd9 Mon Sep 17 00:00:00 2001 From: hadrien Date: Fri, 25 Oct 2024 19:44:02 +0200 Subject: [PATCH 3/7] removes redundant dependency --- packages/turf-ellipse/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/turf-ellipse/package.json b/packages/turf-ellipse/package.json index f3a5ec718c..01d66ebea5 100644 --- a/packages/turf-ellipse/package.json +++ b/packages/turf-ellipse/package.json @@ -56,7 +56,6 @@ "@turf/area": "workspace:^", "@turf/bbox-polygon": "workspace:^", "@turf/circle": "workspace:^", - "@turf/destination": "workspace:^", "@turf/intersect": "workspace:^", "@turf/truncate": "workspace:^", "@types/benchmark": "^2.1.5", From bc6c51a9817180ee944f87d1925ac34105e8b4c1 Mon Sep 17 00:00:00 2001 From: hadrien Date: Wed, 30 Oct 2024 14:13:12 +0100 Subject: [PATCH 4/7] feat [turf-ellipse] distributes points along the circumference so that they are equidistant from one other --- packages/turf-ellipse/index.ts | 75 ++- packages/turf-ellipse/package.json | 1 + packages/turf-ellipse/test.ts | 4 +- .../test/out/anti-meridian-degrees.json | 248 ++++----- .../turf-ellipse/test/out/anti-meridian.json | 248 ++++----- .../test/out/northern-latitudes-degrees.json | 248 ++++----- .../test/out/northern-latitudes.json | 504 +++++++++--------- .../test/out/rotation-degrees.json | 248 ++++----- packages/turf-ellipse/test/out/rotation.json | 248 ++++----- .../turf-ellipse/test/out/simple-degrees.json | 248 ++++----- packages/turf-ellipse/test/out/simple.json | 248 ++++----- pnpm-lock.yaml | 3 + 12 files changed, 1192 insertions(+), 1131 deletions(-) diff --git a/packages/turf-ellipse/index.ts b/packages/turf-ellipse/index.ts index f0a8880de5..c0f2ba362f 100644 --- a/packages/turf-ellipse/index.ts +++ b/packages/turf-ellipse/index.ts @@ -8,6 +8,7 @@ import { point, } from "@turf/helpers"; import { destination } from "@turf/destination"; +import { distance } from "@turf/distance"; import { transformRotate } from "@turf/transform-rotate"; import { getCoord } from "@turf/invariant"; import { GeoJsonProperties, Feature, Polygon } from "geojson"; @@ -23,6 +24,7 @@ import { GeoJsonProperties, Feature, Polygon } from "geojson"; * @param {Coord} [options.pivot=center] point around which any rotation will be performed * @param {number} [options.steps=64] number of steps * @param {string} [options.units='kilometers'] unit of measurement for axes + * @param {number} [options.accuracy=3] level of precision used for the repartition of points along the curve * @param {Object} [options.properties={}] properties * @returns {Feature} ellipse polygon * @example @@ -44,6 +46,7 @@ function ellipse( angle?: number; pivot?: Coord; properties?: GeoJsonProperties; + accuracy?: number; } ): Feature { // Optional params @@ -53,7 +56,7 @@ function ellipse( const angle = options.angle || 0; const pivot = options.pivot || center; const properties = options.properties || {}; - + const accuracy = options.accuracy || 3; // validation if (!center) throw new Error("center is required"); if (!xSemiAxis) throw new Error("xSemiAxis is required"); @@ -61,29 +64,83 @@ function ellipse( if (!isObject(options)) throw new Error("options must be an object"); if (!isNumber(steps)) throw new Error("steps must be a number"); if (!isNumber(angle)) throw new Error("angle must be a number"); + if (!isNumber(accuracy)) throw new Error("accuracy must be a number"); + + const internalSteps = Math.floor(Math.pow(accuracy, 2) * steps); const centerCoords = getCoord( transformRotate(point(getCoord(center)), angle, { pivot }) ); const coordinates: number[][] = []; - for (let i = 0; i < steps; i += 1) { - const stepAngle = (i * -360) / steps; - const r = Math.sqrt( + + let r = Math.sqrt( + (Math.pow(xSemiAxis, 2) * Math.pow(ySemiAxis, 2)) / + (Math.pow(xSemiAxis * Math.cos(degreesToRadians(-angle)), 2) + + Math.pow(ySemiAxis * Math.sin(degreesToRadians(-angle)), 2)) + ); + let currentCoords = getCoord( + destination(centerCoords, r, 0, { units: units }) + ); + coordinates.push(currentCoords); + + let currentAngle = 0; + let currentArcLength = 0; + let previousCoords = currentCoords; + const cumulatedArcLength = [0]; + const cumulatedAngle = [0]; + + for (let i = 1; i < internalSteps + 1; i += 1) { + previousCoords = currentCoords; + currentAngle = (360 * i) / internalSteps; + r = Math.sqrt( + (Math.pow(xSemiAxis, 2) * Math.pow(ySemiAxis, 2)) / + (Math.pow( + xSemiAxis * Math.cos(degreesToRadians(currentAngle - angle)), + 2 + ) + + Math.pow( + ySemiAxis * Math.sin(degreesToRadians(currentAngle - angle)), + 2 + )) + ); + currentCoords = getCoord( + destination(centerCoords, r, currentAngle, { units: units }) + ); + currentArcLength += distance(previousCoords, currentCoords); + cumulatedAngle.push(currentAngle); + cumulatedArcLength.push(currentArcLength); + } + const circumference = cumulatedArcLength[cumulatedArcLength.length - 1]; + + let j = 0; + for (let i = 1; i < steps; i += 1) { + const targetArcLength = (i * circumference) / steps; + while (cumulatedArcLength[j] < targetArcLength) { + j += 1; + } + const ratio = + (targetArcLength - cumulatedArcLength[j - 1]) / + (cumulatedArcLength[j] - cumulatedArcLength[j - 1]); + const angleNewPoint = + cumulatedAngle[j - 1] + + ratio * (cumulatedAngle[j] - cumulatedAngle[j - 1]); + + r = Math.sqrt( (Math.pow(xSemiAxis, 2) * Math.pow(ySemiAxis, 2)) / (Math.pow( - xSemiAxis * Math.cos(degreesToRadians(stepAngle - angle)), + xSemiAxis * Math.cos(degreesToRadians(angleNewPoint - angle)), 2 ) + Math.pow( - ySemiAxis * Math.sin(degreesToRadians(stepAngle - angle)), + ySemiAxis * Math.sin(degreesToRadians(angleNewPoint - angle)), 2 )) ); - const coords = getCoord( - destination(centerCoords, r, stepAngle, { units: units }) + currentCoords = getCoord( + destination(centerCoords, r, angleNewPoint, { units: units }) ); - coordinates.push(coords); + coordinates.push(currentCoords); } coordinates.push(coordinates[0]); return polygon([coordinates], properties); diff --git a/packages/turf-ellipse/package.json b/packages/turf-ellipse/package.json index 01d66ebea5..c19f5f095c 100644 --- a/packages/turf-ellipse/package.json +++ b/packages/turf-ellipse/package.json @@ -72,6 +72,7 @@ }, "dependencies": { "@turf/destination": "workspace:^", + "@turf/distance": "workspace:^", "@turf/helpers": "workspace:^", "@turf/invariant": "workspace:^", "@turf/transform-rotate": "workspace:^", diff --git a/packages/turf-ellipse/test.ts b/packages/turf-ellipse/test.ts index db4653517b..7e6271ee59 100644 --- a/packages/turf-ellipse/test.ts +++ b/packages/turf-ellipse/test.ts @@ -66,8 +66,8 @@ test("turf-ellipse", (t) => { }); test("turf-ellipse -- circle consistency", (t) => { - const ellipseGeom = ellipse([0, 60], 2000, 2000); - const circleGeom = circle([0, 60], 2000); + const ellipseGeom = truncate(ellipse([0, 60], 2000, 2000, { steps: 300 })); + const circleGeom = truncate(circle([0, 60], 2000, { steps: 300 })); const intersectionGeom = intersect( featureCollection([ellipseGeom, circleGeom]) ); diff --git a/packages/turf-ellipse/test/out/anti-meridian-degrees.json b/packages/turf-ellipse/test/out/anti-meridian-degrees.json index 1eece81fcc..d36cbb1f52 100644 --- a/packages/turf-ellipse/test/out/anti-meridian-degrees.json +++ b/packages/turf-ellipse/test/out/anti-meridian-degrees.json @@ -107,69 +107,69 @@ "coordinates": [ [ [-180, -7], - [-180.987091, -6.999932], - [-181.992343, -6.999726], - [-183.035231, -6.999372], - [-184.138056, -6.998853], - [-185.327905, -6.998147], - [-186.63942, -6.997228], - [-188.118981, -6.996076], - [-189.831334, -6.994705], - [-191.87051, -6.993261], - [-194.378358, -6.992297], - [-197.57629, -6.993735], - [-201.816763, -7.004346], - [-207.641588, -7.050082], - [-215.673422, -7.241357], - [-225.366576, -8.05423], - [-231.255224, -10.832176], - [-227.086607, -15.833284], - [-218.070561, -20.251391], - [-209.999773, -22.946517], - [-203.907323, -24.46711], - [-199.37017, -25.351901], - [-195.901639, -25.895108], - [-193.158106, -26.24599], - [-190.914574, -26.482344], - [-189.023257, -26.646744], - [-187.384567, -26.763657], - [-185.929134, -26.847757], - [-184.606845, -26.908141], - [-183.380027, -26.950571], - [-182.21908, -26.9787], - [-181.099542, -26.994771], - [-180, -27], - [-178.900458, -26.994771], - [-177.78092, -26.9787], - [-176.619973, -26.950571], - [-175.393155, -26.908141], - [-174.070866, -26.847757], - [-172.615433, -26.763657], - [-170.976743, -26.646744], - [-169.085426, -26.482344], - [-166.841894, -26.24599], - [-164.098361, -25.895108], - [-160.62983, -25.351901], - [-156.092677, -24.46711], - [-150.000227, -22.946517], - [-141.929439, -20.251391], - [-132.913393, -15.833284], + [-176.738849, -6.999277], + [-173.477813, -6.997315], + [-170.216821, -6.994743], + [-166.95618, -6.992655], + [-163.69532, -6.992682], + [-160.434971, -6.997114], + [-157.1736, -7.009093], + [-153.912019, -7.03292], + [-150.651306, -7.074538], + [-147.389796, -7.142453], + [-144.129317, -7.24924], + [-140.869431, -7.41491], + [-137.612939, -7.674292], + [-134.370698, -8.097871], + [-131.193938, -8.873656], [-128.744776, -10.832176], - [-134.633424, -8.05423], - [-144.326578, -7.241357], - [-152.358412, -7.050082], - [-158.183237, -7.004346], - [-162.42371, -6.993735], - [-165.621642, -6.992297], - [-168.12949, -6.993261], - [-170.168666, -6.994705], - [-171.881019, -6.996076], - [-173.36058, -6.997228], - [-174.672095, -6.998147], - [-175.861944, -6.998853], - [-176.964769, -6.999372], - [-178.007657, -6.999726], - [-179.012909, -6.999932], + [-130.085087, -13.650444], + [-132.686206, -15.685771], + [-135.569995, -17.374365], + [-138.601438, -18.853757], + [-141.736897, -20.175837], + [-144.956526, -21.3648], + [-148.250042, -22.433239], + [-151.607646, -23.386802], + [-155.024266, -24.22889], + [-158.492384, -24.960237], + [-162.004653, -25.580714], + [-165.555992, -26.090075], + [-169.138528, -26.487393], + [-172.745429, -26.771923], + [-176.368571, -26.94294], + [-180, -27], + [-183.631429, -26.94294], + [-187.254571, -26.771923], + [-190.861472, -26.487393], + [-194.444008, -26.090075], + [-197.995347, -25.580714], + [-201.507616, -24.960237], + [-204.975734, -24.22889], + [-208.392354, -23.386802], + [-211.749958, -22.433239], + [-215.043474, -21.3648], + [-218.263103, -20.175837], + [-221.398562, -18.853757], + [-224.430005, -17.374365], + [-227.313794, -15.685771], + [-229.914913, -13.650444], + [-231.255224, -10.832176], + [-228.806062, -8.873656], + [-225.629302, -8.097871], + [-222.387061, -7.674292], + [-219.130569, -7.41491], + [-215.870683, -7.24924], + [-212.610204, -7.142453], + [-209.348694, -7.074538], + [-206.087981, -7.03292], + [-202.8264, -7.009093], + [-199.565029, -6.997114], + [-196.30468, -6.992682], + [-193.04382, -6.992655], + [-189.783179, -6.994743], + [-186.522187, -6.997315], + [-183.261151, -6.999277], [-180, -7] ] ] @@ -188,69 +188,69 @@ "coordinates": [ [ [-180, 33], - [-184.502118, 27.861418], - [-186.969271, 18.490068], - [-188.169191, 10.60333], - [-188.820544, 4.858227], - [-189.219617, 0.668263], - [-189.488343, -2.494484], - [-189.682719, -4.976107], - [-189.831334, -6.994705], - [-189.950115, -8.690233], - [-190.048591, -10.15556], - [-190.132808, -11.454674], - [-190.2068, -12.633439], - [-190.273389, -13.726124], - [-190.334634, -14.759536], - [-190.392107, -15.755753], - [-190.44707, -16.734064], - [-190.500585, -17.712463], - [-190.553604, -18.70895], - [-190.60703, -19.742835], - [-190.661769, -20.836238], - [-190.718784, -22.016028], - [-190.779129, -23.316582], - [-190.843974, -24.783931], - [-190.914574, -26.482344], - [-190.992041, -28.505179], - [-191.076542, -30.993289], - [-191.164502, -34.16656], - [-191.238481, -38.375012], - [-191.22591, -44.156217], - [-190.802558, -52.122889], - [-188.410753, -61.67665], - [-180, -67], - [-171.589247, -61.67665], - [-169.197442, -52.122889], - [-168.77409, -44.156217], - [-168.761519, -38.375012], - [-168.835498, -34.16656], - [-168.923458, -30.993289], - [-169.007959, -28.505179], - [-169.085426, -26.482344], - [-169.156026, -24.783931], - [-169.220871, -23.316582], - [-169.281216, -22.016028], - [-169.338231, -20.836238], - [-169.39297, -19.742835], - [-169.446396, -18.70895], - [-169.499415, -17.712463], + [-177.140393, 31.055266], + [-175.597566, 28.11005], + [-174.534874, 25.013207], + [-173.72227, 21.861462], + [-173.066567, 18.682944], + [-172.519156, 15.488953], + [-172.050878, 12.283875], + [-171.64316, 9.072469], + [-171.282867, 5.855031], + [-170.960895, 2.633936], + [-170.670524, -0.589097], + [-170.406554, -3.814932], + [-170.165253, -7.042382], + [-169.943765, -10.271676], + [-169.740098, -13.502271], [-169.55293, -16.734064], - [-169.607893, -15.755753], - [-169.665366, -14.759536], - [-169.726611, -13.726124], - [-169.7932, -12.633439], - [-169.867192, -11.454674], - [-169.951409, -10.15556], - [-170.049885, -8.690233], - [-170.168666, -6.994705], - [-170.317281, -4.976107], - [-170.511657, -2.494484], - [-170.780383, 0.668263], - [-171.179456, 4.858227], - [-171.830809, 10.60333], - [-173.030729, 18.490068], - [-175.497882, 27.861418], + [-169.381609, -19.966817], + [-169.226157, -23.200324], + [-169.087344, -26.434579], + [-168.966868, -29.669207], + [-168.867575, -32.904694], + [-168.79396, -36.140205], + [-168.752764, -39.377096], + [-168.754199, -42.614301], + [-168.813714, -45.850315], + [-168.955371, -49.086046], + [-169.217769, -52.318336], + [-169.666488, -55.545023], + [-170.421106, -58.757802], + [-171.726422, -61.932319], + [-174.201492, -64.97435], + [-180, -67], + [-185.798508, -64.97435], + [-188.273578, -61.932319], + [-189.578894, -58.757802], + [-190.333512, -55.545023], + [-190.782231, -52.318336], + [-191.044629, -49.086046], + [-191.186286, -45.850315], + [-191.245801, -42.614301], + [-191.247236, -39.377096], + [-191.20604, -36.140205], + [-191.132425, -32.904694], + [-191.033132, -29.669207], + [-190.912656, -26.434579], + [-190.773843, -23.200324], + [-190.618391, -19.966817], + [-190.44707, -16.734064], + [-190.259902, -13.502271], + [-190.056235, -10.271676], + [-189.834747, -7.042382], + [-189.593446, -3.814932], + [-189.329476, -0.589097], + [-189.039105, 2.633936], + [-188.717133, 5.855031], + [-188.35684, 9.072469], + [-187.949122, 12.283875], + [-187.480844, 15.488953], + [-186.933433, 18.682944], + [-186.27773, 21.861462], + [-185.465126, 25.013207], + [-184.402434, 28.11005], + [-182.859607, 31.055266], [-180, 33] ] ] diff --git a/packages/turf-ellipse/test/out/anti-meridian.json b/packages/turf-ellipse/test/out/anti-meridian.json index 5081c77a37..a28306f6b4 100644 --- a/packages/turf-ellipse/test/out/anti-meridian.json +++ b/packages/turf-ellipse/test/out/anti-meridian.json @@ -106,69 +106,69 @@ "coordinates": [ [ [-180, -16.910068], - [-180.009256, -16.910085], - [-180.018682, -16.910138], - [-180.028461, -16.910231], - [-180.038802, -16.910371], - [-180.049957, -16.910571], - [-180.062253, -16.910851], - [-180.076123, -16.911241], - [-180.092172, -16.911794], - [-180.111279, -16.912595], - [-180.13477, -16.9138], - [-180.164707, -16.915705], - [-180.204362, -16.918912], - [-180.258717, -16.924755], - [-180.333278, -16.936311], - [-180.42174, -16.959835], - [-180.470205, -16.999461], - [-180.421919, -17.039297], - [-180.333504, -17.063146], - [-180.258925, -17.074918], - [-180.204539, -17.080884], - [-180.164855, -17.084162], - [-180.134894, -17.086111], - [-180.111383, -17.087345], - [-180.092258, -17.088165], - [-180.076195, -17.08873], - [-180.062312, -17.08913], - [-180.050005, -17.089416], - [-180.038839, -17.089621], - [-180.028488, -17.089765], - [-180.0187, -17.08986], - [-180.009265, -17.089914], - [-180, -17.089932], - [-179.990735, -17.089914], - [-179.9813, -17.08986], - [-179.971512, -17.089765], - [-179.961161, -17.089621], - [-179.949995, -17.089416], - [-179.937688, -17.08913], - [-179.923805, -17.08873], - [-179.907742, -17.088165], - [-179.888617, -17.087345], - [-179.865106, -17.086111], - [-179.835145, -17.084162], - [-179.795461, -17.080884], - [-179.741075, -17.074918], - [-179.666496, -17.063146], - [-179.578081, -17.039297], + [-179.969147, -16.91026], + [-179.938301, -16.910837], + [-179.907465, -16.911807], + [-179.876645, -16.913184], + [-179.845849, -16.914985], + [-179.815086, -16.917237], + [-179.78437, -16.919978], + [-179.753713, -16.923255], + [-179.723142, -16.927138], + [-179.692644, -16.931729], + [-179.662326, -16.937161], + [-179.632213, -16.943665], + [-179.602471, -16.951615], + [-179.573457, -16.961746], + [-179.546444, -16.975819], [-179.529795, -16.999461], - [-179.57826, -16.959835], - [-179.666722, -16.936311], - [-179.741283, -16.924755], - [-179.795638, -16.918912], - [-179.835293, -16.915705], - [-179.86523, -16.9138], - [-179.888721, -16.912595], - [-179.907828, -16.911794], - [-179.923877, -16.911241], - [-179.937747, -16.910851], - [-179.950043, -16.910571], - [-179.961198, -16.910371], - [-179.971539, -16.910231], - [-179.981318, -16.910138], - [-179.990744, -16.910085], + [-179.54633, -17.023177], + [-179.573285, -17.037365], + [-179.602268, -17.047614], + [-179.631994, -17.055675], + [-179.662101, -17.062282], + [-179.692421, -17.06781], + [-179.722927, -17.072488], + [-179.753512, -17.076448], + [-179.784186, -17.079795], + [-179.814922, -17.082596], + [-179.845709, -17.084899], + [-179.876531, -17.086742], + [-179.907378, -17.088151], + [-179.938243, -17.089144], + [-179.969118, -17.089736], + [-180, -17.089932], + [-180.030882, -17.089736], + [-180.061757, -17.089144], + [-180.092622, -17.088151], + [-180.123469, -17.086742], + [-180.154291, -17.084899], + [-180.185078, -17.082596], + [-180.215814, -17.079795], + [-180.246488, -17.076448], + [-180.277073, -17.072488], + [-180.307579, -17.06781], + [-180.337899, -17.062282], + [-180.368006, -17.055675], + [-180.397732, -17.047614], + [-180.426715, -17.037365], + [-180.45367, -17.023177], + [-180.470205, -16.999461], + [-180.453556, -16.975819], + [-180.426543, -16.961746], + [-180.397529, -16.951615], + [-180.367787, -16.943665], + [-180.337674, -16.937161], + [-180.307356, -16.931729], + [-180.276858, -16.927138], + [-180.246287, -16.923255], + [-180.21563, -16.919978], + [-180.184914, -16.917237], + [-180.154151, -16.914985], + [-180.123355, -16.913184], + [-180.092535, -16.911807], + [-180.061699, -16.910837], + [-180.030853, -16.91026], [-180, -16.910068] ] ] @@ -187,69 +187,69 @@ "coordinates": [ [ [-180, -16.55034], - [-180.041458, -16.596598], - [-180.066204, -16.681166], - [-180.078409, -16.752473], - [-180.084598, -16.804466], - [-180.088004, -16.8424], - [-180.09003, -16.87104], - [-180.091315, -16.893513], - [-180.092172, -16.911794], - [-180.092763, -16.927148], - [-180.093183, -16.940418], - [-180.093485, -16.952181], - [-180.093702, -16.962855], - [-180.093855, -16.972748], - [-180.093958, -16.982104], - [-180.094019, -16.991123], - [-180.094041, -16.999978], - [-180.094027, -17.008834], - [-180.093976, -17.017853], - [-180.093882, -17.027209], - [-180.093739, -17.037102], - [-180.093532, -17.047776], - [-180.093242, -17.05954], - [-180.092836, -17.07281], - [-180.092258, -17.088165], - [-180.091419, -17.106446], - [-180.090154, -17.128921], - [-180.088152, -17.157562], - [-180.084775, -17.195499], - [-180.078617, -17.247497], - [-180.066429, -17.318813], - [-180.041637, -17.403394], - [-180, -17.44966], - [-179.958363, -17.403394], - [-179.933571, -17.318813], - [-179.921383, -17.247497], - [-179.915225, -17.195499], - [-179.911848, -17.157562], - [-179.909846, -17.128921], - [-179.908581, -17.106446], - [-179.907742, -17.088165], - [-179.907164, -17.07281], - [-179.906758, -17.05954], - [-179.906468, -17.047776], - [-179.906261, -17.037102], - [-179.906118, -17.027209], - [-179.906024, -17.017853], - [-179.905973, -17.008834], + [-179.975295, -16.566206], + [-179.960548, -16.592008], + [-179.949908, -16.619738], + [-179.941544, -16.64817], + [-179.934692, -16.676962], + [-179.928961, -16.705955], + [-179.924111, -16.735122], + [-179.920003, -16.764363], + [-179.916531, -16.793687], + [-179.913624, -16.823069], + [-179.911231, -16.852499], + [-179.909313, -16.881961], + [-179.907843, -16.911446], + [-179.906802, -16.940948], + [-179.906176, -16.97046], [-179.905959, -16.999978], - [-179.905981, -16.991123], - [-179.906042, -16.982104], - [-179.906145, -16.972748], - [-179.906298, -16.962855], - [-179.906515, -16.952181], - [-179.906817, -16.940418], - [-179.907237, -16.927148], - [-179.907828, -16.911794], - [-179.908685, -16.893513], - [-179.90997, -16.87104], - [-179.911996, -16.8424], - [-179.915402, -16.804466], - [-179.921591, -16.752473], - [-179.933796, -16.681166], - [-179.958542, -16.596598], + [-179.906147, -17.029497], + [-179.906743, -17.059009], + [-179.907756, -17.088512], + [-179.909198, -17.117999], + [-179.911091, -17.147463], + [-179.913461, -17.176894], + [-179.916347, -17.206279], + [-179.919802, -17.235606], + [-179.923896, -17.26485], + [-179.928738, -17.29402], + [-179.934467, -17.323017], + [-179.941324, -17.351813], + [-179.949704, -17.38025], + [-179.960375, -17.407984], + [-179.975181, -17.433791], + [-180, -17.44966], + [-180.024819, -17.433791], + [-180.039625, -17.407984], + [-180.050296, -17.38025], + [-180.058676, -17.351813], + [-180.065533, -17.323017], + [-180.071262, -17.29402], + [-180.076104, -17.26485], + [-180.080198, -17.235606], + [-180.083653, -17.206279], + [-180.086539, -17.176894], + [-180.088909, -17.147463], + [-180.090802, -17.117999], + [-180.092244, -17.088512], + [-180.093257, -17.059009], + [-180.093853, -17.029497], + [-180.094041, -16.999978], + [-180.093824, -16.97046], + [-180.093198, -16.940948], + [-180.092157, -16.911446], + [-180.090687, -16.881961], + [-180.088769, -16.852499], + [-180.086376, -16.823069], + [-180.083469, -16.793687], + [-180.079997, -16.764363], + [-180.075889, -16.735122], + [-180.071039, -16.705955], + [-180.065308, -16.676962], + [-180.058456, -16.64817], + [-180.050092, -16.619738], + [-180.039452, -16.592008], + [-180.024705, -16.566206], [-180, -16.55034] ] ] diff --git a/packages/turf-ellipse/test/out/northern-latitudes-degrees.json b/packages/turf-ellipse/test/out/northern-latitudes-degrees.json index 09fdd5b402..4adeb03fc3 100644 --- a/packages/turf-ellipse/test/out/northern-latitudes-degrees.json +++ b/packages/turf-ellipse/test/out/northern-latitudes-degrees.json @@ -107,69 +107,69 @@ "coordinates": [ [ [-94, 75], - [-94.380438, 74.999491], - [-94.76781, 74.997927], - [-95.169541, 74.995189], - [-95.594118, 74.991057], - [-96.051817, 74.985171], - [-96.555726, 74.976964], - [-97.123272, 74.965539], - [-97.778607, 74.949439], - [-98.556455, 74.926222], - [-99.508431, 74.891604], - [-100.713267, 74.837656], - [-102.291358, 74.748857], - [-104.412599, 74.593574], - [-107.217575, 74.310143], - [-110.303952, 73.824318], - [-111.609696, 73.256451], - [-109.490486, 72.972764], - [-106.162049, 72.93242], - [-103.42373, 72.94745], - [-101.439406, 72.963848], - [-99.994457, 72.975376], - [-98.904394, 72.983073], - [-98.049326, 72.988272], - [-97.353915, 72.99187], - [-96.769874, 72.994415], - [-96.265178, 72.996246], - [-95.817769, 72.997574], - [-95.411841, 72.998533], - [-95.035586, 72.999209], - [-94.67977, 72.999659], - [-94.336788, 72.999916], - [-94, 73], - [-93.663212, 72.999916], - [-93.32023, 72.999659], - [-92.964414, 72.999209], - [-92.588159, 72.998533], - [-92.182231, 72.997574], - [-91.734822, 72.996246], - [-91.230126, 72.994415], - [-90.646085, 72.99187], - [-89.950674, 72.988272], - [-89.095606, 72.983073], - [-88.005543, 72.975376], - [-86.560594, 72.963848], - [-84.57627, 72.94745], - [-81.837951, 72.93242], - [-78.509514, 72.972764], + [-92.732364, 74.994347], + [-91.467224, 74.977378], + [-90.206926, 74.949048], + [-88.954005, 74.909285], + [-87.710964, 74.857974], + [-86.480458, 74.79495], + [-85.265314, 74.719977], + [-84.068453, 74.632711], + [-82.893345, 74.532667], + [-81.742368, 74.418948], + [-80.622763, 74.290636], + [-79.539597, 74.145671], + [-78.504849, 73.980908], + [-77.541475, 73.790115], + [-76.716888, 73.559306], [-76.390304, 73.256451], - [-77.696048, 73.824318], - [-80.782425, 74.310143], - [-83.587401, 74.593574], - [-85.708642, 74.748857], - [-87.286733, 74.837656], - [-88.491569, 74.891604], - [-89.443545, 74.926222], - [-90.221393, 74.949439], - [-90.876728, 74.965539], - [-91.444274, 74.976964], - [-91.948183, 74.985171], - [-92.405882, 74.991057], - [-92.830459, 74.995189], - [-93.23219, 74.997927], - [-93.619562, 74.999491], + [-77.23253, 73.054322], + [-78.323267, 72.980171], + [-79.43903, 72.947858], + [-80.557737, 72.934823], + [-81.676441, 72.932225], + [-82.794253, 72.935627], + [-83.913245, 72.942469], + [-85.03141, 72.9511], + [-86.150374, 72.960422], + [-87.270054, 72.969649], + [-88.390492, 72.978216], + [-89.511572, 72.985704], + [-90.633174, 72.991808], + [-91.755212, 72.996313], + [-92.877504, 72.999071], + [-94, 73], + [-95.122496, 72.999071], + [-96.244788, 72.996313], + [-97.366826, 72.991808], + [-98.488428, 72.985704], + [-99.609508, 72.978216], + [-100.729946, 72.969649], + [-101.849626, 72.960422], + [-102.96859, 72.9511], + [-104.086755, 72.942469], + [-105.205747, 72.935627], + [-106.323559, 72.932225], + [-107.442263, 72.934823], + [-108.56097, 72.947858], + [-109.676733, 72.980171], + [-110.76747, 73.054322], + [-111.609696, 73.256451], + [-111.283112, 73.559306], + [-110.458525, 73.790115], + [-109.495151, 73.980908], + [-108.460403, 74.145671], + [-107.377237, 74.290636], + [-106.257632, 74.418948], + [-105.106655, 74.532667], + [-103.931547, 74.632711], + [-102.734686, 74.719977], + [-101.519542, 74.79495], + [-100.289036, 74.857974], + [-99.045995, 74.909285], + [-97.793074, 74.949048], + [-96.532776, 74.977378], + [-95.267636, 74.994347], [-94, 75] ] ] @@ -188,69 +188,69 @@ "coordinates": [ [ [-94, 79], - [-96.20993, 78.477336], - [-97.264288, 77.525732], - [-97.637161, 76.726612], - [-97.762333, 76.145519], - [-97.799667, 75.722275], - [-97.803572, 75.403106], - [-97.793928, 75.152864], - [-97.778607, 74.949439], - [-97.760916, 74.778659], - [-97.74227, 74.631131], - [-97.723248, 74.50039], - [-97.704036, 74.381803], - [-97.684617, 74.271913], - [-97.664865, 74.168017], - [-97.644576, 74.067892], - [-97.623485, 73.969595], - [-97.601258, 73.871321], - [-97.577474, 73.77126], - [-97.551594, 73.667479], - [-97.522913, 73.557762], - [-97.490472, 73.439421], - [-97.452938, 73.309023], - [-97.408384, 73.161975], - [-97.353915, 72.99187], - [-97.285006, 72.789418], - [-97.19421, 72.54063], - [-97.068591, 72.223733], - [-96.884249, 71.804235], - [-96.594386, 71.229702], - [-96.105631, 70.442456], - [-95.260891, 69.509774], - [-94, 69], - [-92.739109, 69.509774], - [-91.894369, 70.442456], - [-91.405614, 71.229702], - [-91.115751, 71.804235], - [-90.931409, 72.223733], - [-90.80579, 72.54063], - [-90.714994, 72.789418], - [-90.646085, 72.99187], - [-90.591616, 73.161975], - [-90.547062, 73.309023], - [-90.509528, 73.439421], - [-90.477087, 73.557762], - [-90.448406, 73.667479], - [-90.422526, 73.77126], - [-90.398742, 73.871321], + [-92.642755, 78.820358], + [-91.887129, 78.52885], + [-91.387519, 78.216186], + [-91.030707, 77.896166], + [-90.767656, 77.572632], + [-90.572266, 77.247346], + [-90.428272, 76.920561], + [-90.325359, 76.593387], + [-90.255878, 76.265685], + [-90.214385, 75.937696], + [-90.196753, 75.609545], + [-90.199802, 75.281356], + [-90.22105, 74.953214], + [-90.258547, 74.625172], + [-90.310762, 74.297294], [-90.376515, 73.969595], - [-90.355424, 74.067892], - [-90.335135, 74.168017], - [-90.315383, 74.271913], - [-90.295964, 74.381803], - [-90.276752, 74.50039], - [-90.25773, 74.631131], - [-90.239084, 74.778659], - [-90.221393, 74.949439], - [-90.206072, 75.152864], - [-90.196428, 75.403106], - [-90.200333, 75.722275], - [-90.237667, 76.145519], - [-90.362839, 76.726612], - [-90.735712, 77.525732], - [-91.79007, 78.477336], + [-90.454911, 73.642133], + [-90.545311, 73.314965], + [-90.647324, 72.98811], + [-90.760781, 72.661637], + [-90.885764, 72.335606], + [-91.022619, 72.010113], + [-91.172008, 71.685289], + [-91.335023, 71.361274], + [-91.513297, 71.038322], + [-91.709592, 70.716314], + [-91.927376, 70.396362], + [-92.173209, 70.078733], + [-92.457798, 69.765173], + [-92.802602, 69.459447], + [-93.259853, 69.174996], + [-94, 69], + [-94.740147, 69.174996], + [-95.197398, 69.459447], + [-95.542202, 69.765173], + [-95.826791, 70.078733], + [-96.072624, 70.396362], + [-96.290408, 70.716314], + [-96.486703, 71.038322], + [-96.664977, 71.361274], + [-96.827992, 71.685289], + [-96.977381, 72.010113], + [-97.114236, 72.335606], + [-97.239219, 72.661637], + [-97.352676, 72.98811], + [-97.454689, 73.314965], + [-97.545089, 73.642133], + [-97.623485, 73.969595], + [-97.689238, 74.297294], + [-97.741453, 74.625172], + [-97.77895, 74.953214], + [-97.800198, 75.281356], + [-97.803247, 75.609545], + [-97.785615, 75.937696], + [-97.744122, 76.265685], + [-97.674641, 76.593387], + [-97.571728, 76.920561], + [-97.427734, 77.247346], + [-97.232344, 77.572632], + [-96.969293, 77.896166], + [-96.612481, 78.216186], + [-96.112871, 78.52885], + [-95.357245, 78.820358], [-94, 79] ] ] diff --git a/packages/turf-ellipse/test/out/northern-latitudes.json b/packages/turf-ellipse/test/out/northern-latitudes.json index 7ebcc503c8..5998f39ec3 100644 --- a/packages/turf-ellipse/test/out/northern-latitudes.json +++ b/packages/turf-ellipse/test/out/northern-latitudes.json @@ -171,133 +171,133 @@ "coordinates": [ [ [-94, 74.089932], - [-94.016116, 74.089927], - [-94.032305, 74.089912], - [-94.048642, 74.089887], - [-94.065204, 74.089851], - [-94.082073, 74.089804], - [-94.099334, 74.089744], - [-94.117082, 74.089671], - [-94.135422, 74.089583], - [-94.15447, 74.089477], - [-94.174355, 74.089353], - [-94.195229, 74.089205], - [-94.217263, 74.089031], - [-94.240661, 74.088826], - [-94.26566, 74.088582], - [-94.292545, 74.088293], - [-94.321657, 74.087948], - [-94.353411, 74.087532], - [-94.388316, 74.087028], - [-94.427, 74.086411], - [-94.470247, 74.085647], - [-94.519042, 74.084688], - [-94.574626, 74.083469], - [-94.638563, 74.081893], - [-94.712807, 74.079817], - [-94.799731, 74.077029], - [-94.902016, 74.073209], - [-95.022158, 74.067872], - [-95.161013, 74.060312], - [-95.314366, 74.049591], - [-95.466762, 74.034767], - [-95.58595, 74.015643], - [-95.63094, 73.993848], - [-95.581816, 73.972753], - [-95.459688, 73.955329], - [-95.305824, 73.94247], - [-95.152087, 73.933501], - [-95.013452, 73.927337], - [-94.89381, 73.923063], - [-94.792126, 73.920041], - [-94.705815, 73.917857], - [-94.632157, 73.916241], - [-94.568764, 73.915019], - [-94.51368, 73.914079], - [-94.465341, 73.913341], - [-94.42251, 73.912755], - [-94.384208, 73.912282], - [-94.349653, 73.911897], - [-94.318223, 73.911579], - [-94.289411, 73.911315], - [-94.262806, 73.911095], - [-94.238069, 73.91091], - [-94.214918, 73.910753], - [-94.193118, 73.910621], - [-94.172468, 73.910508], - [-94.152795, 73.910413], - [-94.133953, 73.910333], - [-94.115811, 73.910266], - [-94.098254, 73.910211], - [-94.08118, 73.910165], - [-94.064495, 73.910129], - [-94.048113, 73.910102], - [-94.031954, 73.910083], - [-94.015941, 73.910072], - [-94, 73.910068], - [-93.984059, 73.910072], - [-93.968046, 73.910083], - [-93.951887, 73.910102], - [-93.935505, 73.910129], - [-93.91882, 73.910165], - [-93.901746, 73.910211], - [-93.884189, 73.910266], - [-93.866047, 73.910333], - [-93.847205, 73.910413], - [-93.827532, 73.910508], - [-93.806882, 73.910621], - [-93.785082, 73.910753], - [-93.761931, 73.91091], - [-93.737194, 73.911095], - [-93.710589, 73.911315], - [-93.681777, 73.911579], - [-93.650347, 73.911897], - [-93.615792, 73.912282], - [-93.57749, 73.912755], - [-93.534659, 73.913341], - [-93.48632, 73.914079], - [-93.431236, 73.915019], - [-93.367843, 73.916241], - [-93.294185, 73.917857], - [-93.207874, 73.920041], - [-93.10619, 73.923063], - [-92.986548, 73.927337], - [-92.847913, 73.933501], - [-92.694176, 73.94247], - [-92.540312, 73.955329], - [-92.418184, 73.972753], + [-93.946153, 74.089877], + [-93.89231, 74.089711], + [-93.838474, 74.089435], + [-93.784648, 74.089047], + [-93.730836, 74.088546], + [-93.677043, 74.087931], + [-93.623267, 74.087201], + [-93.569522, 74.086352], + [-93.515807, 74.085383], + [-93.462123, 74.084291], + [-93.408487, 74.083071], + [-93.354885, 74.08172], + [-93.301351, 74.080233], + [-93.247865, 74.078605], + [-93.194457, 74.076828], + [-93.141121, 74.074895], + [-93.087865, 74.072797], + [-93.034712, 74.070522], + [-92.981702, 74.06806], + [-92.928819, 74.065392], + [-92.876096, 74.062501], + [-92.823556, 74.059362], + [-92.771271, 74.055946], + [-92.719288, 74.052215], + [-92.667682, 74.048116], + [-92.616579, 74.04358], + [-92.566167, 74.038505], + [-92.516764, 74.032737], + [-92.468953, 74.026022], + [-92.424224, 74.017926], + [-92.386329, 74.007528], [-92.36906, 73.993848], - [-92.41405, 74.015643], - [-92.533238, 74.034767], - [-92.685634, 74.049591], - [-92.838987, 74.060312], - [-92.977842, 74.067872], - [-93.097984, 74.073209], - [-93.200269, 74.077029], - [-93.287193, 74.079817], - [-93.361437, 74.081893], - [-93.425374, 74.083469], - [-93.480958, 74.084688], - [-93.529753, 74.085647], - [-93.573, 74.086411], - [-93.611684, 74.087028], - [-93.646589, 74.087532], - [-93.678343, 74.087948], - [-93.707455, 74.088293], - [-93.73434, 74.088582], - [-93.759339, 74.088826], - [-93.782737, 74.089031], - [-93.804771, 74.089205], - [-93.825645, 74.089353], - [-93.84553, 74.089477], - [-93.864578, 74.089583], - [-93.882918, 74.089671], - [-93.900666, 74.089744], - [-93.917927, 74.089804], - [-93.934796, 74.089851], - [-93.951358, 74.089887], - [-93.967695, 74.089912], - [-93.983884, 74.089927], + [-92.388986, 73.980446], + [-92.428754, 73.970621], + [-92.474798, 73.963176], + [-92.523573, 73.957133], + [-92.573692, 73.952036], + [-92.624635, 73.947619], + [-92.67612, 73.943726], + [-92.727985, 73.94025], + [-92.780125, 73.937121], + [-92.832478, 73.934286], + [-92.885008, 73.931703], + [-92.937652, 73.929345], + [-92.990396, 73.927185], + [-93.043212, 73.925207], + [-93.096122, 73.92339], + [-93.149091, 73.921725], + [-93.2021, 73.920199], + [-93.255146, 73.918804], + [-93.308236, 73.917531], + [-93.361345, 73.916375], + [-93.414496, 73.915327], + [-93.467657, 73.914385], + [-93.520845, 73.913544], + [-93.574046, 73.9128], + [-93.62726, 73.91215], + [-93.68049, 73.911591], + [-93.733727, 73.911122], + [-93.786972, 73.910741], + [-93.840224, 73.910446], + [-93.89348, 73.910236], + [-93.946739, 73.91011], + [-94, 73.910068], + [-94.053261, 73.91011], + [-94.10652, 73.910236], + [-94.159776, 73.910446], + [-94.213028, 73.910741], + [-94.266273, 73.911122], + [-94.31951, 73.911591], + [-94.37274, 73.91215], + [-94.425954, 73.9128], + [-94.479155, 73.913544], + [-94.532343, 73.914385], + [-94.585504, 73.915327], + [-94.638655, 73.916375], + [-94.691764, 73.917531], + [-94.744854, 73.918804], + [-94.7979, 73.920199], + [-94.850909, 73.921725], + [-94.903878, 73.92339], + [-94.956788, 73.925207], + [-95.009604, 73.927185], + [-95.062348, 73.929345], + [-95.114992, 73.931703], + [-95.167522, 73.934286], + [-95.219875, 73.937121], + [-95.272015, 73.94025], + [-95.32388, 73.943726], + [-95.375365, 73.947619], + [-95.426308, 73.952036], + [-95.476427, 73.957133], + [-95.525202, 73.963176], + [-95.571246, 73.970621], + [-95.611014, 73.980446], + [-95.63094, 73.993848], + [-95.613671, 74.007528], + [-95.575776, 74.017926], + [-95.531047, 74.026022], + [-95.483236, 74.032737], + [-95.433833, 74.038505], + [-95.383421, 74.04358], + [-95.332318, 74.048116], + [-95.280712, 74.052215], + [-95.228729, 74.055946], + [-95.176444, 74.059362], + [-95.123904, 74.062501], + [-95.071181, 74.065392], + [-95.018298, 74.06806], + [-94.965288, 74.070522], + [-94.912135, 74.072797], + [-94.858879, 74.074895], + [-94.805543, 74.076828], + [-94.752135, 74.078605], + [-94.698649, 74.080233], + [-94.645115, 74.08172], + [-94.591513, 74.083071], + [-94.537877, 74.084291], + [-94.484193, 74.085383], + [-94.430478, 74.086352], + [-94.376733, 74.087201], + [-94.322957, 74.087931], + [-94.269164, 74.088546], + [-94.215352, 74.089047], + [-94.161526, 74.089435], + [-94.10769, 74.089711], + [-94.053847, 74.089877], [-94, 74.089932] ] ] @@ -316,133 +316,133 @@ "coordinates": [ [ [-94, 74.44966], - [-94.079956, 74.436665], - [-94.147774, 74.403349], - [-94.198734, 74.361076], - [-94.234632, 74.318699], - [-94.259397, 74.280414], - [-94.27656, 74.247338], - [-94.288652, 74.219205], - [-94.29735, 74.195315], - [-94.303742, 74.17492], - [-94.308536, 74.157363], - [-94.312197, 74.142105], - [-94.315038, 74.128713], - [-94.317275, 74.116846], - [-94.319057, 74.106233], - [-94.320492, 74.096658], - [-94.321657, 74.087948], - [-94.32261, 74.079963], - [-94.323392, 74.07259], - [-94.324037, 74.065734], - [-94.324568, 74.059318], - [-94.325006, 74.053277], - [-94.325364, 74.047553], - [-94.325656, 74.042101], - [-94.325889, 74.036879], - [-94.326071, 74.031851], - [-94.326208, 74.026985], - [-94.326304, 74.022253], - [-94.326363, 74.017628], - [-94.326388, 74.013088], - [-94.326379, 74.00861], - [-94.326338, 74.004172], - [-94.326266, 73.999754], - [-94.326163, 73.995336], - [-94.326027, 73.990898], - [-94.325858, 73.98642], - [-94.325654, 73.98188], - [-94.325412, 73.977256], - [-94.325129, 73.972525], - [-94.324799, 73.967659], - [-94.324419, 73.962632], - [-94.323981, 73.957411], - [-94.323477, 73.95196], - [-94.322895, 73.946238], - [-94.322223, 73.940198], - [-94.321444, 73.933784], - [-94.320537, 73.926931], - [-94.319475, 73.91956], - [-94.318223, 73.911579], - [-94.316734, 73.902873], - [-94.314949, 73.893303], - [-94.312785, 73.882695], - [-94.310131, 73.870835], - [-94.306834, 73.857452], - [-94.302674, 73.842205], - [-94.297335, 73.824663], - [-94.290356, 73.804286], - [-94.281044, 73.78042], - [-94.268351, 73.752319], - [-94.250686, 73.719285], - [-94.225699, 73.681057], - [-94.190184, 73.638749], - [-94.140691, 73.596555], - [-94.075816, 73.563307], - [-94, 73.55034], - [-93.924184, 73.563307], - [-93.859309, 73.596555], - [-93.809816, 73.638749], - [-93.774301, 73.681057], - [-93.749314, 73.719285], - [-93.731649, 73.752319], - [-93.718956, 73.78042], - [-93.709644, 73.804286], - [-93.702665, 73.824663], - [-93.697326, 73.842205], - [-93.693166, 73.857452], - [-93.689869, 73.870835], - [-93.687215, 73.882695], - [-93.685051, 73.893303], - [-93.683266, 73.902873], - [-93.681777, 73.911579], - [-93.680525, 73.91956], - [-93.679463, 73.926931], - [-93.678556, 73.933784], - [-93.677777, 73.940198], - [-93.677105, 73.946238], - [-93.676523, 73.95196], - [-93.676019, 73.957411], - [-93.675581, 73.962632], - [-93.675201, 73.967659], - [-93.674871, 73.972525], - [-93.674588, 73.977256], - [-93.674346, 73.98188], - [-93.674142, 73.98642], - [-93.673973, 73.990898], - [-93.673837, 73.995336], + [-93.949488, 74.444524], + [-93.911829, 74.433801], + [-93.882958, 74.421268], + [-93.859316, 74.407934], + [-93.839241, 74.394195], + [-93.821755, 74.380205], + [-93.806271, 74.366046], + [-93.792404, 74.351766], + [-93.779885, 74.337396], + [-93.768516, 74.322958], + [-93.758148, 74.30846], + [-93.748673, 74.293923], + [-93.739996, 74.279351], + [-93.732045, 74.264752], + [-93.724755, 74.250122], + [-93.71808, 74.23547], + [-93.71198, 74.220803], + [-93.706417, 74.206122], + [-93.70136, 74.191425], + [-93.696785, 74.176719], + [-93.692668, 74.161999], + [-93.688992, 74.147274], + [-93.685739, 74.13254], + [-93.682896, 74.1178], + [-93.680449, 74.103055], + [-93.678388, 74.088304], + [-93.676705, 74.073551], + [-93.675392, 74.058794], + [-93.674442, 74.044036], + [-93.673852, 74.029276], + [-93.673616, 74.014515], [-93.673734, 73.999754], - [-93.673662, 74.004172], - [-93.673621, 74.00861], - [-93.673612, 74.013088], - [-93.673637, 74.017628], - [-93.673696, 74.022253], - [-93.673792, 74.026985], - [-93.673929, 74.031851], - [-93.674111, 74.036879], - [-93.674344, 74.042101], - [-93.674636, 74.047553], - [-93.674994, 74.053277], - [-93.675432, 74.059318], - [-93.675963, 74.065734], - [-93.676608, 74.07259], - [-93.67739, 74.079963], - [-93.678343, 74.087948], - [-93.679508, 74.096658], - [-93.680943, 74.106233], - [-93.682725, 74.116846], - [-93.684962, 74.128713], - [-93.687803, 74.142105], - [-93.691464, 74.157363], - [-93.696258, 74.17492], - [-93.70265, 74.195315], - [-93.711348, 74.219205], - [-93.72344, 74.247338], - [-93.740603, 74.280414], - [-93.765368, 74.318699], - [-93.801266, 74.361076], - [-93.852226, 74.403349], - [-93.920044, 74.436665], + [-93.674202, 73.984993], + [-93.675022, 73.970234], + [-93.676192, 73.955477], + [-93.677716, 73.940722], + [-93.679596, 73.92597], + [-93.681836, 73.911223], + [-93.684442, 73.896479], + [-93.687419, 73.881742], + [-93.690778, 73.867011], + [-93.694527, 73.852286], + [-93.698678, 73.837572], + [-93.703246, 73.822865], + [-93.708246, 73.808172], + [-93.713699, 73.793489], + [-93.719625, 73.778823], + [-93.726053, 73.764172], + [-93.733016, 73.749538], + [-93.740549, 73.734926], + [-93.748694, 73.720347], + [-93.757511, 73.705795], + [-93.767066, 73.691279], + [-93.777445, 73.676804], + [-93.788746, 73.662389], + [-93.80111, 73.648044], + [-93.814718, 73.633788], + [-93.82982, 73.619655], + [-93.846775, 73.605691], + [-93.866134, 73.591979], + [-93.88881, 73.578672], + [-93.916366, 73.566165], + [-93.952149, 73.555465], + [-94, 73.55034], + [-94.047851, 73.555465], + [-94.083634, 73.566165], + [-94.11119, 73.578672], + [-94.133866, 73.591979], + [-94.153225, 73.605691], + [-94.17018, 73.619655], + [-94.185282, 73.633788], + [-94.19889, 73.648044], + [-94.211254, 73.662389], + [-94.222555, 73.676804], + [-94.232934, 73.691279], + [-94.242489, 73.705795], + [-94.251306, 73.720347], + [-94.259451, 73.734926], + [-94.266984, 73.749538], + [-94.273947, 73.764172], + [-94.280375, 73.778823], + [-94.286301, 73.793489], + [-94.291754, 73.808172], + [-94.296754, 73.822865], + [-94.301322, 73.837572], + [-94.305473, 73.852286], + [-94.309222, 73.867011], + [-94.312581, 73.881742], + [-94.315558, 73.896479], + [-94.318164, 73.911223], + [-94.320404, 73.92597], + [-94.322284, 73.940722], + [-94.323808, 73.955477], + [-94.324978, 73.970234], + [-94.325798, 73.984993], + [-94.326266, 73.999754], + [-94.326384, 74.014515], + [-94.326148, 74.029276], + [-94.325558, 74.044036], + [-94.324608, 74.058794], + [-94.323295, 74.073551], + [-94.321612, 74.088304], + [-94.319551, 74.103055], + [-94.317104, 74.1178], + [-94.314261, 74.13254], + [-94.311008, 74.147274], + [-94.307332, 74.161999], + [-94.303215, 74.176719], + [-94.29864, 74.191425], + [-94.293583, 74.206122], + [-94.28802, 74.220803], + [-94.28192, 74.23547], + [-94.275245, 74.250122], + [-94.267955, 74.264752], + [-94.260004, 74.279351], + [-94.251327, 74.293923], + [-94.241852, 74.30846], + [-94.231484, 74.322958], + [-94.220115, 74.337396], + [-94.207596, 74.351766], + [-94.193729, 74.366046], + [-94.178245, 74.380205], + [-94.160759, 74.394195], + [-94.140684, 74.407934], + [-94.117042, 74.421268], + [-94.088171, 74.433801], + [-94.050512, 74.444524], [-94, 74.44966] ] ] diff --git a/packages/turf-ellipse/test/out/rotation-degrees.json b/packages/turf-ellipse/test/out/rotation-degrees.json index bc1d6efed5..b0faadad5d 100644 --- a/packages/turf-ellipse/test/out/rotation-degrees.json +++ b/packages/turf-ellipse/test/out/rotation-degrees.json @@ -108,69 +108,69 @@ "coordinates": [ [ [-73.9975, 40.75951], - [-74.00144, 40.761131], - [-74.005936, 40.762955], - [-74.011208, 40.765057], - [-74.01758, 40.767546], - [-74.025553, 40.770577], - [-74.035928, 40.774379], - [-74.050006, 40.779268], - [-74.06979, 40.785546], - [-74.097259, 40.792772], - [-74.128244, 40.796894], - [-74.141269, 40.788926], - [-74.125971, 40.771062], - [-74.103066, 40.755043], - [-74.084246, 40.743873], - [-74.070284, 40.736242], - [-74.059847, 40.730816], - [-74.051788, 40.726768], - [-74.045341, 40.723611], - [-74.040009, 40.721052], - [-74.035467, 40.718907], - [-74.031493, 40.717056], - [-74.02793, 40.715417], - [-74.024665, 40.713932], - [-74.02161, 40.712555], - [-74.018695, 40.711255], - [-74.015861, 40.710002], - [-74.013055, 40.708773], - [-74.010225, 40.707544], - [-74.007319, 40.706294], - [-74.004279, 40.704998], - [-74.001034, 40.70363], + [-73.98803, 40.755524], + [-73.978632, 40.751443], + [-73.969307, 40.747268], + [-73.960057, 40.742999], + [-73.950886, 40.738634], + [-73.941799, 40.734172], + [-73.932801, 40.729608], + [-73.923901, 40.724937], + [-73.915109, 40.720151], + [-73.906439, 40.715237], + [-73.897913, 40.710183], + [-73.88955, 40.704959], + [-73.881418, 40.69955], + [-73.87357, 40.693895], + [-73.866149, 40.687916], + [-73.859458, 40.681459], + [-73.854497, 40.674207], + [-73.85657, 40.666709], + [-73.866883, 40.664627], + [-73.877655, 40.665235], + [-73.888272, 40.666837], + [-73.898718, 40.668986], + [-73.909022, 40.6715], + [-73.9192, 40.674281], + [-73.929277, 40.677275], + [-73.939247, 40.68044], + [-73.949149, 40.683763], + [-73.958961, 40.687216], + [-73.968702, 40.690791], + [-73.978371, 40.694477], + [-73.987969, 40.698266], [-73.9975, 40.702156], - [-73.993564, 40.700535], - [-73.989072, 40.69871], - [-73.983806, 40.696607], - [-73.977443, 40.694117], - [-73.969481, 40.691083], - [-73.959122, 40.687274], - [-73.94507, 40.682374], - [-73.925329, 40.676075], - [-73.897927, 40.668808], - [-73.867016, 40.664625], - [-73.853982, 40.672562], - [-73.869185, 40.690461], - [-73.892011, 40.706527], - [-73.910788, 40.717728], - [-73.924728, 40.725378], - [-73.935153, 40.730816], - [-73.943205, 40.734872], - [-73.949649, 40.738035], - [-73.954978, 40.740598], - [-73.959519, 40.742746], - [-73.963493, 40.7446], - [-73.967055, 40.746241], - [-73.970321, 40.747728], - [-73.973377, 40.749106], - [-73.976293, 40.750407], - [-73.979128, 40.751661], - [-73.981935, 40.752891], - [-73.984766, 40.754121], - [-73.987673, 40.755371], - [-73.990716, 40.756667], - [-73.993963, 40.758036], + [-74.006963, 40.706141], + [-74.016356, 40.71022], + [-74.025679, 40.714391], + [-74.034929, 40.718655], + [-74.044104, 40.723013], + [-74.053196, 40.727467], + [-74.062202, 40.732022], + [-74.071112, 40.736682], + [-74.079917, 40.741457], + [-74.088604, 40.746357], + [-74.097148, 40.751398], + [-74.105534, 40.756606], + [-74.113691, 40.761999], + [-74.121567, 40.767638], + [-74.129021, 40.773601], + [-74.135747, 40.780043], + [-74.140746, 40.787282], + [-74.138702, 40.794786], + [-74.128377, 40.796891], + [-74.117581, 40.796307], + [-74.106938, 40.794726], + [-74.096466, 40.792595], + [-74.086136, 40.790099], + [-74.075933, 40.787332], + [-74.065833, 40.784351], + [-74.055841, 40.781196], + [-74.04592, 40.777883], + [-74.03609, 40.774437], + [-74.026332, 40.770868], + [-74.01665, 40.767186], + [-74.00704, 40.763399], [-73.9975, 40.75951] ] ] @@ -189,69 +189,69 @@ "coordinates": [ [ [-73.9975, 40.778079], - [-74.002851, 40.771974], - [-74.007022, 40.76709], - [-74.010403, 40.76305], - [-74.013236, 40.759608], - [-74.01568, 40.756596], - [-74.017845, 40.753896], - [-74.019806, 40.751421], - [-74.021623, 40.749106], - [-74.02334, 40.746896], - [-74.024993, 40.744748], - [-74.026616, 40.74262], - [-74.028236, 40.740475], - [-74.029886, 40.738272], - [-74.031595, 40.735967], - [-74.033399, 40.733507], - [-74.035343, 40.730827], - [-74.037481, 40.727842], - [-74.039886, 40.724436], - [-74.042658, 40.720442], - [-74.045939, 40.715615], - [-74.049935, 40.709576], - [-74.054949, 40.701718], - [-74.061394, 40.691056], - [-74.069671, 40.676075], - [-74.079201, 40.655279], - [-74.084644, 40.631823], - [-74.074154, 40.621957], - [-74.050605, 40.633527], - [-74.029473, 40.650862], - [-74.014734, 40.66511], - [-74.004662, 40.675683], + [-73.991376, 40.784846], + [-73.9851, 40.791537], + [-73.978663, 40.798137], + [-73.972047, 40.804631], + [-73.965215, 40.811009], + [-73.958147, 40.817227], + [-73.950773, 40.823247], + [-73.943003, 40.82898], + [-73.934669, 40.834242], + [-73.925436, 40.838503], + [-73.914984, 40.839098], + [-73.91029, 40.832029], + [-73.91052, 40.823849], + [-73.912371, 40.815756], + [-73.91505, 40.807799], + [-73.918257, 40.799957], + [-73.921844, 40.792216], + [-73.925731, 40.784552], + [-73.929858, 40.776968], + [-73.934193, 40.769449], + [-73.938709, 40.761994], + [-73.943391, 40.754592], + [-73.948221, 40.747249], + [-73.953192, 40.739957], + [-73.958295, 40.73272], + [-73.963525, 40.725534], + [-73.968879, 40.718402], + [-73.974355, 40.711323], + [-73.979953, 40.7043], + [-73.985675, 40.697333], + [-73.991521, 40.690429], [-73.9975, 40.683587], - [-73.992156, 40.689692], - [-73.987988, 40.694576], - [-73.984609, 40.698615], - [-73.981777, 40.702056], - [-73.979334, 40.705067], - [-73.977169, 40.707766], - [-73.975207, 40.71024], - [-73.97339, 40.712555], - [-73.971673, 40.714764], - [-73.970018, 40.716912], - [-73.968395, 40.719038], - [-73.966772, 40.721183], - [-73.965122, 40.723385], - [-73.963411, 40.725689], - [-73.961604, 40.728148], - [-73.959657, 40.730827], - [-73.957515, 40.73381], - [-73.955106, 40.737215], - [-73.952328, 40.741206], - [-73.949039, 40.74603], - [-73.945031, 40.752066], - [-73.940001, 40.75992], - [-73.933529, 40.770575], - [-73.92521, 40.785546], - [-73.915613, 40.806329], - [-73.910096, 40.829777], - [-73.920595, 40.839658], - [-73.94424, 40.828115], - [-73.96545, 40.810796], - [-73.980231, 40.796553], - [-73.990326, 40.785983], + [-74.003614, 40.67682], + [-74.009877, 40.670128], + [-74.016299, 40.663526], + [-74.022897, 40.65703], + [-74.029707, 40.650648], + [-74.036751, 40.644426], + [-74.044097, 40.6384], + [-74.051836, 40.63266], + [-74.060136, 40.62739], + [-74.069331, 40.623119], + [-74.079748, 40.62251], + [-74.084445, 40.629571], + [-74.084237, 40.637752], + [-74.082412, 40.645847], + [-74.07976, 40.653809], + [-74.076578, 40.661655], + [-74.073016, 40.669401], + [-74.069153, 40.67707], + [-74.065048, 40.684659], + [-74.060734, 40.692183], + [-74.056236, 40.699642], + [-74.051571, 40.707049], + [-74.046755, 40.714396], + [-74.041796, 40.721692], + [-74.036703, 40.728933], + [-74.03148, 40.736122], + [-74.026132, 40.743257], + [-74.020658, 40.750338], + [-74.015061, 40.757363], + [-74.009337, 40.764331], + [-74.003486, 40.771237], [-73.9975, 40.778079] ] ] diff --git a/packages/turf-ellipse/test/out/rotation.json b/packages/turf-ellipse/test/out/rotation.json index 7b40241c3e..164a33d108 100644 --- a/packages/turf-ellipse/test/out/rotation.json +++ b/packages/turf-ellipse/test/out/rotation.json @@ -107,69 +107,69 @@ "coordinates": [ [ [-73.9975, 40.741149], - [-73.998917, 40.741732], - [-74.000534, 40.742388], - [-74.002429, 40.743145], - [-74.004721, 40.74404], - [-74.007588, 40.745131], - [-74.011318, 40.746499], - [-74.016379, 40.748259], - [-74.023491, 40.75052], - [-74.033365, 40.753124], - [-74.044502, 40.754614], - [-74.049189, 40.751751], - [-74.043697, 40.745321], - [-74.035466, 40.739553], - [-74.028701, 40.735531], - [-74.023681, 40.732784], - [-74.019928, 40.730831], - [-74.01703, 40.729374], - [-74.014711, 40.728237], - [-74.012793, 40.727316], - [-74.01116, 40.726544], - [-74.00973, 40.725878], - [-74.008448, 40.725289], - [-74.007274, 40.724754], - [-74.006175, 40.724259], - [-74.005126, 40.723791], - [-74.004106, 40.72334], - [-74.003097, 40.722897], - [-74.002079, 40.722455], - [-74.001033, 40.722006], - [-73.999939, 40.72154], - [-73.998772, 40.721047], + [-73.994094, 40.739715], + [-73.990714, 40.738247], + [-73.98736, 40.736746], + [-73.984032, 40.735211], + [-73.980733, 40.733641], + [-73.977463, 40.732037], + [-73.974226, 40.730397], + [-73.971023, 40.728718], + [-73.967859, 40.726997], + [-73.964738, 40.725231], + [-73.961669, 40.723414], + [-73.958658, 40.721537], + [-73.95573, 40.719593], + [-73.952903, 40.717561], + [-73.95023, 40.715412], + [-73.947819, 40.713091], + [-73.94603, 40.710483], + [-73.946772, 40.707785], + [-73.950484, 40.707034], + [-73.954361, 40.70725], + [-73.958183, 40.707824], + [-73.961944, 40.708595], + [-73.965654, 40.709497], + [-73.969318, 40.710496], + [-73.972946, 40.711571], + [-73.976535, 40.712709], + [-73.980099, 40.713903], + [-73.983631, 40.715144], + [-73.987137, 40.71643], + [-73.990616, 40.717755], + [-73.99407, 40.719118], [-73.9975, 40.720517], - [-73.996084, 40.719934], - [-73.994467, 40.719278], - [-73.992572, 40.718521], - [-73.990282, 40.717626], - [-73.987417, 40.716534], - [-73.983689, 40.715165], - [-73.978631, 40.713404], - [-73.971524, 40.71114], - [-73.961659, 40.708531], - [-73.950531, 40.707033], - [-73.945844, 40.709892], - [-73.951323, 40.716327], - [-73.959544, 40.722101], - [-73.966303, 40.726126], - [-73.97132, 40.728876], - [-73.975072, 40.730831], - [-73.977969, 40.732289], - [-73.980288, 40.733426], - [-73.982205, 40.734348], - [-73.983839, 40.73512], - [-73.985268, 40.735786], - [-73.98655, 40.736376], - [-73.987725, 40.736911], - [-73.988824, 40.737407], - [-73.989873, 40.737875], - [-73.990892, 40.738326], - [-73.991902, 40.738768], - [-73.99292, 40.73921], - [-73.993966, 40.73966], - [-73.99506, 40.740126], - [-73.996228, 40.740619], + [-74.000905, 40.721951], + [-74.004284, 40.723418], + [-74.007638, 40.724919], + [-74.010966, 40.726454], + [-74.014266, 40.728022], + [-74.017536, 40.729625], + [-74.020775, 40.731265], + [-74.023979, 40.732942], + [-74.027145, 40.734661], + [-74.030268, 40.736426], + [-74.033339, 40.738241], + [-74.036353, 40.740116], + [-74.039285, 40.742058], + [-74.042115, 40.744088], + [-74.044792, 40.746235], + [-74.047208, 40.748554], + [-74.049002, 40.75116], + [-74.048263, 40.753858], + [-74.04455, 40.754613], + [-74.040669, 40.7544], + [-74.036844, 40.753829], + [-74.03308, 40.75306], + [-74.029367, 40.75216], + [-74.025699, 40.751164], + [-74.022069, 40.75009], + [-74.018477, 40.748953], + [-74.01491, 40.74776], + [-74.011376, 40.74652], + [-74.007868, 40.745236], + [-74.004386, 40.743911], + [-74.000931, 40.742548], [-73.9975, 40.741149] ] ] @@ -188,69 +188,69 @@ "coordinates": [ [ [-73.9975, 40.747829], - [-73.999424, 40.745633], - [-74.000924, 40.743876], - [-74.00214, 40.742423], - [-74.003159, 40.741184], - [-74.004038, 40.740101], - [-74.004817, 40.73913], - [-74.005523, 40.73824], - [-74.006176, 40.737407], - [-74.006794, 40.736612], - [-74.007389, 40.735839], - [-74.007972, 40.735074], - [-74.008556, 40.734303], - [-74.009149, 40.73351], - [-74.009764, 40.732681], - [-74.010414, 40.731796], - [-74.011113, 40.730832], - [-74.011883, 40.729759], - [-74.012748, 40.728533], - [-74.013746, 40.727097], - [-74.014927, 40.725361], - [-74.016366, 40.723189], - [-74.018172, 40.720363], - [-74.020493, 40.716528], - [-74.023476, 40.71114], - [-74.026912, 40.703661], - [-74.028878, 40.695224], - [-74.025103, 40.691673], - [-74.016621, 40.695832], - [-74.00901, 40.702066], - [-74.003704, 40.707191], - [-74.000078, 40.710994], + [-73.995298, 40.750263], + [-73.993042, 40.75267], + [-73.990728, 40.755044], + [-73.98835, 40.757381], + [-73.985895, 40.759676], + [-73.983356, 40.761913], + [-73.980706, 40.764079], + [-73.977914, 40.766142], + [-73.97492, 40.768036], + [-73.971604, 40.76957], + [-73.967847, 40.769786], + [-73.966159, 40.767244], + [-73.966239, 40.764301], + [-73.966902, 40.76139], + [-73.967862, 40.758527], + [-73.969013, 40.755705], + [-73.970301, 40.75292], + [-73.971696, 40.750162], + [-73.973178, 40.747433], + [-73.974735, 40.744728], + [-73.976357, 40.742046], + [-73.97804, 40.739383], + [-73.979776, 40.736741], + [-73.981563, 40.734117], + [-73.983397, 40.731513], + [-73.985278, 40.728928], + [-73.987203, 40.726362], + [-73.989173, 40.723815], + [-73.991186, 40.721289], + [-73.993245, 40.718782], + [-73.995348, 40.716299], [-73.9975, 40.713837], - [-73.995577, 40.716033], - [-73.994077, 40.71779], - [-73.992861, 40.719243], - [-73.991843, 40.720481], - [-73.990963, 40.721565], - [-73.990185, 40.722536], - [-73.989479, 40.723426], - [-73.988825, 40.724259], - [-73.988208, 40.725053], - [-73.987613, 40.725826], - [-73.987029, 40.726591], - [-73.986445, 40.727362], - [-73.985852, 40.728155], - [-73.985236, 40.728984], - [-73.984587, 40.729868], - [-73.983887, 40.730832], - [-73.983117, 40.731906], - [-73.982251, 40.733131], - [-73.981252, 40.734567], - [-73.98007, 40.736302], - [-73.978629, 40.738474], - [-73.976822, 40.7413], - [-73.974497, 40.745133], - [-73.971509, 40.75052], - [-73.968064, 40.757998], - [-73.966088, 40.766434], - [-73.969864, 40.769986], - [-73.978359, 40.765831], - [-73.98598, 40.759599], - [-73.991292, 40.754475], - [-73.994921, 40.750672], + [-73.9997, 40.711403], + [-74.001955, 40.708996], + [-74.004267, 40.706621], + [-74.006642, 40.704285], + [-74.009095, 40.701989], + [-74.011631, 40.699752], + [-74.014277, 40.697584], + [-74.017065, 40.695521], + [-74.020054, 40.693625], + [-74.023366, 40.69209], + [-74.027118, 40.691873], + [-74.028807, 40.694414], + [-74.02873, 40.697357], + [-74.02807, 40.700268], + [-74.027113, 40.703132], + [-74.025966, 40.705954], + [-74.024681, 40.70874], + [-74.023289, 40.711498], + [-74.02181, 40.714227], + [-74.020255, 40.716933], + [-74.018635, 40.719616], + [-74.016955, 40.72228], + [-74.015221, 40.724923], + [-74.013436, 40.727547], + [-74.011603, 40.730151], + [-74.009723, 40.732737], + [-74.007798, 40.735303], + [-74.005829, 40.73785], + [-74.003816, 40.740377], + [-74.001757, 40.742883], + [-73.999653, 40.745367], [-73.9975, 40.747829] ] ] diff --git a/packages/turf-ellipse/test/out/simple-degrees.json b/packages/turf-ellipse/test/out/simple-degrees.json index de59edddd5..8f4b57c01d 100644 --- a/packages/turf-ellipse/test/out/simple-degrees.json +++ b/packages/turf-ellipse/test/out/simple-degrees.json @@ -107,69 +107,69 @@ "coordinates": [ [ [-73.9975, 41.730833], - [-74.129444, 41.730565], - [-74.26381, 41.729739], - [-74.403197, 41.728293], - [-74.550578, 41.72611], - [-74.709562, 41.722998], - [-74.88476, 41.718653], - [-75.082339, 41.712593], - [-75.310897, 41.704032], - [-75.582889, 41.691641], - [-75.917048, 41.673066], - [-76.342458, 41.643872], - [-76.904984, 41.595144], - [-77.673648, 41.507773], - [-78.721557, 41.340199], - [-79.947344, 41.020221], - [-80.583334, 40.543359], - [-79.869249, 40.139535], - [-78.622783, 39.93274], - [-77.582708, 39.840093], - [-76.827422, 39.795492], - [-76.277405, 39.771646], - [-75.862582, 39.7577], - [-75.53727, 39.748956], - [-75.272754, 39.743179], - [-75.050635, 39.739213], - [-74.858714, 39.736418], - [-74.688593, 39.734421], - [-74.534254, 39.732994], - [-74.391205, 39.731994], - [-74.25593, 39.731333], - [-74.125537, 39.730956], - [-73.9975, 39.730833], - [-73.869463, 39.730956], - [-73.73907, 39.731333], - [-73.603795, 39.731994], - [-73.460746, 39.732994], - [-73.306407, 39.734421], - [-73.136286, 39.736418], - [-72.944365, 39.739213], - [-72.722246, 39.743179], - [-72.45773, 39.748956], - [-72.132418, 39.7577], - [-71.717595, 39.771646], - [-71.167578, 39.795492], - [-70.412292, 39.840093], - [-69.372217, 39.93274], - [-68.125751, 40.139535], + [-73.557758, 41.727849], + [-73.118224, 41.718872], + [-72.679052, 41.703823], + [-72.240467, 41.682568], + [-71.802687, 41.654902], + [-71.365983, 41.620544], + [-70.930686, 41.579108], + [-70.497155, 41.530066], + [-70.065924, 41.472696], + [-69.637065, 41.405879], + [-69.212357, 41.328228], + [-68.792553, 41.237249], + [-68.38057, 41.12896], + [-67.982454, 40.995582], + [-67.618325, 40.81878], [-67.411666, 40.543359], - [-68.047656, 41.020221], - [-69.273443, 41.340199], - [-70.321352, 41.507773], - [-71.090016, 41.595144], - [-71.652542, 41.643872], - [-72.077952, 41.673066], - [-72.412111, 41.691641], - [-72.684103, 41.704032], - [-72.912661, 41.712593], - [-73.11024, 41.718653], - [-73.285438, 41.722998], - [-73.444422, 41.72611], - [-73.591803, 41.728293], - [-73.73119, 41.729739], - [-73.865556, 41.730565], + [-67.668346, 40.2939], + [-68.057622, 40.157314], + [-68.469583, 40.064419], + [-68.888725, 39.994698], + [-69.311071, 39.939738], + [-69.734861, 39.895265], + [-70.160081, 39.858692], + [-70.585491, 39.828483], + [-71.011415, 39.803498], + [-71.437647, 39.782973], + [-71.8641, 39.766347], + [-72.290682, 39.753215], + [-72.717335, 39.743276], + [-73.144039, 39.736318], + [-73.570753, 39.732197], + [-73.9975, 39.730833], + [-74.424247, 39.732197], + [-74.850961, 39.736318], + [-75.277665, 39.743276], + [-75.704318, 39.753215], + [-76.1309, 39.766347], + [-76.557353, 39.782973], + [-76.983585, 39.803498], + [-77.409509, 39.828483], + [-77.834919, 39.858692], + [-78.260139, 39.895265], + [-78.683929, 39.939738], + [-79.106275, 39.994698], + [-79.525417, 40.064419], + [-79.937378, 40.157314], + [-80.326654, 40.2939], + [-80.583334, 40.543359], + [-80.376675, 40.81878], + [-80.012546, 40.995582], + [-79.61443, 41.12896], + [-79.202447, 41.237249], + [-78.782643, 41.328228], + [-78.357935, 41.405879], + [-77.929076, 41.472696], + [-77.497845, 41.530066], + [-77.064314, 41.579108], + [-76.629017, 41.620544], + [-76.192313, 41.654902], + [-75.754533, 41.682568], + [-75.315948, 41.703823], + [-74.876776, 41.718872], + [-74.437242, 41.727849], [-73.9975, 41.730833] ] ] @@ -188,69 +188,69 @@ "coordinates": [ [ [-73.9975, 45.730833], - [-74.624009, 45.214797], - [-74.981731, 44.271947], - [-75.14762, 43.477473], - [-75.226528, 42.898491], - [-75.267193, 42.476206], - [-75.28974, 42.157471], - [-75.30293, 41.907409], - [-75.310897, 41.704032], - [-75.315746, 41.533228], - [-75.318619, 41.385634], - [-75.320164, 41.2548], - [-75.320765, 41.136102], - [-75.32065, 41.026087], - [-75.319951, 40.922054], - [-75.318739, 40.821778], - [-75.317039, 40.723319], - [-75.314836, 40.624866], - [-75.312076, 40.524608], - [-75.308665, 40.420606], - [-75.304452, 40.310638], - [-75.299207, 40.192006], - [-75.292584, 40.061265], - [-75.28405, 39.913801], - [-75.272754, 39.743179], - [-75.257295, 39.540063], - [-75.235228, 39.290391], - [-75.202033, 38.972261], - [-75.148737, 38.550964], - [-75.056205, 37.973684], - [-74.88205, 37.182206], - [-74.544727, 36.24391], - [-73.9975, 35.730833], - [-73.450273, 36.24391], - [-73.11295, 37.182206], - [-72.938795, 37.973684], - [-72.846263, 38.550964], - [-72.792967, 38.972261], - [-72.759772, 39.290391], - [-72.737705, 39.540063], - [-72.722246, 39.743179], - [-72.71095, 39.913801], - [-72.702416, 40.061265], - [-72.695793, 40.192006], - [-72.690548, 40.310638], - [-72.686335, 40.420606], - [-72.682924, 40.524608], - [-72.680164, 40.624866], + [-73.621733, 45.553633], + [-73.400602, 45.265721], + [-73.243802, 44.956446], + [-73.122839, 44.639433], + [-73.025728, 44.318504], + [-72.946286, 43.995431], + [-72.880687, 43.670492], + [-72.826658, 43.344819], + [-72.782455, 43.018299], + [-72.746892, 42.691195], + [-72.719084, 42.363657], + [-72.698366, 42.035826], + [-72.684229, 41.707807], + [-72.67629, 41.379672], + [-72.674267, 41.051499], [-72.677961, 40.723319], - [-72.676261, 40.821778], - [-72.675049, 40.922054], - [-72.67435, 41.026087], - [-72.674235, 41.136102], - [-72.674836, 41.2548], - [-72.676381, 41.385634], - [-72.679254, 41.533228], - [-72.684103, 41.704032], - [-72.69207, 41.907409], - [-72.70526, 42.157471], - [-72.727807, 42.476206], - [-72.768472, 42.898491], - [-72.84738, 43.477473], - [-73.013269, 44.271947], - [-73.370991, 45.214797], + [-72.687253, 40.395204], + [-72.702095, 40.067223], + [-72.722513, 39.739408], + [-72.74861, 39.411838], + [-72.780581, 39.084583], + [-72.81872, 38.757748], + [-72.863457, 38.431475], + [-72.915405, 38.105912], + [-72.975417, 37.781323], + [-73.044833, 37.457592], + [-73.125374, 37.135848], + [-73.220102, 36.816365], + [-73.334008, 36.500904], + [-73.476941, 36.193264], + [-73.672639, 35.90698], + [-73.9975, 35.730833], + [-74.322361, 35.90698], + [-74.518059, 36.193264], + [-74.660992, 36.500904], + [-74.774898, 36.816365], + [-74.869626, 37.135848], + [-74.950167, 37.457592], + [-75.019583, 37.781323], + [-75.079595, 38.105912], + [-75.131543, 38.431475], + [-75.17628, 38.757748], + [-75.214419, 39.084583], + [-75.24639, 39.411838], + [-75.272487, 39.739408], + [-75.292905, 40.067223], + [-75.307747, 40.395204], + [-75.317039, 40.723319], + [-75.320733, 41.051499], + [-75.31871, 41.379672], + [-75.310771, 41.707807], + [-75.296634, 42.035826], + [-75.275916, 42.363657], + [-75.248108, 42.691195], + [-75.212545, 43.018299], + [-75.168342, 43.344819], + [-75.114313, 43.670492], + [-75.048714, 43.995431], + [-74.969272, 44.318504], + [-74.872161, 44.639433], + [-74.751198, 44.956446], + [-74.594398, 45.265721], + [-74.373267, 45.553633], [-73.9975, 45.730833] ] ] diff --git a/packages/turf-ellipse/test/out/simple.json b/packages/turf-ellipse/test/out/simple.json index cb36deb4fb..b73b7d3f8c 100644 --- a/packages/turf-ellipse/test/out/simple.json +++ b/packages/turf-ellipse/test/out/simple.json @@ -106,69 +106,69 @@ "coordinates": [ [ [-73.9975, 40.739826], - [-73.998669, 40.739824], - [-73.999859, 40.739819], - [-74.001094, 40.73981], - [-74.0024, 40.739795], - [-74.003808, 40.739775], - [-74.005361, 40.739747], - [-74.007112, 40.739707], - [-74.009139, 40.739651], - [-74.011552, 40.73957], - [-74.014518, 40.739447], - [-74.018298, 40.739254], - [-74.023304, 40.738929], - [-74.030166, 40.738337], - [-74.039577, 40.737167], - [-74.050737, 40.734794], - [-74.056839, 40.730818], - [-74.050731, 40.726848], - [-74.039569, 40.724484], - [-74.030159, 40.72332], - [-74.023298, 40.722732], - [-74.018292, 40.722408], - [-74.014513, 40.722216], - [-74.011548, 40.722095], - [-74.009136, 40.722014], - [-74.00711, 40.721958], - [-74.005359, 40.721919], - [-74.003807, 40.721891], - [-74.002398, 40.72187], - [-74.001093, 40.721856], - [-73.999858, 40.721847], - [-73.998668, 40.721842], - [-73.9975, 40.72184], - [-73.996332, 40.721842], - [-73.995142, 40.721847], - [-73.993907, 40.721856], - [-73.992602, 40.72187], - [-73.991193, 40.721891], - [-73.989641, 40.721919], - [-73.98789, 40.721958], - [-73.985864, 40.722014], - [-73.983452, 40.722095], - [-73.980487, 40.722216], - [-73.976708, 40.722408], - [-73.971702, 40.722732], - [-73.964841, 40.72332], - [-73.955431, 40.724484], - [-73.944269, 40.726848], + [-73.993604, 40.739807], + [-73.989709, 40.739748], + [-73.985815, 40.73965], + [-73.981924, 40.73951], + [-73.978035, 40.739327], + [-73.974151, 40.739099], + [-73.970273, 40.738821], + [-73.966403, 40.738489], + [-73.962544, 40.738095], + [-73.958694, 40.737631], + [-73.954868, 40.737081], + [-73.951068, 40.736424], + [-73.947316, 40.735622], + [-73.943657, 40.734601], + [-73.940253, 40.733187], [-73.938161, 40.730818], - [-73.944263, 40.734794], - [-73.955423, 40.737167], - [-73.964834, 40.738337], - [-73.971696, 40.738929], - [-73.976702, 40.739254], - [-73.980482, 40.739447], - [-73.983448, 40.73957], - [-73.985861, 40.739651], - [-73.987888, 40.739707], - [-73.989639, 40.739747], - [-73.991192, 40.739775], - [-73.9926, 40.739795], - [-73.993906, 40.73981], - [-73.995141, 40.739819], - [-73.996331, 40.739824], + [-73.940257, 40.728451], + [-73.943663, 40.72704], + [-73.947324, 40.726022], + [-73.951076, 40.725223], + [-73.954876, 40.724569], + [-73.958702, 40.724022], + [-73.962551, 40.72356], + [-73.96641, 40.723169], + [-73.97028, 40.722839], + [-73.974157, 40.722563], + [-73.97804, 40.722336], + [-73.981928, 40.722154], + [-73.985818, 40.722015], + [-73.989711, 40.721917], + [-73.993605, 40.721859], + [-73.9975, 40.72184], + [-74.001395, 40.721859], + [-74.005289, 40.721917], + [-74.009182, 40.722015], + [-74.013072, 40.722154], + [-74.01696, 40.722336], + [-74.020843, 40.722563], + [-74.02472, 40.722839], + [-74.02859, 40.723169], + [-74.032449, 40.72356], + [-74.036298, 40.724022], + [-74.040124, 40.724569], + [-74.043924, 40.725223], + [-74.047676, 40.726022], + [-74.051337, 40.72704], + [-74.054743, 40.728451], + [-74.056839, 40.730818], + [-74.054747, 40.733187], + [-74.051343, 40.734601], + [-74.047684, 40.735622], + [-74.043932, 40.736424], + [-74.040132, 40.737081], + [-74.036306, 40.737631], + [-74.032456, 40.738095], + [-74.028597, 40.738489], + [-74.024727, 40.738821], + [-74.020849, 40.739099], + [-74.016965, 40.739327], + [-74.013076, 40.73951], + [-74.009185, 40.73965], + [-74.005291, 40.739748], + [-74.001396, 40.739807], [-73.9975, 40.739826] ] ] @@ -187,69 +187,69 @@ "coordinates": [ [ [-73.9975, 40.775799], - [-74.002746, 40.771173], - [-74.005873, 40.762715], - [-74.007412, 40.755584], - [-74.00819, 40.750384], - [-74.008618, 40.746591], - [-74.008872, 40.743727], - [-74.009032, 40.741479], - [-74.009139, 40.739651], - [-74.009212, 40.738115], - [-74.009264, 40.736789], - [-74.009301, 40.735612], - [-74.009328, 40.734545], - [-74.009346, 40.733555], - [-74.009359, 40.73262], - [-74.009366, 40.731718], - [-74.009368, 40.730832], - [-74.009365, 40.729947], - [-74.009358, 40.729045], - [-74.009346, 40.728109], - [-74.009327, 40.72712], - [-74.0093, 40.726053], - [-74.009262, 40.724876], - [-74.00921, 40.723549], - [-74.009136, 40.722014], - [-74.009028, 40.720186], - [-74.008867, 40.717938], - [-74.008613, 40.715074], - [-74.008184, 40.711281], - [-74.007404, 40.706081], - [-74.005865, 40.69895], - [-74.00274, 40.690493], - [-73.9975, 40.685867], - [-73.99226, 40.690493], - [-73.989135, 40.69895], - [-73.987596, 40.706081], - [-73.986816, 40.711281], - [-73.986387, 40.715074], - [-73.986133, 40.717938], - [-73.985972, 40.720186], - [-73.985864, 40.722014], - [-73.98579, 40.723549], - [-73.985738, 40.724876], - [-73.9857, 40.726053], - [-73.985673, 40.72712], - [-73.985654, 40.728109], - [-73.985642, 40.729045], - [-73.985635, 40.729947], + [-73.994373, 40.774212], + [-73.992507, 40.771632], + [-73.991162, 40.768858], + [-73.990105, 40.766015], + [-73.98924, 40.763135], + [-73.988517, 40.760236], + [-73.987906, 40.757319], + [-73.987388, 40.754395], + [-73.986952, 40.751462], + [-73.986586, 40.748524], + [-73.986286, 40.745581], + [-73.986046, 40.742634], + [-73.985863, 40.739686], + [-73.985734, 40.736735], + [-73.985657, 40.733784], [-73.985632, 40.730832], - [-73.985634, 40.731718], - [-73.985641, 40.73262], - [-73.985654, 40.733555], - [-73.985672, 40.734545], - [-73.985699, 40.735612], - [-73.985736, 40.736789], - [-73.985788, 40.738115], - [-73.985861, 40.739651], - [-73.985968, 40.741479], - [-73.986128, 40.743727], - [-73.986382, 40.746591], - [-73.98681, 40.750384], - [-73.987588, 40.755584], - [-73.989127, 40.762715], - [-73.992254, 40.771173], + [-73.985658, 40.727881], + [-73.985736, 40.724929], + [-73.985866, 40.721979], + [-73.98605, 40.71903], + [-73.986291, 40.716084], + [-73.986592, 40.713141], + [-73.986958, 40.710203], + [-73.987396, 40.70727], + [-73.987913, 40.704346], + [-73.988525, 40.701429], + [-73.989248, 40.69853], + [-73.990113, 40.695651], + [-73.991169, 40.692807], + [-73.992514, 40.690034], + [-73.994377, 40.687454], + [-73.9975, 40.685867], + [-74.000623, 40.687454], + [-74.002486, 40.690034], + [-74.003831, 40.692807], + [-74.004887, 40.695651], + [-74.005752, 40.69853], + [-74.006475, 40.701429], + [-74.007087, 40.704346], + [-74.007604, 40.70727], + [-74.008042, 40.710203], + [-74.008408, 40.713141], + [-74.008709, 40.716084], + [-74.00895, 40.71903], + [-74.009134, 40.721979], + [-74.009264, 40.724929], + [-74.009342, 40.727881], + [-74.009368, 40.730832], + [-74.009343, 40.733784], + [-74.009266, 40.736735], + [-74.009137, 40.739686], + [-74.008954, 40.742634], + [-74.008714, 40.745581], + [-74.008414, 40.748524], + [-74.008048, 40.751462], + [-74.007612, 40.754395], + [-74.007094, 40.757319], + [-74.006483, 40.760236], + [-74.00576, 40.763135], + [-74.004895, 40.766015], + [-74.003838, 40.768858], + [-74.002493, 40.771632], + [-74.000627, 40.774212], [-73.9975, 40.775799] ] ] diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ac139d2f73..0a74ffb72d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2858,6 +2858,9 @@ importers: '@turf/destination': specifier: workspace:^ version: link:../turf-destination + '@turf/distance': + specifier: workspace:^ + version: link:../turf-distance '@turf/helpers': specifier: workspace:^ version: link:../turf-helpers From 775d563af48a9dfaa5ecf14415a8ff2d63948f1f Mon Sep 17 00:00:00 2001 From: hadrien Date: Wed, 30 Oct 2024 14:14:27 +0100 Subject: [PATCH 5/7] updates turf-ellipse/README.md --- packages/turf-ellipse/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/turf-ellipse/README.md b/packages/turf-ellipse/README.md index cb49376e9c..673c65a2ea 100644 --- a/packages/turf-ellipse/README.md +++ b/packages/turf-ellipse/README.md @@ -17,6 +17,7 @@ Takes a [Point][1] and calculates the ellipse polygon given two semi-axes expres * `options.pivot` **[Coord][2]** point around which any rotation will be performed (optional, default `center`) * `options.steps` **[number][3]** number of steps (optional, default `64`) * `options.units` **[string][5]** unit of measurement for axes (optional, default `'kilometers'`) + * `options.accuracy` **[number][3]** level of precision used for the repartition of points along the curve (optional, default `3`) * `options.properties` **[Object][4]** properties (optional, default `{}`) ### Examples From d72ba035c7991e9599982426d21101c40259786a Mon Sep 17 00:00:00 2001 From: hadrien Date: Wed, 30 Oct 2024 14:52:56 +0100 Subject: [PATCH 6/7] updates tests for standard-deviational-ellipse --- .../test/out/mta-stations-unweighted.json | 126 ++++++++--------- .../test/out/mta-stations-weighted.json | 128 +++++++++--------- 2 files changed, 127 insertions(+), 127 deletions(-) diff --git a/packages/turf-standard-deviational-ellipse/test/out/mta-stations-unweighted.json b/packages/turf-standard-deviational-ellipse/test/out/mta-stations-unweighted.json index ff4c552055..5f6015649d 100644 --- a/packages/turf-standard-deviational-ellipse/test/out/mta-stations-unweighted.json +++ b/packages/turf-standard-deviational-ellipse/test/out/mta-stations-unweighted.json @@ -110,69 +110,69 @@ "coordinates": [ [ [-73.93724145877377, 40.83618511653203], - [-73.95060972869568, 40.8324633775639], - [-73.96292484453991, 40.82746644344005], - [-73.97404446702156, 40.82157262672473], - [-73.98394875367595, 40.81509819041714], - [-73.99269683798383, 40.80828215856428], - [-74.00038936254118, 40.801290325812246], - [-74.00714185465796, 40.7942279240883], - [-74.0130682739536, 40.787154013569555], - [-74.01827207914721, 40.78009420595208], - [-74.0228420976961, 40.77305062413821], - [-74.02685110454811, 40.766009156141784], - [-74.03035570013952, 40.75894450155889], - [-74.03339660676885, 40.75182359688861], - [-74.03599885133741, 40.7446079598843], - [-74.03817151000639, 40.73725542445193], - [-74.03990680588038, 40.72972169736291], - [-74.04117841938891, 40.7219621787065], - [-74.04193893580715, 40.713934559844056], - [-74.04211646678922, 40.70560284689648], - [-74.04161071606777, 40.696943636408704], - [-74.04028922013188, 40.68795562584149], - [-74.03798531611285, 40.678673302342965], - [-74.03450066487102, 40.669185160344625], - [-74.02961673528854, 40.6596550633659], - [-74.02312072026545, 40.65034185984363], - [-74.01484994966283, 40.641607217347826], - [-74.00475219726987, 40.633897324050196], - [-73.9929463818132, 40.62768650824393], - [-73.97975494152989, 40.62338606565163], - [-73.96567961587314, 40.621246424971716], - [-73.95131647814294, 40.62129635383516], - [-73.93724145877377, 40.62334923864766], - [-73.92391438856964, 40.62706944011775], - [-73.91163338256526, 40.63206223585031], - [-73.9005398677183, 40.6379500718276], - [-73.89065381415783, 40.64441738629339], - [-73.88191681343093, 40.65122571972067], - [-73.87422919069331, 40.658209690276244], - [-73.86747640309733, 40.66526434657484], - [-73.86154537461677, 40.67233080788317], - [-73.85633338369394, 40.67938357145792], - [-73.85175218865726, 40.68642057812388], - [-73.84772946363739, 40.693455977568554], - [-73.84420894289005, 40.70051509596029], - [-73.84115014861848, 40.70763102099724], - [-73.83852823230507, 40.71484226550485], - [-73.83633425422795, 40.72219103909716], - [-73.83457611166715, 40.72972169736291], - [-73.83328025876065, 40.73747892704868], - [-73.83249429706393, 40.74550515345826], - [-73.83229040407745, 40.75383652139038], - [-73.83276933365912, 40.762496621313865], - [-73.83406425957234, 40.771486974883885], - [-73.83634290570137, 40.78077333086871], - [-73.83980511654022, 40.79026741305988], - [-73.8446714183372, 40.79980549611834], - [-73.85115702339624, 40.80912869576755], - [-73.8594271141585, 40.81787502151877], - [-73.8695359500426, 40.825597585252034], - [-73.88136538542491, 40.831820985811284], - [-73.89459183617987, 40.83613264196948], - [-73.90871039642508, 40.83828092817609], - [-73.92312047747767, 40.83823628612954], + [-73.92524599056574, 40.83805192166696], + [-73.91301528517528, 40.838492680245224], + [-73.90086249942344, 40.837373118596375], + [-73.88915921377207, 40.834657038521236], + [-73.87826507898724, 40.83043228033687], + [-73.86845357564161, 40.82489138720385], + [-73.85987683951726, 40.81827853593302], + [-73.85257843837346, 40.81083707692549], + [-73.84652892505592, 40.80277839006215], + [-73.84166093951086, 40.794272407923366], + [-73.83789388657539, 40.785451216465], + [-73.83514745350854, 40.77641654476669], + [-73.83334770280894, 40.76724570590005], + [-73.83243023739723, 40.757999801944344], + [-73.8323402812681, 40.74872801489934], + [-73.83303219698091, 40.739470783452724], + [-73.83446879387142, 40.73026259642082], + [-73.83662036257098, 40.72113478694323], + [-73.83946397931958, 40.71211637727197], + [-73.84298274129635, 40.703235956798316], + [-73.84716527216544, 40.69452265454217], + [-73.85200519373218, 40.68600751061086], + [-73.85750091101784, 40.67772443296197], + [-73.8636544594252, 40.669712703705315], + [-73.87047244217158, 40.66201668117915], + [-73.87796304628094, 40.65469066646278], + [-73.8861372871182, 40.64779866891409], + [-73.89500485169583, 40.64141981329754], + [-73.90456915395607, 40.63565246054414], + [-73.9148239890731, 40.630616161314556], + [-73.92573849415422, 40.62645756416352], + [-73.93724145877376, 40.62334923864767], + [-73.94919794965875, 40.62148119578358], + [-73.96138859208871, 40.621036626518936], + [-73.97350294489702, 40.6221498524343], + [-73.98517234540333, 40.624857428026196], + [-73.99603964333467, 40.629072148974195], + [-74.00583291254259, 40.63460224995019], + [-74.01440047893014, 40.641204304226164], + [-74.02169835900949, 40.64863557135878], + [-74.02775505262939, 40.65668510760119], + [-74.03263673634152, 40.665183260599036], + [-74.03642277145237, 40.67399810484217], + [-74.0391922815745, 40.68302798570088], + [-74.04101810408274, 40.6921956040873], + [-74.04196363035686, 40.701439831141876], + [-74.04208272206033, 40.71071142907794], + [-74.04142018557343, 40.7199698823762], + [-74.04001245259876, 40.729180609522665], + [-74.03788853279148, 40.73831217153331], + [-74.03507070271776, 40.74733542880114], + [-74.03157526134531, 40.756221663345904], + [-74.02741301937753, 40.76494160606433], + [-74.02258982310997, 40.77346406411993], + [-74.01710676795125, 40.78175496279283], + [-74.01096135043383, 40.78977483587868], + [-74.00414653740935, 40.797479122718954], + [-73.9966537568338, 40.80481329543107], + [-73.98847167080497, 40.81171309257224], + [-73.97959035883366, 40.81809910584316], + [-73.97000631045564, 40.82387265632251], + [-73.95972583260551, 40.82891384403722], + [-73.9487801962853, 40.83307564557507], [-73.93724145877377, 40.83618511653203] ] ] diff --git a/packages/turf-standard-deviational-ellipse/test/out/mta-stations-weighted.json b/packages/turf-standard-deviational-ellipse/test/out/mta-stations-weighted.json index 63f4f17c48..310b96b736 100644 --- a/packages/turf-standard-deviational-ellipse/test/out/mta-stations-weighted.json +++ b/packages/turf-standard-deviational-ellipse/test/out/mta-stations-weighted.json @@ -97,7 +97,7 @@ "semiMinorAxis": 0.095782813512421, "numberOfFeatures": 473, "angle": 29.231003681507175, - "percentageWithinEllipse": 60.25369978858351 + "percentageWithinEllipse": 60.46511627906977 }, "fill": "#FFF", "stroke": "#0A0", @@ -110,69 +110,69 @@ "coordinates": [ [ [-73.94306156958919, 40.82851663375227], - [-73.95405810197089, 40.825538492111384], - [-73.96429653058186, 40.82183803016683], - [-73.97374211217979, 40.81759155837238], - [-73.98240707285824, 40.81293837132372], - [-73.9903319890171, 40.80798175872484], - [-73.99757156074854, 40.802793488816725], - [-74.00418470241266, 40.79741939349629], - [-74.010228086431, 40.79188474308675], - [-74.01575211783936, 40.78619884623807], - [-74.02079844113352, 40.7803587514642], - [-74.02539828333009, 40.77435215339593], - [-74.02957112570353, 40.76815971098337], - [-74.0333233438265, 40.761757033109596], - [-74.03664656560842, 40.755116620830755], - [-74.03951558953443, 40.74821009779746], - [-74.04188580990989, 40.74101112044491], - [-74.04369025335959, 40.73349943122943], - [-74.04483659484667, 40.72566657156954], - [-74.0452049534197, 40.717523734913804], - [-74.04464790884657, 40.70911197986645], - [-74.04299497647753, 40.700514333829574], - [-74.04006444046145, 40.69186798508467], - [-74.03568528787514, 40.683372776896974], - [-74.02972994495666, 40.67529019030247], - [-74.02215377231241, 40.66792653924372], - [-74.01303070161622, 40.66159740493659], - [-74.00256984855237, 40.65657821946182], - [-73.99110083487884, 40.65305515103372], - [-73.97902759538314, 40.65109416846282], - [-73.96676527308936, 40.6506396241348], - [-73.9546819258918, 40.6515402943929], - [-73.94306156958919, 40.6535898935316], - [-73.93209293642069, 40.65656699420155], - [-73.92187812768898, 40.66026461491317], - [-73.91245155625072, 40.664506863838916], - [-73.90380102525427, 40.66915482437516], - [-73.89588619531355, 40.674105522793695], - [-73.88865269798016, 40.67928744222446], - [-73.88204197090916, 40.68465494494549], - [-73.87599767072307, 40.6901829090505], - [-73.87046967678378, 40.695862140682245], - [-73.8654165767467, 40.70169568382898], - [-73.86080732477153, 40.70769592418577], - [-73.85662257692096, 40.71388227997318], - [-73.85285606287853, 40.72027922458845], - [-73.8495162444406, 40.7269143522198], - [-73.84662841984422, 40.73381615506538], - [-73.84423732926848, 40.74101112044491], - [-73.8424101598948, 40.74851968383136], - [-73.84123958454407, 40.75635051952355], - [-73.84084603382779, 40.7644926855492], - [-73.84137775538325, 40.77290539817566], - [-73.84300640721783, 40.78150589943376], - [-73.84591525381745, 40.79015721395023], - [-73.85027717493846, 40.798659580496874], - [-73.8562217348102, 40.80675138235176], - [-73.86379533433629, 40.81412588117805], - [-73.87292512079203, 40.82046676968835], - [-73.88340197534528, 40.825497667869804], - [-73.89489504213849, 40.82903140652576], - [-73.90699813408398, 40.831001164702364], - [-73.91929334031246, 40.83146204083082], - [-73.93140989547123, 40.83056506436569], + [-73.93250187163055, 40.83042173868794], + [-73.92172190355805, 40.83138602062002], + [-73.91086860207837, 40.83130351058588], + [-73.90013649253149, 40.830084364386494], + [-73.88976299243795, 40.82767570829158], + [-73.88000745153236, 40.824082529890006], + [-73.87111561544488, 40.819378403724144], + [-73.86328189800415, 40.81369790984927], + [-73.85662637010755, 40.80721283541368], + [-73.85119414457307, 40.800103648245035], + [-73.84697145980961, 40.79253757513584], + [-73.84390723490802, 40.784657583613246], + [-73.84193171003619, 40.77657993138309], + [-73.84096948908683, 40.76839661612197], + [-73.84094731890777, 40.7601805698365], + [-73.84179776386273, 40.75198983881289], + [-73.84346105632287, 40.743870194707725], + [-73.84588486623268, 40.735861415393636], + [-73.84902442323177, 40.727996594767056], + [-73.85284147986032, 40.72030593639426], + [-73.85730393258189, 40.712817312526724], + [-73.86238438629218, 40.70555876514085], + [-73.86806003529199, 40.69855845608344], + [-73.87431147734463, 40.691846423345346], + [-73.88112216775777, 40.68545529573298], + [-73.88847733650023, 40.67942161538077], + [-73.89636272804456, 40.673787120752316], + [-73.90476408371197, 40.66859947342663], + [-73.91366284225208, 40.66391519952973], + [-73.92303674982944, 40.65979920147181], + [-73.93285197006227, 40.65632821660459], + [-73.94306156958918, 40.6535898935316], + [-73.95359293020586, 40.65168382882781], + [-73.96434335183237, 40.65071658720636], + [-73.97516729100074, 40.650794096514275], + [-73.98587188030149, 40.65200630338491], + [-73.99622148838984, 40.654406366095756], + [-74.0059584356409, 40.65798977007603], + [-74.01483823669335, 40.662683555873144], + [-74.02266710490791, 40.6683538066577], + [-74.02932491245859, 40.67482934204253], + [-74.03476592627878, 40.68193017107303], + [-74.03900292957158, 40.689489388432555], + [-74.04208586285179, 40.69736420454812], + [-74.0440833246329, 40.70543842509167], + [-74.0450696109285, 40.7136200324211], + [-74.0451169713696, 40.72183601745051], + [-74.04429194654413, 40.73002821855544], + [-74.04265351894308, 40.73815072418856], + [-74.04025332509825, 40.7461635997891], + [-74.03713553297509, 40.7540335842166], + [-74.03333786340326, 40.761730298638234], + [-74.02889196349508, 40.76922568980078], + [-74.02382483300366, 40.77649152865329], + [-74.01815894207326, 40.78349946123367], + [-74.01191341394136, 40.79021925137797], + [-74.00510457223635, 40.796618065770666], + [-73.99774702738506, 40.80265915050353], + [-73.9898549444628, 40.80830054743644], + [-73.981442571629, 40.81349436808423], + [-73.97252855972306, 40.81818385131744], + [-73.96313537165679, 40.82230385661797], + [-73.95329721120173, 40.825777408788156], [-73.94306156958919, 40.82851663375227] ] ] From f4ed1c5e78a43f737531e3759614b6a2746c254f Mon Sep 17 00:00:00 2001 From: hadrien Date: Mon, 4 Nov 2024 10:41:48 +0100 Subject: [PATCH 7/7] updates [turf-ellipse] the distribution of points along the circumference is now optional. The default value for accuracy (0) leads to the same result as previously. Using custom values for accuracy will distribute points along the circumference (which is more precise for "thin" ellipses, but more expensive). --- packages/turf-ellipse/index.ts | 72 +-- packages/turf-ellipse/test.ts | 11 +- .../test/out/anti-meridian-degrees.json | 240 ++++----- .../turf-ellipse/test/out/anti-meridian.json | 240 ++++----- .../test/out/northern-latitudes-degrees.json | 240 ++++----- .../test/out/northern-latitudes.json | 496 +++++++++--------- .../test/out/rotation-degrees.json | 248 ++++----- packages/turf-ellipse/test/out/rotation.json | 248 ++++----- .../turf-ellipse/test/out/simple-degrees.json | 240 ++++----- packages/turf-ellipse/test/out/simple.json | 240 ++++----- 10 files changed, 1145 insertions(+), 1130 deletions(-) diff --git a/packages/turf-ellipse/index.ts b/packages/turf-ellipse/index.ts index c0f2ba362f..8c7d36916a 100644 --- a/packages/turf-ellipse/index.ts +++ b/packages/turf-ellipse/index.ts @@ -56,7 +56,7 @@ function ellipse( const angle = options.angle || 0; const pivot = options.pivot || center; const properties = options.properties || {}; - const accuracy = options.accuracy || 3; + const accuracy = options.accuracy === undefined ? 0 : options.accuracy; // validation if (!center) throw new Error("center is required"); if (!xSemiAxis) throw new Error("xSemiAxis is required"); @@ -65,6 +65,10 @@ function ellipse( if (!isNumber(steps)) throw new Error("steps must be a number"); if (!isNumber(angle)) throw new Error("angle must be a number"); if (!isNumber(accuracy)) throw new Error("accuracy must be a number"); + if (accuracy !== 0 && accuracy < 1) + throw new Error( + "accuracy must either be equal to -1 or greater or equal to 1" + ); const internalSteps = Math.floor(Math.pow(accuracy, 2) * steps); @@ -89,43 +93,47 @@ function ellipse( let previousCoords = currentCoords; const cumulatedArcLength = [0]; const cumulatedAngle = [0]; - - for (let i = 1; i < internalSteps + 1; i += 1) { - previousCoords = currentCoords; - currentAngle = (360 * i) / internalSteps; - r = Math.sqrt( - (Math.pow(xSemiAxis, 2) * Math.pow(ySemiAxis, 2)) / - (Math.pow( - xSemiAxis * Math.cos(degreesToRadians(currentAngle - angle)), - 2 - ) + - Math.pow( - ySemiAxis * Math.sin(degreesToRadians(currentAngle - angle)), + let circumference = 0; + if (accuracy != 0) { + for (let i = 1; i < internalSteps + 1; i += 1) { + previousCoords = currentCoords; + currentAngle = (360 * i) / internalSteps; + r = Math.sqrt( + (Math.pow(xSemiAxis, 2) * Math.pow(ySemiAxis, 2)) / + (Math.pow( + xSemiAxis * Math.cos(degreesToRadians(currentAngle - angle)), 2 - )) - ); - currentCoords = getCoord( - destination(centerCoords, r, currentAngle, { units: units }) - ); - currentArcLength += distance(previousCoords, currentCoords); - cumulatedAngle.push(currentAngle); - cumulatedArcLength.push(currentArcLength); + ) + + Math.pow( + ySemiAxis * Math.sin(degreesToRadians(currentAngle - angle)), + 2 + )) + ); + currentCoords = getCoord( + destination(centerCoords, r, currentAngle, { units: units }) + ); + currentArcLength += distance(previousCoords, currentCoords); + cumulatedAngle.push(currentAngle); + cumulatedArcLength.push(currentArcLength); + } + circumference = cumulatedArcLength[cumulatedArcLength.length - 1]; } - const circumference = cumulatedArcLength[cumulatedArcLength.length - 1]; let j = 0; for (let i = 1; i < steps; i += 1) { - const targetArcLength = (i * circumference) / steps; - while (cumulatedArcLength[j] < targetArcLength) { - j += 1; + let angleNewPoint = (360 * i) / steps; + if (accuracy != 0) { + const targetArcLength = (i * circumference) / steps; + while (cumulatedArcLength[j] < targetArcLength) { + j += 1; + } + const ratio = + (targetArcLength - cumulatedArcLength[j - 1]) / + (cumulatedArcLength[j] - cumulatedArcLength[j - 1]); + angleNewPoint = + cumulatedAngle[j - 1] + + ratio * (cumulatedAngle[j] - cumulatedAngle[j - 1]); } - const ratio = - (targetArcLength - cumulatedArcLength[j - 1]) / - (cumulatedArcLength[j] - cumulatedArcLength[j - 1]); - const angleNewPoint = - cumulatedAngle[j - 1] + - ratio * (cumulatedAngle[j] - cumulatedAngle[j - 1]); - r = Math.sqrt( (Math.pow(xSemiAxis, 2) * Math.pow(ySemiAxis, 2)) / (Math.pow( diff --git a/packages/turf-ellipse/test.ts b/packages/turf-ellipse/test.ts index 7e6271ee59..12cdee9c26 100644 --- a/packages/turf-ellipse/test.ts +++ b/packages/turf-ellipse/test.ts @@ -34,9 +34,15 @@ test("turf-ellipse", (t) => { const name = fixture.name; const geojson = fixture.geojson; const center = geojson.geometry.coordinates; - let { xSemiAxis, ySemiAxis, steps, angle, units } = geojson.properties; + let { xSemiAxis, ySemiAxis, steps, angle, units, accuracy } = + geojson.properties; angle = angle || 0; - const options = { steps, angle, units }; + const options = { + steps: steps, + angle: angle, + units: units, + accuracy: accuracy, + }; const maxAxis = Math.max(xSemiAxis, ySemiAxis); const results = featureCollection([ @@ -51,6 +57,7 @@ test("turf-ellipse", (t) => { steps, angle: angle + 90, units, + accuracy: accuracy, }), "#0F0" ) diff --git a/packages/turf-ellipse/test/out/anti-meridian-degrees.json b/packages/turf-ellipse/test/out/anti-meridian-degrees.json index d36cbb1f52..207dc955e3 100644 --- a/packages/turf-ellipse/test/out/anti-meridian-degrees.json +++ b/packages/turf-ellipse/test/out/anti-meridian-degrees.json @@ -107,69 +107,69 @@ "coordinates": [ [ [-180, -7], - [-176.738849, -6.999277], - [-173.477813, -6.997315], - [-170.216821, -6.994743], - [-166.95618, -6.992655], - [-163.69532, -6.992682], - [-160.434971, -6.997114], - [-157.1736, -7.009093], - [-153.912019, -7.03292], - [-150.651306, -7.074538], - [-147.389796, -7.142453], - [-144.129317, -7.24924], - [-140.869431, -7.41491], - [-137.612939, -7.674292], - [-134.370698, -8.097871], - [-131.193938, -8.873656], + [-179.012909, -6.999932], + [-178.007657, -6.999726], + [-176.964769, -6.999372], + [-175.861944, -6.998853], + [-174.672095, -6.998147], + [-173.36058, -6.997228], + [-171.881019, -6.996076], + [-170.168666, -6.994705], + [-168.12949, -6.993261], + [-165.621642, -6.992297], + [-162.42371, -6.993735], + [-158.183237, -7.004346], + [-152.358412, -7.050082], + [-144.326578, -7.241357], + [-134.633424, -8.05423], [-128.744776, -10.832176], - [-130.085087, -13.650444], - [-132.686206, -15.685771], - [-135.569995, -17.374365], - [-138.601438, -18.853757], - [-141.736897, -20.175837], - [-144.956526, -21.3648], - [-148.250042, -22.433239], - [-151.607646, -23.386802], - [-155.024266, -24.22889], - [-158.492384, -24.960237], - [-162.004653, -25.580714], - [-165.555992, -26.090075], - [-169.138528, -26.487393], - [-172.745429, -26.771923], - [-176.368571, -26.94294], + [-132.913393, -15.833284], + [-141.929439, -20.251391], + [-150.000227, -22.946517], + [-156.092677, -24.46711], + [-160.62983, -25.351901], + [-164.098361, -25.895108], + [-166.841894, -26.24599], + [-169.085426, -26.482344], + [-170.976743, -26.646744], + [-172.615433, -26.763657], + [-174.070866, -26.847757], + [-175.393155, -26.908141], + [-176.619973, -26.950571], + [-177.78092, -26.9787], + [-178.900458, -26.994771], [-180, -27], - [-183.631429, -26.94294], - [-187.254571, -26.771923], - [-190.861472, -26.487393], - [-194.444008, -26.090075], - [-197.995347, -25.580714], - [-201.507616, -24.960237], - [-204.975734, -24.22889], - [-208.392354, -23.386802], - [-211.749958, -22.433239], - [-215.043474, -21.3648], - [-218.263103, -20.175837], - [-221.398562, -18.853757], - [-224.430005, -17.374365], - [-227.313794, -15.685771], - [-229.914913, -13.650444], + [-181.099542, -26.994771], + [-182.21908, -26.9787], + [-183.380027, -26.950571], + [-184.606845, -26.908141], + [-185.929134, -26.847757], + [-187.384567, -26.763657], + [-189.023257, -26.646744], + [-190.914574, -26.482344], + [-193.158106, -26.24599], + [-195.901639, -25.895108], + [-199.37017, -25.351901], + [-203.907323, -24.46711], + [-209.999773, -22.946517], + [-218.070561, -20.251391], + [-227.086607, -15.833284], [-231.255224, -10.832176], - [-228.806062, -8.873656], - [-225.629302, -8.097871], - [-222.387061, -7.674292], - [-219.130569, -7.41491], - [-215.870683, -7.24924], - [-212.610204, -7.142453], - [-209.348694, -7.074538], - [-206.087981, -7.03292], - [-202.8264, -7.009093], - [-199.565029, -6.997114], - [-196.30468, -6.992682], - [-193.04382, -6.992655], - [-189.783179, -6.994743], - [-186.522187, -6.997315], - [-183.261151, -6.999277], + [-225.366576, -8.05423], + [-215.673422, -7.241357], + [-207.641588, -7.050082], + [-201.816763, -7.004346], + [-197.57629, -6.993735], + [-194.378358, -6.992297], + [-191.87051, -6.993261], + [-189.831334, -6.994705], + [-188.118981, -6.996076], + [-186.63942, -6.997228], + [-185.327905, -6.998147], + [-184.138056, -6.998853], + [-183.035231, -6.999372], + [-181.992343, -6.999726], + [-180.987091, -6.999932], [-180, -7] ] ] @@ -188,69 +188,69 @@ "coordinates": [ [ [-180, 33], - [-177.140393, 31.055266], - [-175.597566, 28.11005], - [-174.534874, 25.013207], - [-173.72227, 21.861462], - [-173.066567, 18.682944], - [-172.519156, 15.488953], - [-172.050878, 12.283875], - [-171.64316, 9.072469], - [-171.282867, 5.855031], - [-170.960895, 2.633936], - [-170.670524, -0.589097], - [-170.406554, -3.814932], - [-170.165253, -7.042382], - [-169.943765, -10.271676], - [-169.740098, -13.502271], + [-175.497882, 27.861418], + [-173.030729, 18.490068], + [-171.830809, 10.60333], + [-171.179456, 4.858227], + [-170.780383, 0.668263], + [-170.511657, -2.494484], + [-170.317281, -4.976107], + [-170.168666, -6.994705], + [-170.049885, -8.690233], + [-169.951409, -10.15556], + [-169.867192, -11.454674], + [-169.7932, -12.633439], + [-169.726611, -13.726124], + [-169.665366, -14.759536], + [-169.607893, -15.755753], [-169.55293, -16.734064], - [-169.381609, -19.966817], - [-169.226157, -23.200324], - [-169.087344, -26.434579], - [-168.966868, -29.669207], - [-168.867575, -32.904694], - [-168.79396, -36.140205], - [-168.752764, -39.377096], - [-168.754199, -42.614301], - [-168.813714, -45.850315], - [-168.955371, -49.086046], - [-169.217769, -52.318336], - [-169.666488, -55.545023], - [-170.421106, -58.757802], - [-171.726422, -61.932319], - [-174.201492, -64.97435], + [-169.499415, -17.712463], + [-169.446396, -18.70895], + [-169.39297, -19.742835], + [-169.338231, -20.836238], + [-169.281216, -22.016028], + [-169.220871, -23.316582], + [-169.156026, -24.783931], + [-169.085426, -26.482344], + [-169.007959, -28.505179], + [-168.923458, -30.993289], + [-168.835498, -34.16656], + [-168.761519, -38.375012], + [-168.77409, -44.156217], + [-169.197442, -52.122889], + [-171.589247, -61.67665], [-180, -67], - [-185.798508, -64.97435], - [-188.273578, -61.932319], - [-189.578894, -58.757802], - [-190.333512, -55.545023], - [-190.782231, -52.318336], - [-191.044629, -49.086046], - [-191.186286, -45.850315], - [-191.245801, -42.614301], - [-191.247236, -39.377096], - [-191.20604, -36.140205], - [-191.132425, -32.904694], - [-191.033132, -29.669207], - [-190.912656, -26.434579], - [-190.773843, -23.200324], - [-190.618391, -19.966817], + [-188.410753, -61.67665], + [-190.802558, -52.122889], + [-191.22591, -44.156217], + [-191.238481, -38.375012], + [-191.164502, -34.16656], + [-191.076542, -30.993289], + [-190.992041, -28.505179], + [-190.914574, -26.482344], + [-190.843974, -24.783931], + [-190.779129, -23.316582], + [-190.718784, -22.016028], + [-190.661769, -20.836238], + [-190.60703, -19.742835], + [-190.553604, -18.70895], + [-190.500585, -17.712463], [-190.44707, -16.734064], - [-190.259902, -13.502271], - [-190.056235, -10.271676], - [-189.834747, -7.042382], - [-189.593446, -3.814932], - [-189.329476, -0.589097], - [-189.039105, 2.633936], - [-188.717133, 5.855031], - [-188.35684, 9.072469], - [-187.949122, 12.283875], - [-187.480844, 15.488953], - [-186.933433, 18.682944], - [-186.27773, 21.861462], - [-185.465126, 25.013207], - [-184.402434, 28.11005], - [-182.859607, 31.055266], + [-190.392107, -15.755753], + [-190.334634, -14.759536], + [-190.273389, -13.726124], + [-190.2068, -12.633439], + [-190.132808, -11.454674], + [-190.048591, -10.15556], + [-189.950115, -8.690233], + [-189.831334, -6.994705], + [-189.682719, -4.976107], + [-189.488343, -2.494484], + [-189.219617, 0.668263], + [-188.820544, 4.858227], + [-188.169191, 10.60333], + [-186.969271, 18.490068], + [-184.502118, 27.861418], [-180, 33] ] ] diff --git a/packages/turf-ellipse/test/out/anti-meridian.json b/packages/turf-ellipse/test/out/anti-meridian.json index a28306f6b4..95ea7347f1 100644 --- a/packages/turf-ellipse/test/out/anti-meridian.json +++ b/packages/turf-ellipse/test/out/anti-meridian.json @@ -106,69 +106,69 @@ "coordinates": [ [ [-180, -16.910068], - [-179.969147, -16.91026], - [-179.938301, -16.910837], - [-179.907465, -16.911807], - [-179.876645, -16.913184], - [-179.845849, -16.914985], - [-179.815086, -16.917237], - [-179.78437, -16.919978], - [-179.753713, -16.923255], - [-179.723142, -16.927138], - [-179.692644, -16.931729], - [-179.662326, -16.937161], - [-179.632213, -16.943665], - [-179.602471, -16.951615], - [-179.573457, -16.961746], - [-179.546444, -16.975819], + [-179.990744, -16.910085], + [-179.981318, -16.910138], + [-179.971539, -16.910231], + [-179.961198, -16.910371], + [-179.950043, -16.910571], + [-179.937747, -16.910851], + [-179.923877, -16.911241], + [-179.907828, -16.911794], + [-179.888721, -16.912595], + [-179.86523, -16.9138], + [-179.835293, -16.915705], + [-179.795638, -16.918912], + [-179.741283, -16.924755], + [-179.666722, -16.936311], + [-179.57826, -16.959835], [-179.529795, -16.999461], - [-179.54633, -17.023177], - [-179.573285, -17.037365], - [-179.602268, -17.047614], - [-179.631994, -17.055675], - [-179.662101, -17.062282], - [-179.692421, -17.06781], - [-179.722927, -17.072488], - [-179.753512, -17.076448], - [-179.784186, -17.079795], - [-179.814922, -17.082596], - [-179.845709, -17.084899], - [-179.876531, -17.086742], - [-179.907378, -17.088151], - [-179.938243, -17.089144], - [-179.969118, -17.089736], + [-179.578081, -17.039297], + [-179.666496, -17.063146], + [-179.741075, -17.074918], + [-179.795461, -17.080884], + [-179.835145, -17.084162], + [-179.865106, -17.086111], + [-179.888617, -17.087345], + [-179.907742, -17.088165], + [-179.923805, -17.08873], + [-179.937688, -17.08913], + [-179.949995, -17.089416], + [-179.961161, -17.089621], + [-179.971512, -17.089765], + [-179.9813, -17.08986], + [-179.990735, -17.089914], [-180, -17.089932], - [-180.030882, -17.089736], - [-180.061757, -17.089144], - [-180.092622, -17.088151], - [-180.123469, -17.086742], - [-180.154291, -17.084899], - [-180.185078, -17.082596], - [-180.215814, -17.079795], - [-180.246488, -17.076448], - [-180.277073, -17.072488], - [-180.307579, -17.06781], - [-180.337899, -17.062282], - [-180.368006, -17.055675], - [-180.397732, -17.047614], - [-180.426715, -17.037365], - [-180.45367, -17.023177], + [-180.009265, -17.089914], + [-180.0187, -17.08986], + [-180.028488, -17.089765], + [-180.038839, -17.089621], + [-180.050005, -17.089416], + [-180.062312, -17.08913], + [-180.076195, -17.08873], + [-180.092258, -17.088165], + [-180.111383, -17.087345], + [-180.134894, -17.086111], + [-180.164855, -17.084162], + [-180.204539, -17.080884], + [-180.258925, -17.074918], + [-180.333504, -17.063146], + [-180.421919, -17.039297], [-180.470205, -16.999461], - [-180.453556, -16.975819], - [-180.426543, -16.961746], - [-180.397529, -16.951615], - [-180.367787, -16.943665], - [-180.337674, -16.937161], - [-180.307356, -16.931729], - [-180.276858, -16.927138], - [-180.246287, -16.923255], - [-180.21563, -16.919978], - [-180.184914, -16.917237], - [-180.154151, -16.914985], - [-180.123355, -16.913184], - [-180.092535, -16.911807], - [-180.061699, -16.910837], - [-180.030853, -16.91026], + [-180.42174, -16.959835], + [-180.333278, -16.936311], + [-180.258717, -16.924755], + [-180.204362, -16.918912], + [-180.164707, -16.915705], + [-180.13477, -16.9138], + [-180.111279, -16.912595], + [-180.092172, -16.911794], + [-180.076123, -16.911241], + [-180.062253, -16.910851], + [-180.049957, -16.910571], + [-180.038802, -16.910371], + [-180.028461, -16.910231], + [-180.018682, -16.910138], + [-180.009256, -16.910085], [-180, -16.910068] ] ] @@ -187,69 +187,69 @@ "coordinates": [ [ [-180, -16.55034], - [-179.975295, -16.566206], - [-179.960548, -16.592008], - [-179.949908, -16.619738], - [-179.941544, -16.64817], - [-179.934692, -16.676962], - [-179.928961, -16.705955], - [-179.924111, -16.735122], - [-179.920003, -16.764363], - [-179.916531, -16.793687], - [-179.913624, -16.823069], - [-179.911231, -16.852499], - [-179.909313, -16.881961], - [-179.907843, -16.911446], - [-179.906802, -16.940948], - [-179.906176, -16.97046], + [-179.958542, -16.596598], + [-179.933796, -16.681166], + [-179.921591, -16.752473], + [-179.915402, -16.804466], + [-179.911996, -16.8424], + [-179.90997, -16.87104], + [-179.908685, -16.893513], + [-179.907828, -16.911794], + [-179.907237, -16.927148], + [-179.906817, -16.940418], + [-179.906515, -16.952181], + [-179.906298, -16.962855], + [-179.906145, -16.972748], + [-179.906042, -16.982104], + [-179.905981, -16.991123], [-179.905959, -16.999978], - [-179.906147, -17.029497], - [-179.906743, -17.059009], - [-179.907756, -17.088512], - [-179.909198, -17.117999], - [-179.911091, -17.147463], - [-179.913461, -17.176894], - [-179.916347, -17.206279], - [-179.919802, -17.235606], - [-179.923896, -17.26485], - [-179.928738, -17.29402], - [-179.934467, -17.323017], - [-179.941324, -17.351813], - [-179.949704, -17.38025], - [-179.960375, -17.407984], - [-179.975181, -17.433791], + [-179.905973, -17.008834], + [-179.906024, -17.017853], + [-179.906118, -17.027209], + [-179.906261, -17.037102], + [-179.906468, -17.047776], + [-179.906758, -17.05954], + [-179.907164, -17.07281], + [-179.907742, -17.088165], + [-179.908581, -17.106446], + [-179.909846, -17.128921], + [-179.911848, -17.157562], + [-179.915225, -17.195499], + [-179.921383, -17.247497], + [-179.933571, -17.318813], + [-179.958363, -17.403394], [-180, -17.44966], - [-180.024819, -17.433791], - [-180.039625, -17.407984], - [-180.050296, -17.38025], - [-180.058676, -17.351813], - [-180.065533, -17.323017], - [-180.071262, -17.29402], - [-180.076104, -17.26485], - [-180.080198, -17.235606], - [-180.083653, -17.206279], - [-180.086539, -17.176894], - [-180.088909, -17.147463], - [-180.090802, -17.117999], - [-180.092244, -17.088512], - [-180.093257, -17.059009], - [-180.093853, -17.029497], + [-180.041637, -17.403394], + [-180.066429, -17.318813], + [-180.078617, -17.247497], + [-180.084775, -17.195499], + [-180.088152, -17.157562], + [-180.090154, -17.128921], + [-180.091419, -17.106446], + [-180.092258, -17.088165], + [-180.092836, -17.07281], + [-180.093242, -17.05954], + [-180.093532, -17.047776], + [-180.093739, -17.037102], + [-180.093882, -17.027209], + [-180.093976, -17.017853], + [-180.094027, -17.008834], [-180.094041, -16.999978], - [-180.093824, -16.97046], - [-180.093198, -16.940948], - [-180.092157, -16.911446], - [-180.090687, -16.881961], - [-180.088769, -16.852499], - [-180.086376, -16.823069], - [-180.083469, -16.793687], - [-180.079997, -16.764363], - [-180.075889, -16.735122], - [-180.071039, -16.705955], - [-180.065308, -16.676962], - [-180.058456, -16.64817], - [-180.050092, -16.619738], - [-180.039452, -16.592008], - [-180.024705, -16.566206], + [-180.094019, -16.991123], + [-180.093958, -16.982104], + [-180.093855, -16.972748], + [-180.093702, -16.962855], + [-180.093485, -16.952181], + [-180.093183, -16.940418], + [-180.092763, -16.927148], + [-180.092172, -16.911794], + [-180.091315, -16.893513], + [-180.09003, -16.87104], + [-180.088004, -16.8424], + [-180.084598, -16.804466], + [-180.078409, -16.752473], + [-180.066204, -16.681166], + [-180.041458, -16.596598], [-180, -16.55034] ] ] diff --git a/packages/turf-ellipse/test/out/northern-latitudes-degrees.json b/packages/turf-ellipse/test/out/northern-latitudes-degrees.json index 4adeb03fc3..5d2e48bfda 100644 --- a/packages/turf-ellipse/test/out/northern-latitudes-degrees.json +++ b/packages/turf-ellipse/test/out/northern-latitudes-degrees.json @@ -107,69 +107,69 @@ "coordinates": [ [ [-94, 75], - [-92.732364, 74.994347], - [-91.467224, 74.977378], - [-90.206926, 74.949048], - [-88.954005, 74.909285], - [-87.710964, 74.857974], - [-86.480458, 74.79495], - [-85.265314, 74.719977], - [-84.068453, 74.632711], - [-82.893345, 74.532667], - [-81.742368, 74.418948], - [-80.622763, 74.290636], - [-79.539597, 74.145671], - [-78.504849, 73.980908], - [-77.541475, 73.790115], - [-76.716888, 73.559306], + [-93.619562, 74.999491], + [-93.23219, 74.997927], + [-92.830459, 74.995189], + [-92.405882, 74.991057], + [-91.948183, 74.985171], + [-91.444274, 74.976964], + [-90.876728, 74.965539], + [-90.221393, 74.949439], + [-89.443545, 74.926222], + [-88.491569, 74.891604], + [-87.286733, 74.837656], + [-85.708642, 74.748857], + [-83.587401, 74.593574], + [-80.782425, 74.310143], + [-77.696048, 73.824318], [-76.390304, 73.256451], - [-77.23253, 73.054322], - [-78.323267, 72.980171], - [-79.43903, 72.947858], - [-80.557737, 72.934823], - [-81.676441, 72.932225], - [-82.794253, 72.935627], - [-83.913245, 72.942469], - [-85.03141, 72.9511], - [-86.150374, 72.960422], - [-87.270054, 72.969649], - [-88.390492, 72.978216], - [-89.511572, 72.985704], - [-90.633174, 72.991808], - [-91.755212, 72.996313], - [-92.877504, 72.999071], + [-78.509514, 72.972764], + [-81.837951, 72.93242], + [-84.57627, 72.94745], + [-86.560594, 72.963848], + [-88.005543, 72.975376], + [-89.095606, 72.983073], + [-89.950674, 72.988272], + [-90.646085, 72.99187], + [-91.230126, 72.994415], + [-91.734822, 72.996246], + [-92.182231, 72.997574], + [-92.588159, 72.998533], + [-92.964414, 72.999209], + [-93.32023, 72.999659], + [-93.663212, 72.999916], [-94, 73], - [-95.122496, 72.999071], - [-96.244788, 72.996313], - [-97.366826, 72.991808], - [-98.488428, 72.985704], - [-99.609508, 72.978216], - [-100.729946, 72.969649], - [-101.849626, 72.960422], - [-102.96859, 72.9511], - [-104.086755, 72.942469], - [-105.205747, 72.935627], - [-106.323559, 72.932225], - [-107.442263, 72.934823], - [-108.56097, 72.947858], - [-109.676733, 72.980171], - [-110.76747, 73.054322], + [-94.336788, 72.999916], + [-94.67977, 72.999659], + [-95.035586, 72.999209], + [-95.411841, 72.998533], + [-95.817769, 72.997574], + [-96.265178, 72.996246], + [-96.769874, 72.994415], + [-97.353915, 72.99187], + [-98.049326, 72.988272], + [-98.904394, 72.983073], + [-99.994457, 72.975376], + [-101.439406, 72.963848], + [-103.42373, 72.94745], + [-106.162049, 72.93242], + [-109.490486, 72.972764], [-111.609696, 73.256451], - [-111.283112, 73.559306], - [-110.458525, 73.790115], - [-109.495151, 73.980908], - [-108.460403, 74.145671], - [-107.377237, 74.290636], - [-106.257632, 74.418948], - [-105.106655, 74.532667], - [-103.931547, 74.632711], - [-102.734686, 74.719977], - [-101.519542, 74.79495], - [-100.289036, 74.857974], - [-99.045995, 74.909285], - [-97.793074, 74.949048], - [-96.532776, 74.977378], - [-95.267636, 74.994347], + [-110.303952, 73.824318], + [-107.217575, 74.310143], + [-104.412599, 74.593574], + [-102.291358, 74.748857], + [-100.713267, 74.837656], + [-99.508431, 74.891604], + [-98.556455, 74.926222], + [-97.778607, 74.949439], + [-97.123272, 74.965539], + [-96.555726, 74.976964], + [-96.051817, 74.985171], + [-95.594118, 74.991057], + [-95.169541, 74.995189], + [-94.76781, 74.997927], + [-94.380438, 74.999491], [-94, 75] ] ] @@ -188,69 +188,69 @@ "coordinates": [ [ [-94, 79], - [-92.642755, 78.820358], - [-91.887129, 78.52885], - [-91.387519, 78.216186], - [-91.030707, 77.896166], - [-90.767656, 77.572632], - [-90.572266, 77.247346], - [-90.428272, 76.920561], - [-90.325359, 76.593387], - [-90.255878, 76.265685], - [-90.214385, 75.937696], - [-90.196753, 75.609545], - [-90.199802, 75.281356], - [-90.22105, 74.953214], - [-90.258547, 74.625172], - [-90.310762, 74.297294], + [-91.79007, 78.477336], + [-90.735712, 77.525732], + [-90.362839, 76.726612], + [-90.237667, 76.145519], + [-90.200333, 75.722275], + [-90.196428, 75.403106], + [-90.206072, 75.152864], + [-90.221393, 74.949439], + [-90.239084, 74.778659], + [-90.25773, 74.631131], + [-90.276752, 74.50039], + [-90.295964, 74.381803], + [-90.315383, 74.271913], + [-90.335135, 74.168017], + [-90.355424, 74.067892], [-90.376515, 73.969595], - [-90.454911, 73.642133], - [-90.545311, 73.314965], - [-90.647324, 72.98811], - [-90.760781, 72.661637], - [-90.885764, 72.335606], - [-91.022619, 72.010113], - [-91.172008, 71.685289], - [-91.335023, 71.361274], - [-91.513297, 71.038322], - [-91.709592, 70.716314], - [-91.927376, 70.396362], - [-92.173209, 70.078733], - [-92.457798, 69.765173], - [-92.802602, 69.459447], - [-93.259853, 69.174996], + [-90.398742, 73.871321], + [-90.422526, 73.77126], + [-90.448406, 73.667479], + [-90.477087, 73.557762], + [-90.509528, 73.439421], + [-90.547062, 73.309023], + [-90.591616, 73.161975], + [-90.646085, 72.99187], + [-90.714994, 72.789418], + [-90.80579, 72.54063], + [-90.931409, 72.223733], + [-91.115751, 71.804235], + [-91.405614, 71.229702], + [-91.894369, 70.442456], + [-92.739109, 69.509774], [-94, 69], - [-94.740147, 69.174996], - [-95.197398, 69.459447], - [-95.542202, 69.765173], - [-95.826791, 70.078733], - [-96.072624, 70.396362], - [-96.290408, 70.716314], - [-96.486703, 71.038322], - [-96.664977, 71.361274], - [-96.827992, 71.685289], - [-96.977381, 72.010113], - [-97.114236, 72.335606], - [-97.239219, 72.661637], - [-97.352676, 72.98811], - [-97.454689, 73.314965], - [-97.545089, 73.642133], + [-95.260891, 69.509774], + [-96.105631, 70.442456], + [-96.594386, 71.229702], + [-96.884249, 71.804235], + [-97.068591, 72.223733], + [-97.19421, 72.54063], + [-97.285006, 72.789418], + [-97.353915, 72.99187], + [-97.408384, 73.161975], + [-97.452938, 73.309023], + [-97.490472, 73.439421], + [-97.522913, 73.557762], + [-97.551594, 73.667479], + [-97.577474, 73.77126], + [-97.601258, 73.871321], [-97.623485, 73.969595], - [-97.689238, 74.297294], - [-97.741453, 74.625172], - [-97.77895, 74.953214], - [-97.800198, 75.281356], - [-97.803247, 75.609545], - [-97.785615, 75.937696], - [-97.744122, 76.265685], - [-97.674641, 76.593387], - [-97.571728, 76.920561], - [-97.427734, 77.247346], - [-97.232344, 77.572632], - [-96.969293, 77.896166], - [-96.612481, 78.216186], - [-96.112871, 78.52885], - [-95.357245, 78.820358], + [-97.644576, 74.067892], + [-97.664865, 74.168017], + [-97.684617, 74.271913], + [-97.704036, 74.381803], + [-97.723248, 74.50039], + [-97.74227, 74.631131], + [-97.760916, 74.778659], + [-97.778607, 74.949439], + [-97.793928, 75.152864], + [-97.803572, 75.403106], + [-97.799667, 75.722275], + [-97.762333, 76.145519], + [-97.637161, 76.726612], + [-97.264288, 77.525732], + [-96.20993, 78.477336], [-94, 79] ] ] diff --git a/packages/turf-ellipse/test/out/northern-latitudes.json b/packages/turf-ellipse/test/out/northern-latitudes.json index 5998f39ec3..bb3ee43d60 100644 --- a/packages/turf-ellipse/test/out/northern-latitudes.json +++ b/packages/turf-ellipse/test/out/northern-latitudes.json @@ -171,133 +171,133 @@ "coordinates": [ [ [-94, 74.089932], - [-93.946153, 74.089877], - [-93.89231, 74.089711], - [-93.838474, 74.089435], - [-93.784648, 74.089047], - [-93.730836, 74.088546], - [-93.677043, 74.087931], - [-93.623267, 74.087201], - [-93.569522, 74.086352], - [-93.515807, 74.085383], - [-93.462123, 74.084291], - [-93.408487, 74.083071], - [-93.354885, 74.08172], - [-93.301351, 74.080233], - [-93.247865, 74.078605], - [-93.194457, 74.076828], - [-93.141121, 74.074895], - [-93.087865, 74.072797], - [-93.034712, 74.070522], - [-92.981702, 74.06806], - [-92.928819, 74.065392], - [-92.876096, 74.062501], - [-92.823556, 74.059362], - [-92.771271, 74.055946], - [-92.719288, 74.052215], - [-92.667682, 74.048116], - [-92.616579, 74.04358], - [-92.566167, 74.038505], - [-92.516764, 74.032737], - [-92.468953, 74.026022], - [-92.424224, 74.017926], - [-92.386329, 74.007528], + [-93.983884, 74.089927], + [-93.967695, 74.089912], + [-93.951358, 74.089887], + [-93.934796, 74.089851], + [-93.917927, 74.089804], + [-93.900666, 74.089744], + [-93.882918, 74.089671], + [-93.864578, 74.089583], + [-93.84553, 74.089477], + [-93.825645, 74.089353], + [-93.804771, 74.089205], + [-93.782737, 74.089031], + [-93.759339, 74.088826], + [-93.73434, 74.088582], + [-93.707455, 74.088293], + [-93.678343, 74.087948], + [-93.646589, 74.087532], + [-93.611684, 74.087028], + [-93.573, 74.086411], + [-93.529753, 74.085647], + [-93.480958, 74.084688], + [-93.425374, 74.083469], + [-93.361437, 74.081893], + [-93.287193, 74.079817], + [-93.200269, 74.077029], + [-93.097984, 74.073209], + [-92.977842, 74.067872], + [-92.838987, 74.060312], + [-92.685634, 74.049591], + [-92.533238, 74.034767], + [-92.41405, 74.015643], [-92.36906, 73.993848], - [-92.388986, 73.980446], - [-92.428754, 73.970621], - [-92.474798, 73.963176], - [-92.523573, 73.957133], - [-92.573692, 73.952036], - [-92.624635, 73.947619], - [-92.67612, 73.943726], - [-92.727985, 73.94025], - [-92.780125, 73.937121], - [-92.832478, 73.934286], - [-92.885008, 73.931703], - [-92.937652, 73.929345], - [-92.990396, 73.927185], - [-93.043212, 73.925207], - [-93.096122, 73.92339], - [-93.149091, 73.921725], - [-93.2021, 73.920199], - [-93.255146, 73.918804], - [-93.308236, 73.917531], - [-93.361345, 73.916375], - [-93.414496, 73.915327], - [-93.467657, 73.914385], - [-93.520845, 73.913544], - [-93.574046, 73.9128], - [-93.62726, 73.91215], - [-93.68049, 73.911591], - [-93.733727, 73.911122], - [-93.786972, 73.910741], - [-93.840224, 73.910446], - [-93.89348, 73.910236], - [-93.946739, 73.91011], + [-92.418184, 73.972753], + [-92.540312, 73.955329], + [-92.694176, 73.94247], + [-92.847913, 73.933501], + [-92.986548, 73.927337], + [-93.10619, 73.923063], + [-93.207874, 73.920041], + [-93.294185, 73.917857], + [-93.367843, 73.916241], + [-93.431236, 73.915019], + [-93.48632, 73.914079], + [-93.534659, 73.913341], + [-93.57749, 73.912755], + [-93.615792, 73.912282], + [-93.650347, 73.911897], + [-93.681777, 73.911579], + [-93.710589, 73.911315], + [-93.737194, 73.911095], + [-93.761931, 73.91091], + [-93.785082, 73.910753], + [-93.806882, 73.910621], + [-93.827532, 73.910508], + [-93.847205, 73.910413], + [-93.866047, 73.910333], + [-93.884189, 73.910266], + [-93.901746, 73.910211], + [-93.91882, 73.910165], + [-93.935505, 73.910129], + [-93.951887, 73.910102], + [-93.968046, 73.910083], + [-93.984059, 73.910072], [-94, 73.910068], - [-94.053261, 73.91011], - [-94.10652, 73.910236], - [-94.159776, 73.910446], - [-94.213028, 73.910741], - [-94.266273, 73.911122], - [-94.31951, 73.911591], - [-94.37274, 73.91215], - [-94.425954, 73.9128], - [-94.479155, 73.913544], - [-94.532343, 73.914385], - [-94.585504, 73.915327], - [-94.638655, 73.916375], - [-94.691764, 73.917531], - [-94.744854, 73.918804], - [-94.7979, 73.920199], - [-94.850909, 73.921725], - [-94.903878, 73.92339], - [-94.956788, 73.925207], - [-95.009604, 73.927185], - [-95.062348, 73.929345], - [-95.114992, 73.931703], - [-95.167522, 73.934286], - [-95.219875, 73.937121], - [-95.272015, 73.94025], - [-95.32388, 73.943726], - [-95.375365, 73.947619], - [-95.426308, 73.952036], - [-95.476427, 73.957133], - [-95.525202, 73.963176], - [-95.571246, 73.970621], - [-95.611014, 73.980446], + [-94.015941, 73.910072], + [-94.031954, 73.910083], + [-94.048113, 73.910102], + [-94.064495, 73.910129], + [-94.08118, 73.910165], + [-94.098254, 73.910211], + [-94.115811, 73.910266], + [-94.133953, 73.910333], + [-94.152795, 73.910413], + [-94.172468, 73.910508], + [-94.193118, 73.910621], + [-94.214918, 73.910753], + [-94.238069, 73.91091], + [-94.262806, 73.911095], + [-94.289411, 73.911315], + [-94.318223, 73.911579], + [-94.349653, 73.911897], + [-94.384208, 73.912282], + [-94.42251, 73.912755], + [-94.465341, 73.913341], + [-94.51368, 73.914079], + [-94.568764, 73.915019], + [-94.632157, 73.916241], + [-94.705815, 73.917857], + [-94.792126, 73.920041], + [-94.89381, 73.923063], + [-95.013452, 73.927337], + [-95.152087, 73.933501], + [-95.305824, 73.94247], + [-95.459688, 73.955329], + [-95.581816, 73.972753], [-95.63094, 73.993848], - [-95.613671, 74.007528], - [-95.575776, 74.017926], - [-95.531047, 74.026022], - [-95.483236, 74.032737], - [-95.433833, 74.038505], - [-95.383421, 74.04358], - [-95.332318, 74.048116], - [-95.280712, 74.052215], - [-95.228729, 74.055946], - [-95.176444, 74.059362], - [-95.123904, 74.062501], - [-95.071181, 74.065392], - [-95.018298, 74.06806], - [-94.965288, 74.070522], - [-94.912135, 74.072797], - [-94.858879, 74.074895], - [-94.805543, 74.076828], - [-94.752135, 74.078605], - [-94.698649, 74.080233], - [-94.645115, 74.08172], - [-94.591513, 74.083071], - [-94.537877, 74.084291], - [-94.484193, 74.085383], - [-94.430478, 74.086352], - [-94.376733, 74.087201], - [-94.322957, 74.087931], - [-94.269164, 74.088546], - [-94.215352, 74.089047], - [-94.161526, 74.089435], - [-94.10769, 74.089711], - [-94.053847, 74.089877], + [-95.58595, 74.015643], + [-95.466762, 74.034767], + [-95.314366, 74.049591], + [-95.161013, 74.060312], + [-95.022158, 74.067872], + [-94.902016, 74.073209], + [-94.799731, 74.077029], + [-94.712807, 74.079817], + [-94.638563, 74.081893], + [-94.574626, 74.083469], + [-94.519042, 74.084688], + [-94.470247, 74.085647], + [-94.427, 74.086411], + [-94.388316, 74.087028], + [-94.353411, 74.087532], + [-94.321657, 74.087948], + [-94.292545, 74.088293], + [-94.26566, 74.088582], + [-94.240661, 74.088826], + [-94.217263, 74.089031], + [-94.195229, 74.089205], + [-94.174355, 74.089353], + [-94.15447, 74.089477], + [-94.135422, 74.089583], + [-94.117082, 74.089671], + [-94.099334, 74.089744], + [-94.082073, 74.089804], + [-94.065204, 74.089851], + [-94.048642, 74.089887], + [-94.032305, 74.089912], + [-94.016116, 74.089927], [-94, 74.089932] ] ] @@ -316,133 +316,133 @@ "coordinates": [ [ [-94, 74.44966], - [-93.949488, 74.444524], - [-93.911829, 74.433801], - [-93.882958, 74.421268], - [-93.859316, 74.407934], - [-93.839241, 74.394195], - [-93.821755, 74.380205], - [-93.806271, 74.366046], - [-93.792404, 74.351766], - [-93.779885, 74.337396], - [-93.768516, 74.322958], - [-93.758148, 74.30846], - [-93.748673, 74.293923], - [-93.739996, 74.279351], - [-93.732045, 74.264752], - [-93.724755, 74.250122], - [-93.71808, 74.23547], - [-93.71198, 74.220803], - [-93.706417, 74.206122], - [-93.70136, 74.191425], - [-93.696785, 74.176719], - [-93.692668, 74.161999], - [-93.688992, 74.147274], - [-93.685739, 74.13254], - [-93.682896, 74.1178], - [-93.680449, 74.103055], - [-93.678388, 74.088304], - [-93.676705, 74.073551], - [-93.675392, 74.058794], - [-93.674442, 74.044036], - [-93.673852, 74.029276], - [-93.673616, 74.014515], + [-93.920044, 74.436665], + [-93.852226, 74.403349], + [-93.801266, 74.361076], + [-93.765368, 74.318699], + [-93.740603, 74.280414], + [-93.72344, 74.247338], + [-93.711348, 74.219205], + [-93.70265, 74.195315], + [-93.696258, 74.17492], + [-93.691464, 74.157363], + [-93.687803, 74.142105], + [-93.684962, 74.128713], + [-93.682725, 74.116846], + [-93.680943, 74.106233], + [-93.679508, 74.096658], + [-93.678343, 74.087948], + [-93.67739, 74.079963], + [-93.676608, 74.07259], + [-93.675963, 74.065734], + [-93.675432, 74.059318], + [-93.674994, 74.053277], + [-93.674636, 74.047553], + [-93.674344, 74.042101], + [-93.674111, 74.036879], + [-93.673929, 74.031851], + [-93.673792, 74.026985], + [-93.673696, 74.022253], + [-93.673637, 74.017628], + [-93.673612, 74.013088], + [-93.673621, 74.00861], + [-93.673662, 74.004172], [-93.673734, 73.999754], - [-93.674202, 73.984993], - [-93.675022, 73.970234], - [-93.676192, 73.955477], - [-93.677716, 73.940722], - [-93.679596, 73.92597], - [-93.681836, 73.911223], - [-93.684442, 73.896479], - [-93.687419, 73.881742], - [-93.690778, 73.867011], - [-93.694527, 73.852286], - [-93.698678, 73.837572], - [-93.703246, 73.822865], - [-93.708246, 73.808172], - [-93.713699, 73.793489], - [-93.719625, 73.778823], - [-93.726053, 73.764172], - [-93.733016, 73.749538], - [-93.740549, 73.734926], - [-93.748694, 73.720347], - [-93.757511, 73.705795], - [-93.767066, 73.691279], - [-93.777445, 73.676804], - [-93.788746, 73.662389], - [-93.80111, 73.648044], - [-93.814718, 73.633788], - [-93.82982, 73.619655], - [-93.846775, 73.605691], - [-93.866134, 73.591979], - [-93.88881, 73.578672], - [-93.916366, 73.566165], - [-93.952149, 73.555465], + [-93.673837, 73.995336], + [-93.673973, 73.990898], + [-93.674142, 73.98642], + [-93.674346, 73.98188], + [-93.674588, 73.977256], + [-93.674871, 73.972525], + [-93.675201, 73.967659], + [-93.675581, 73.962632], + [-93.676019, 73.957411], + [-93.676523, 73.95196], + [-93.677105, 73.946238], + [-93.677777, 73.940198], + [-93.678556, 73.933784], + [-93.679463, 73.926931], + [-93.680525, 73.91956], + [-93.681777, 73.911579], + [-93.683266, 73.902873], + [-93.685051, 73.893303], + [-93.687215, 73.882695], + [-93.689869, 73.870835], + [-93.693166, 73.857452], + [-93.697326, 73.842205], + [-93.702665, 73.824663], + [-93.709644, 73.804286], + [-93.718956, 73.78042], + [-93.731649, 73.752319], + [-93.749314, 73.719285], + [-93.774301, 73.681057], + [-93.809816, 73.638749], + [-93.859309, 73.596555], + [-93.924184, 73.563307], [-94, 73.55034], - [-94.047851, 73.555465], - [-94.083634, 73.566165], - [-94.11119, 73.578672], - [-94.133866, 73.591979], - [-94.153225, 73.605691], - [-94.17018, 73.619655], - [-94.185282, 73.633788], - [-94.19889, 73.648044], - [-94.211254, 73.662389], - [-94.222555, 73.676804], - [-94.232934, 73.691279], - [-94.242489, 73.705795], - [-94.251306, 73.720347], - [-94.259451, 73.734926], - [-94.266984, 73.749538], - [-94.273947, 73.764172], - [-94.280375, 73.778823], - [-94.286301, 73.793489], - [-94.291754, 73.808172], - [-94.296754, 73.822865], - [-94.301322, 73.837572], - [-94.305473, 73.852286], - [-94.309222, 73.867011], - [-94.312581, 73.881742], - [-94.315558, 73.896479], - [-94.318164, 73.911223], - [-94.320404, 73.92597], - [-94.322284, 73.940722], - [-94.323808, 73.955477], - [-94.324978, 73.970234], - [-94.325798, 73.984993], + [-94.075816, 73.563307], + [-94.140691, 73.596555], + [-94.190184, 73.638749], + [-94.225699, 73.681057], + [-94.250686, 73.719285], + [-94.268351, 73.752319], + [-94.281044, 73.78042], + [-94.290356, 73.804286], + [-94.297335, 73.824663], + [-94.302674, 73.842205], + [-94.306834, 73.857452], + [-94.310131, 73.870835], + [-94.312785, 73.882695], + [-94.314949, 73.893303], + [-94.316734, 73.902873], + [-94.318223, 73.911579], + [-94.319475, 73.91956], + [-94.320537, 73.926931], + [-94.321444, 73.933784], + [-94.322223, 73.940198], + [-94.322895, 73.946238], + [-94.323477, 73.95196], + [-94.323981, 73.957411], + [-94.324419, 73.962632], + [-94.324799, 73.967659], + [-94.325129, 73.972525], + [-94.325412, 73.977256], + [-94.325654, 73.98188], + [-94.325858, 73.98642], + [-94.326027, 73.990898], + [-94.326163, 73.995336], [-94.326266, 73.999754], - [-94.326384, 74.014515], - [-94.326148, 74.029276], - [-94.325558, 74.044036], - [-94.324608, 74.058794], - [-94.323295, 74.073551], - [-94.321612, 74.088304], - [-94.319551, 74.103055], - [-94.317104, 74.1178], - [-94.314261, 74.13254], - [-94.311008, 74.147274], - [-94.307332, 74.161999], - [-94.303215, 74.176719], - [-94.29864, 74.191425], - [-94.293583, 74.206122], - [-94.28802, 74.220803], - [-94.28192, 74.23547], - [-94.275245, 74.250122], - [-94.267955, 74.264752], - [-94.260004, 74.279351], - [-94.251327, 74.293923], - [-94.241852, 74.30846], - [-94.231484, 74.322958], - [-94.220115, 74.337396], - [-94.207596, 74.351766], - [-94.193729, 74.366046], - [-94.178245, 74.380205], - [-94.160759, 74.394195], - [-94.140684, 74.407934], - [-94.117042, 74.421268], - [-94.088171, 74.433801], - [-94.050512, 74.444524], + [-94.326338, 74.004172], + [-94.326379, 74.00861], + [-94.326388, 74.013088], + [-94.326363, 74.017628], + [-94.326304, 74.022253], + [-94.326208, 74.026985], + [-94.326071, 74.031851], + [-94.325889, 74.036879], + [-94.325656, 74.042101], + [-94.325364, 74.047553], + [-94.325006, 74.053277], + [-94.324568, 74.059318], + [-94.324037, 74.065734], + [-94.323392, 74.07259], + [-94.32261, 74.079963], + [-94.321657, 74.087948], + [-94.320492, 74.096658], + [-94.319057, 74.106233], + [-94.317275, 74.116846], + [-94.315038, 74.128713], + [-94.312197, 74.142105], + [-94.308536, 74.157363], + [-94.303742, 74.17492], + [-94.29735, 74.195315], + [-94.288652, 74.219205], + [-94.27656, 74.247338], + [-94.259397, 74.280414], + [-94.234632, 74.318699], + [-94.198734, 74.361076], + [-94.147774, 74.403349], + [-94.079956, 74.436665], [-94, 74.44966] ] ] diff --git a/packages/turf-ellipse/test/out/rotation-degrees.json b/packages/turf-ellipse/test/out/rotation-degrees.json index b0faadad5d..407f4daeef 100644 --- a/packages/turf-ellipse/test/out/rotation-degrees.json +++ b/packages/turf-ellipse/test/out/rotation-degrees.json @@ -108,69 +108,69 @@ "coordinates": [ [ [-73.9975, 40.75951], - [-73.98803, 40.755524], - [-73.978632, 40.751443], - [-73.969307, 40.747268], - [-73.960057, 40.742999], - [-73.950886, 40.738634], - [-73.941799, 40.734172], - [-73.932801, 40.729608], - [-73.923901, 40.724937], - [-73.915109, 40.720151], - [-73.906439, 40.715237], - [-73.897913, 40.710183], - [-73.88955, 40.704959], - [-73.881418, 40.69955], - [-73.87357, 40.693895], - [-73.866149, 40.687916], - [-73.859458, 40.681459], - [-73.854497, 40.674207], - [-73.85657, 40.666709], - [-73.866883, 40.664627], - [-73.877655, 40.665235], - [-73.888272, 40.666837], - [-73.898718, 40.668986], - [-73.909022, 40.6715], - [-73.9192, 40.674281], - [-73.929277, 40.677275], - [-73.939247, 40.68044], - [-73.949149, 40.683763], - [-73.958961, 40.687216], - [-73.968702, 40.690791], - [-73.978371, 40.694477], - [-73.987969, 40.698266], + [-73.993963, 40.758036], + [-73.990716, 40.756667], + [-73.987673, 40.755371], + [-73.984766, 40.754121], + [-73.981935, 40.752891], + [-73.979128, 40.751661], + [-73.976293, 40.750407], + [-73.973377, 40.749106], + [-73.970321, 40.747728], + [-73.967055, 40.746241], + [-73.963493, 40.7446], + [-73.959519, 40.742746], + [-73.954978, 40.740598], + [-73.949649, 40.738035], + [-73.943205, 40.734872], + [-73.935153, 40.730816], + [-73.924728, 40.725378], + [-73.910788, 40.717728], + [-73.892011, 40.706527], + [-73.869185, 40.690461], + [-73.853982, 40.672562], + [-73.867016, 40.664625], + [-73.897927, 40.668808], + [-73.925329, 40.676075], + [-73.94507, 40.682374], + [-73.959122, 40.687274], + [-73.969481, 40.691083], + [-73.977443, 40.694117], + [-73.983806, 40.696607], + [-73.989072, 40.69871], + [-73.993564, 40.700535], [-73.9975, 40.702156], - [-74.006963, 40.706141], - [-74.016356, 40.71022], - [-74.025679, 40.714391], - [-74.034929, 40.718655], - [-74.044104, 40.723013], - [-74.053196, 40.727467], - [-74.062202, 40.732022], - [-74.071112, 40.736682], - [-74.079917, 40.741457], - [-74.088604, 40.746357], - [-74.097148, 40.751398], - [-74.105534, 40.756606], - [-74.113691, 40.761999], - [-74.121567, 40.767638], - [-74.129021, 40.773601], - [-74.135747, 40.780043], - [-74.140746, 40.787282], - [-74.138702, 40.794786], - [-74.128377, 40.796891], - [-74.117581, 40.796307], - [-74.106938, 40.794726], - [-74.096466, 40.792595], - [-74.086136, 40.790099], - [-74.075933, 40.787332], - [-74.065833, 40.784351], - [-74.055841, 40.781196], - [-74.04592, 40.777883], - [-74.03609, 40.774437], - [-74.026332, 40.770868], - [-74.01665, 40.767186], - [-74.00704, 40.763399], + [-74.001034, 40.70363], + [-74.004279, 40.704998], + [-74.007319, 40.706294], + [-74.010225, 40.707544], + [-74.013055, 40.708773], + [-74.015861, 40.710002], + [-74.018695, 40.711255], + [-74.02161, 40.712555], + [-74.024665, 40.713932], + [-74.02793, 40.715417], + [-74.031493, 40.717056], + [-74.035467, 40.718907], + [-74.040009, 40.721052], + [-74.045341, 40.723611], + [-74.051788, 40.726768], + [-74.059847, 40.730816], + [-74.070284, 40.736242], + [-74.084246, 40.743873], + [-74.103066, 40.755043], + [-74.125971, 40.771062], + [-74.141269, 40.788926], + [-74.128244, 40.796894], + [-74.097259, 40.792772], + [-74.06979, 40.785546], + [-74.050006, 40.779268], + [-74.035928, 40.774379], + [-74.025553, 40.770577], + [-74.01758, 40.767546], + [-74.011208, 40.765057], + [-74.005936, 40.762955], + [-74.00144, 40.761131], [-73.9975, 40.75951] ] ] @@ -189,69 +189,69 @@ "coordinates": [ [ [-73.9975, 40.778079], - [-73.991376, 40.784846], - [-73.9851, 40.791537], - [-73.978663, 40.798137], - [-73.972047, 40.804631], - [-73.965215, 40.811009], - [-73.958147, 40.817227], - [-73.950773, 40.823247], - [-73.943003, 40.82898], - [-73.934669, 40.834242], - [-73.925436, 40.838503], - [-73.914984, 40.839098], - [-73.91029, 40.832029], - [-73.91052, 40.823849], - [-73.912371, 40.815756], - [-73.91505, 40.807799], - [-73.918257, 40.799957], - [-73.921844, 40.792216], - [-73.925731, 40.784552], - [-73.929858, 40.776968], - [-73.934193, 40.769449], - [-73.938709, 40.761994], - [-73.943391, 40.754592], - [-73.948221, 40.747249], - [-73.953192, 40.739957], - [-73.958295, 40.73272], - [-73.963525, 40.725534], - [-73.968879, 40.718402], - [-73.974355, 40.711323], - [-73.979953, 40.7043], - [-73.985675, 40.697333], - [-73.991521, 40.690429], + [-73.990326, 40.785983], + [-73.980231, 40.796553], + [-73.96545, 40.810796], + [-73.94424, 40.828115], + [-73.920595, 40.839658], + [-73.910096, 40.829777], + [-73.915613, 40.806329], + [-73.92521, 40.785546], + [-73.933529, 40.770575], + [-73.940001, 40.75992], + [-73.945031, 40.752066], + [-73.949039, 40.74603], + [-73.952328, 40.741206], + [-73.955106, 40.737215], + [-73.957515, 40.73381], + [-73.959657, 40.730827], + [-73.961604, 40.728148], + [-73.963411, 40.725689], + [-73.965122, 40.723385], + [-73.966772, 40.721183], + [-73.968395, 40.719038], + [-73.970018, 40.716912], + [-73.971673, 40.714764], + [-73.97339, 40.712555], + [-73.975207, 40.71024], + [-73.977169, 40.707766], + [-73.979334, 40.705067], + [-73.981777, 40.702056], + [-73.984609, 40.698615], + [-73.987988, 40.694576], + [-73.992156, 40.689692], [-73.9975, 40.683587], - [-74.003614, 40.67682], - [-74.009877, 40.670128], - [-74.016299, 40.663526], - [-74.022897, 40.65703], - [-74.029707, 40.650648], - [-74.036751, 40.644426], - [-74.044097, 40.6384], - [-74.051836, 40.63266], - [-74.060136, 40.62739], - [-74.069331, 40.623119], - [-74.079748, 40.62251], - [-74.084445, 40.629571], - [-74.084237, 40.637752], - [-74.082412, 40.645847], - [-74.07976, 40.653809], - [-74.076578, 40.661655], - [-74.073016, 40.669401], - [-74.069153, 40.67707], - [-74.065048, 40.684659], - [-74.060734, 40.692183], - [-74.056236, 40.699642], - [-74.051571, 40.707049], - [-74.046755, 40.714396], - [-74.041796, 40.721692], - [-74.036703, 40.728933], - [-74.03148, 40.736122], - [-74.026132, 40.743257], - [-74.020658, 40.750338], - [-74.015061, 40.757363], - [-74.009337, 40.764331], - [-74.003486, 40.771237], + [-74.004662, 40.675683], + [-74.014734, 40.66511], + [-74.029473, 40.650862], + [-74.050605, 40.633527], + [-74.074154, 40.621957], + [-74.084644, 40.631823], + [-74.079201, 40.655279], + [-74.069671, 40.676075], + [-74.061394, 40.691056], + [-74.054949, 40.701718], + [-74.049935, 40.709576], + [-74.045939, 40.715615], + [-74.042658, 40.720442], + [-74.039886, 40.724436], + [-74.037481, 40.727842], + [-74.035343, 40.730827], + [-74.033399, 40.733507], + [-74.031595, 40.735967], + [-74.029886, 40.738272], + [-74.028236, 40.740475], + [-74.026616, 40.74262], + [-74.024993, 40.744748], + [-74.02334, 40.746896], + [-74.021623, 40.749106], + [-74.019806, 40.751421], + [-74.017845, 40.753896], + [-74.01568, 40.756596], + [-74.013236, 40.759608], + [-74.010403, 40.76305], + [-74.007022, 40.76709], + [-74.002851, 40.771974], [-73.9975, 40.778079] ] ] diff --git a/packages/turf-ellipse/test/out/rotation.json b/packages/turf-ellipse/test/out/rotation.json index 164a33d108..16ba06f7fc 100644 --- a/packages/turf-ellipse/test/out/rotation.json +++ b/packages/turf-ellipse/test/out/rotation.json @@ -107,69 +107,69 @@ "coordinates": [ [ [-73.9975, 40.741149], - [-73.994094, 40.739715], - [-73.990714, 40.738247], - [-73.98736, 40.736746], - [-73.984032, 40.735211], - [-73.980733, 40.733641], - [-73.977463, 40.732037], - [-73.974226, 40.730397], - [-73.971023, 40.728718], - [-73.967859, 40.726997], - [-73.964738, 40.725231], - [-73.961669, 40.723414], - [-73.958658, 40.721537], - [-73.95573, 40.719593], - [-73.952903, 40.717561], - [-73.95023, 40.715412], - [-73.947819, 40.713091], - [-73.94603, 40.710483], - [-73.946772, 40.707785], - [-73.950484, 40.707034], - [-73.954361, 40.70725], - [-73.958183, 40.707824], - [-73.961944, 40.708595], - [-73.965654, 40.709497], - [-73.969318, 40.710496], - [-73.972946, 40.711571], - [-73.976535, 40.712709], - [-73.980099, 40.713903], - [-73.983631, 40.715144], - [-73.987137, 40.71643], - [-73.990616, 40.717755], - [-73.99407, 40.719118], + [-73.996228, 40.740619], + [-73.99506, 40.740126], + [-73.993966, 40.73966], + [-73.99292, 40.73921], + [-73.991902, 40.738768], + [-73.990892, 40.738326], + [-73.989873, 40.737875], + [-73.988824, 40.737407], + [-73.987725, 40.736911], + [-73.98655, 40.736376], + [-73.985268, 40.735786], + [-73.983839, 40.73512], + [-73.982205, 40.734348], + [-73.980288, 40.733426], + [-73.977969, 40.732289], + [-73.975072, 40.730831], + [-73.97132, 40.728876], + [-73.966303, 40.726126], + [-73.959544, 40.722101], + [-73.951323, 40.716327], + [-73.945844, 40.709892], + [-73.950531, 40.707033], + [-73.961659, 40.708531], + [-73.971524, 40.71114], + [-73.978631, 40.713404], + [-73.983689, 40.715165], + [-73.987417, 40.716534], + [-73.990282, 40.717626], + [-73.992572, 40.718521], + [-73.994467, 40.719278], + [-73.996084, 40.719934], [-73.9975, 40.720517], - [-74.000905, 40.721951], - [-74.004284, 40.723418], - [-74.007638, 40.724919], - [-74.010966, 40.726454], - [-74.014266, 40.728022], - [-74.017536, 40.729625], - [-74.020775, 40.731265], - [-74.023979, 40.732942], - [-74.027145, 40.734661], - [-74.030268, 40.736426], - [-74.033339, 40.738241], - [-74.036353, 40.740116], - [-74.039285, 40.742058], - [-74.042115, 40.744088], - [-74.044792, 40.746235], - [-74.047208, 40.748554], - [-74.049002, 40.75116], - [-74.048263, 40.753858], - [-74.04455, 40.754613], - [-74.040669, 40.7544], - [-74.036844, 40.753829], - [-74.03308, 40.75306], - [-74.029367, 40.75216], - [-74.025699, 40.751164], - [-74.022069, 40.75009], - [-74.018477, 40.748953], - [-74.01491, 40.74776], - [-74.011376, 40.74652], - [-74.007868, 40.745236], - [-74.004386, 40.743911], - [-74.000931, 40.742548], + [-73.998772, 40.721047], + [-73.999939, 40.72154], + [-74.001033, 40.722006], + [-74.002079, 40.722455], + [-74.003097, 40.722897], + [-74.004106, 40.72334], + [-74.005126, 40.723791], + [-74.006175, 40.724259], + [-74.007274, 40.724754], + [-74.008448, 40.725289], + [-74.00973, 40.725878], + [-74.01116, 40.726544], + [-74.012793, 40.727316], + [-74.014711, 40.728237], + [-74.01703, 40.729374], + [-74.019928, 40.730831], + [-74.023681, 40.732784], + [-74.028701, 40.735531], + [-74.035466, 40.739553], + [-74.043697, 40.745321], + [-74.049189, 40.751751], + [-74.044502, 40.754614], + [-74.033365, 40.753124], + [-74.023491, 40.75052], + [-74.016379, 40.748259], + [-74.011318, 40.746499], + [-74.007588, 40.745131], + [-74.004721, 40.74404], + [-74.002429, 40.743145], + [-74.000534, 40.742388], + [-73.998917, 40.741732], [-73.9975, 40.741149] ] ] @@ -188,69 +188,69 @@ "coordinates": [ [ [-73.9975, 40.747829], - [-73.995298, 40.750263], - [-73.993042, 40.75267], - [-73.990728, 40.755044], - [-73.98835, 40.757381], - [-73.985895, 40.759676], - [-73.983356, 40.761913], - [-73.980706, 40.764079], - [-73.977914, 40.766142], - [-73.97492, 40.768036], - [-73.971604, 40.76957], - [-73.967847, 40.769786], - [-73.966159, 40.767244], - [-73.966239, 40.764301], - [-73.966902, 40.76139], - [-73.967862, 40.758527], - [-73.969013, 40.755705], - [-73.970301, 40.75292], - [-73.971696, 40.750162], - [-73.973178, 40.747433], - [-73.974735, 40.744728], - [-73.976357, 40.742046], - [-73.97804, 40.739383], - [-73.979776, 40.736741], - [-73.981563, 40.734117], - [-73.983397, 40.731513], - [-73.985278, 40.728928], - [-73.987203, 40.726362], - [-73.989173, 40.723815], - [-73.991186, 40.721289], - [-73.993245, 40.718782], - [-73.995348, 40.716299], + [-73.994921, 40.750672], + [-73.991292, 40.754475], + [-73.98598, 40.759599], + [-73.978359, 40.765831], + [-73.969864, 40.769986], + [-73.966088, 40.766434], + [-73.968064, 40.757998], + [-73.971509, 40.75052], + [-73.974497, 40.745133], + [-73.976822, 40.7413], + [-73.978629, 40.738474], + [-73.98007, 40.736302], + [-73.981252, 40.734567], + [-73.982251, 40.733131], + [-73.983117, 40.731906], + [-73.983887, 40.730832], + [-73.984587, 40.729868], + [-73.985236, 40.728984], + [-73.985852, 40.728155], + [-73.986445, 40.727362], + [-73.987029, 40.726591], + [-73.987613, 40.725826], + [-73.988208, 40.725053], + [-73.988825, 40.724259], + [-73.989479, 40.723426], + [-73.990185, 40.722536], + [-73.990963, 40.721565], + [-73.991843, 40.720481], + [-73.992861, 40.719243], + [-73.994077, 40.71779], + [-73.995577, 40.716033], [-73.9975, 40.713837], - [-73.9997, 40.711403], - [-74.001955, 40.708996], - [-74.004267, 40.706621], - [-74.006642, 40.704285], - [-74.009095, 40.701989], - [-74.011631, 40.699752], - [-74.014277, 40.697584], - [-74.017065, 40.695521], - [-74.020054, 40.693625], - [-74.023366, 40.69209], - [-74.027118, 40.691873], - [-74.028807, 40.694414], - [-74.02873, 40.697357], - [-74.02807, 40.700268], - [-74.027113, 40.703132], - [-74.025966, 40.705954], - [-74.024681, 40.70874], - [-74.023289, 40.711498], - [-74.02181, 40.714227], - [-74.020255, 40.716933], - [-74.018635, 40.719616], - [-74.016955, 40.72228], - [-74.015221, 40.724923], - [-74.013436, 40.727547], - [-74.011603, 40.730151], - [-74.009723, 40.732737], - [-74.007798, 40.735303], - [-74.005829, 40.73785], - [-74.003816, 40.740377], - [-74.001757, 40.742883], - [-73.999653, 40.745367], + [-74.000078, 40.710994], + [-74.003704, 40.707191], + [-74.00901, 40.702066], + [-74.016621, 40.695832], + [-74.025103, 40.691673], + [-74.028878, 40.695224], + [-74.026912, 40.703661], + [-74.023476, 40.71114], + [-74.020493, 40.716528], + [-74.018172, 40.720363], + [-74.016366, 40.723189], + [-74.014927, 40.725361], + [-74.013746, 40.727097], + [-74.012748, 40.728533], + [-74.011883, 40.729759], + [-74.011113, 40.730832], + [-74.010414, 40.731796], + [-74.009764, 40.732681], + [-74.009149, 40.73351], + [-74.008556, 40.734303], + [-74.007972, 40.735074], + [-74.007389, 40.735839], + [-74.006794, 40.736612], + [-74.006176, 40.737407], + [-74.005523, 40.73824], + [-74.004817, 40.73913], + [-74.004038, 40.740101], + [-74.003159, 40.741184], + [-74.00214, 40.742423], + [-74.000924, 40.743876], + [-73.999424, 40.745633], [-73.9975, 40.747829] ] ] diff --git a/packages/turf-ellipse/test/out/simple-degrees.json b/packages/turf-ellipse/test/out/simple-degrees.json index 8f4b57c01d..d59ae49d66 100644 --- a/packages/turf-ellipse/test/out/simple-degrees.json +++ b/packages/turf-ellipse/test/out/simple-degrees.json @@ -107,69 +107,69 @@ "coordinates": [ [ [-73.9975, 41.730833], - [-73.557758, 41.727849], - [-73.118224, 41.718872], - [-72.679052, 41.703823], - [-72.240467, 41.682568], - [-71.802687, 41.654902], - [-71.365983, 41.620544], - [-70.930686, 41.579108], - [-70.497155, 41.530066], - [-70.065924, 41.472696], - [-69.637065, 41.405879], - [-69.212357, 41.328228], - [-68.792553, 41.237249], - [-68.38057, 41.12896], - [-67.982454, 40.995582], - [-67.618325, 40.81878], + [-73.865556, 41.730565], + [-73.73119, 41.729739], + [-73.591803, 41.728293], + [-73.444422, 41.72611], + [-73.285438, 41.722998], + [-73.11024, 41.718653], + [-72.912661, 41.712593], + [-72.684103, 41.704032], + [-72.412111, 41.691641], + [-72.077952, 41.673066], + [-71.652542, 41.643872], + [-71.090016, 41.595144], + [-70.321352, 41.507773], + [-69.273443, 41.340199], + [-68.047656, 41.020221], [-67.411666, 40.543359], - [-67.668346, 40.2939], - [-68.057622, 40.157314], - [-68.469583, 40.064419], - [-68.888725, 39.994698], - [-69.311071, 39.939738], - [-69.734861, 39.895265], - [-70.160081, 39.858692], - [-70.585491, 39.828483], - [-71.011415, 39.803498], - [-71.437647, 39.782973], - [-71.8641, 39.766347], - [-72.290682, 39.753215], - [-72.717335, 39.743276], - [-73.144039, 39.736318], - [-73.570753, 39.732197], + [-68.125751, 40.139535], + [-69.372217, 39.93274], + [-70.412292, 39.840093], + [-71.167578, 39.795492], + [-71.717595, 39.771646], + [-72.132418, 39.7577], + [-72.45773, 39.748956], + [-72.722246, 39.743179], + [-72.944365, 39.739213], + [-73.136286, 39.736418], + [-73.306407, 39.734421], + [-73.460746, 39.732994], + [-73.603795, 39.731994], + [-73.73907, 39.731333], + [-73.869463, 39.730956], [-73.9975, 39.730833], - [-74.424247, 39.732197], - [-74.850961, 39.736318], - [-75.277665, 39.743276], - [-75.704318, 39.753215], - [-76.1309, 39.766347], - [-76.557353, 39.782973], - [-76.983585, 39.803498], - [-77.409509, 39.828483], - [-77.834919, 39.858692], - [-78.260139, 39.895265], - [-78.683929, 39.939738], - [-79.106275, 39.994698], - [-79.525417, 40.064419], - [-79.937378, 40.157314], - [-80.326654, 40.2939], + [-74.125537, 39.730956], + [-74.25593, 39.731333], + [-74.391205, 39.731994], + [-74.534254, 39.732994], + [-74.688593, 39.734421], + [-74.858714, 39.736418], + [-75.050635, 39.739213], + [-75.272754, 39.743179], + [-75.53727, 39.748956], + [-75.862582, 39.7577], + [-76.277405, 39.771646], + [-76.827422, 39.795492], + [-77.582708, 39.840093], + [-78.622783, 39.93274], + [-79.869249, 40.139535], [-80.583334, 40.543359], - [-80.376675, 40.81878], - [-80.012546, 40.995582], - [-79.61443, 41.12896], - [-79.202447, 41.237249], - [-78.782643, 41.328228], - [-78.357935, 41.405879], - [-77.929076, 41.472696], - [-77.497845, 41.530066], - [-77.064314, 41.579108], - [-76.629017, 41.620544], - [-76.192313, 41.654902], - [-75.754533, 41.682568], - [-75.315948, 41.703823], - [-74.876776, 41.718872], - [-74.437242, 41.727849], + [-79.947344, 41.020221], + [-78.721557, 41.340199], + [-77.673648, 41.507773], + [-76.904984, 41.595144], + [-76.342458, 41.643872], + [-75.917048, 41.673066], + [-75.582889, 41.691641], + [-75.310897, 41.704032], + [-75.082339, 41.712593], + [-74.88476, 41.718653], + [-74.709562, 41.722998], + [-74.550578, 41.72611], + [-74.403197, 41.728293], + [-74.26381, 41.729739], + [-74.129444, 41.730565], [-73.9975, 41.730833] ] ] @@ -188,69 +188,69 @@ "coordinates": [ [ [-73.9975, 45.730833], - [-73.621733, 45.553633], - [-73.400602, 45.265721], - [-73.243802, 44.956446], - [-73.122839, 44.639433], - [-73.025728, 44.318504], - [-72.946286, 43.995431], - [-72.880687, 43.670492], - [-72.826658, 43.344819], - [-72.782455, 43.018299], - [-72.746892, 42.691195], - [-72.719084, 42.363657], - [-72.698366, 42.035826], - [-72.684229, 41.707807], - [-72.67629, 41.379672], - [-72.674267, 41.051499], + [-73.370991, 45.214797], + [-73.013269, 44.271947], + [-72.84738, 43.477473], + [-72.768472, 42.898491], + [-72.727807, 42.476206], + [-72.70526, 42.157471], + [-72.69207, 41.907409], + [-72.684103, 41.704032], + [-72.679254, 41.533228], + [-72.676381, 41.385634], + [-72.674836, 41.2548], + [-72.674235, 41.136102], + [-72.67435, 41.026087], + [-72.675049, 40.922054], + [-72.676261, 40.821778], [-72.677961, 40.723319], - [-72.687253, 40.395204], - [-72.702095, 40.067223], - [-72.722513, 39.739408], - [-72.74861, 39.411838], - [-72.780581, 39.084583], - [-72.81872, 38.757748], - [-72.863457, 38.431475], - [-72.915405, 38.105912], - [-72.975417, 37.781323], - [-73.044833, 37.457592], - [-73.125374, 37.135848], - [-73.220102, 36.816365], - [-73.334008, 36.500904], - [-73.476941, 36.193264], - [-73.672639, 35.90698], + [-72.680164, 40.624866], + [-72.682924, 40.524608], + [-72.686335, 40.420606], + [-72.690548, 40.310638], + [-72.695793, 40.192006], + [-72.702416, 40.061265], + [-72.71095, 39.913801], + [-72.722246, 39.743179], + [-72.737705, 39.540063], + [-72.759772, 39.290391], + [-72.792967, 38.972261], + [-72.846263, 38.550964], + [-72.938795, 37.973684], + [-73.11295, 37.182206], + [-73.450273, 36.24391], [-73.9975, 35.730833], - [-74.322361, 35.90698], - [-74.518059, 36.193264], - [-74.660992, 36.500904], - [-74.774898, 36.816365], - [-74.869626, 37.135848], - [-74.950167, 37.457592], - [-75.019583, 37.781323], - [-75.079595, 38.105912], - [-75.131543, 38.431475], - [-75.17628, 38.757748], - [-75.214419, 39.084583], - [-75.24639, 39.411838], - [-75.272487, 39.739408], - [-75.292905, 40.067223], - [-75.307747, 40.395204], + [-74.544727, 36.24391], + [-74.88205, 37.182206], + [-75.056205, 37.973684], + [-75.148737, 38.550964], + [-75.202033, 38.972261], + [-75.235228, 39.290391], + [-75.257295, 39.540063], + [-75.272754, 39.743179], + [-75.28405, 39.913801], + [-75.292584, 40.061265], + [-75.299207, 40.192006], + [-75.304452, 40.310638], + [-75.308665, 40.420606], + [-75.312076, 40.524608], + [-75.314836, 40.624866], [-75.317039, 40.723319], - [-75.320733, 41.051499], - [-75.31871, 41.379672], - [-75.310771, 41.707807], - [-75.296634, 42.035826], - [-75.275916, 42.363657], - [-75.248108, 42.691195], - [-75.212545, 43.018299], - [-75.168342, 43.344819], - [-75.114313, 43.670492], - [-75.048714, 43.995431], - [-74.969272, 44.318504], - [-74.872161, 44.639433], - [-74.751198, 44.956446], - [-74.594398, 45.265721], - [-74.373267, 45.553633], + [-75.318739, 40.821778], + [-75.319951, 40.922054], + [-75.32065, 41.026087], + [-75.320765, 41.136102], + [-75.320164, 41.2548], + [-75.318619, 41.385634], + [-75.315746, 41.533228], + [-75.310897, 41.704032], + [-75.30293, 41.907409], + [-75.28974, 42.157471], + [-75.267193, 42.476206], + [-75.226528, 42.898491], + [-75.14762, 43.477473], + [-74.981731, 44.271947], + [-74.624009, 45.214797], [-73.9975, 45.730833] ] ] diff --git a/packages/turf-ellipse/test/out/simple.json b/packages/turf-ellipse/test/out/simple.json index b73b7d3f8c..40f07012ed 100644 --- a/packages/turf-ellipse/test/out/simple.json +++ b/packages/turf-ellipse/test/out/simple.json @@ -106,69 +106,69 @@ "coordinates": [ [ [-73.9975, 40.739826], - [-73.993604, 40.739807], - [-73.989709, 40.739748], - [-73.985815, 40.73965], - [-73.981924, 40.73951], - [-73.978035, 40.739327], - [-73.974151, 40.739099], - [-73.970273, 40.738821], - [-73.966403, 40.738489], - [-73.962544, 40.738095], - [-73.958694, 40.737631], - [-73.954868, 40.737081], - [-73.951068, 40.736424], - [-73.947316, 40.735622], - [-73.943657, 40.734601], - [-73.940253, 40.733187], + [-73.996331, 40.739824], + [-73.995141, 40.739819], + [-73.993906, 40.73981], + [-73.9926, 40.739795], + [-73.991192, 40.739775], + [-73.989639, 40.739747], + [-73.987888, 40.739707], + [-73.985861, 40.739651], + [-73.983448, 40.73957], + [-73.980482, 40.739447], + [-73.976702, 40.739254], + [-73.971696, 40.738929], + [-73.964834, 40.738337], + [-73.955423, 40.737167], + [-73.944263, 40.734794], [-73.938161, 40.730818], - [-73.940257, 40.728451], - [-73.943663, 40.72704], - [-73.947324, 40.726022], - [-73.951076, 40.725223], - [-73.954876, 40.724569], - [-73.958702, 40.724022], - [-73.962551, 40.72356], - [-73.96641, 40.723169], - [-73.97028, 40.722839], - [-73.974157, 40.722563], - [-73.97804, 40.722336], - [-73.981928, 40.722154], - [-73.985818, 40.722015], - [-73.989711, 40.721917], - [-73.993605, 40.721859], + [-73.944269, 40.726848], + [-73.955431, 40.724484], + [-73.964841, 40.72332], + [-73.971702, 40.722732], + [-73.976708, 40.722408], + [-73.980487, 40.722216], + [-73.983452, 40.722095], + [-73.985864, 40.722014], + [-73.98789, 40.721958], + [-73.989641, 40.721919], + [-73.991193, 40.721891], + [-73.992602, 40.72187], + [-73.993907, 40.721856], + [-73.995142, 40.721847], + [-73.996332, 40.721842], [-73.9975, 40.72184], - [-74.001395, 40.721859], - [-74.005289, 40.721917], - [-74.009182, 40.722015], - [-74.013072, 40.722154], - [-74.01696, 40.722336], - [-74.020843, 40.722563], - [-74.02472, 40.722839], - [-74.02859, 40.723169], - [-74.032449, 40.72356], - [-74.036298, 40.724022], - [-74.040124, 40.724569], - [-74.043924, 40.725223], - [-74.047676, 40.726022], - [-74.051337, 40.72704], - [-74.054743, 40.728451], + [-73.998668, 40.721842], + [-73.999858, 40.721847], + [-74.001093, 40.721856], + [-74.002398, 40.72187], + [-74.003807, 40.721891], + [-74.005359, 40.721919], + [-74.00711, 40.721958], + [-74.009136, 40.722014], + [-74.011548, 40.722095], + [-74.014513, 40.722216], + [-74.018292, 40.722408], + [-74.023298, 40.722732], + [-74.030159, 40.72332], + [-74.039569, 40.724484], + [-74.050731, 40.726848], [-74.056839, 40.730818], - [-74.054747, 40.733187], - [-74.051343, 40.734601], - [-74.047684, 40.735622], - [-74.043932, 40.736424], - [-74.040132, 40.737081], - [-74.036306, 40.737631], - [-74.032456, 40.738095], - [-74.028597, 40.738489], - [-74.024727, 40.738821], - [-74.020849, 40.739099], - [-74.016965, 40.739327], - [-74.013076, 40.73951], - [-74.009185, 40.73965], - [-74.005291, 40.739748], - [-74.001396, 40.739807], + [-74.050737, 40.734794], + [-74.039577, 40.737167], + [-74.030166, 40.738337], + [-74.023304, 40.738929], + [-74.018298, 40.739254], + [-74.014518, 40.739447], + [-74.011552, 40.73957], + [-74.009139, 40.739651], + [-74.007112, 40.739707], + [-74.005361, 40.739747], + [-74.003808, 40.739775], + [-74.0024, 40.739795], + [-74.001094, 40.73981], + [-73.999859, 40.739819], + [-73.998669, 40.739824], [-73.9975, 40.739826] ] ] @@ -187,69 +187,69 @@ "coordinates": [ [ [-73.9975, 40.775799], - [-73.994373, 40.774212], - [-73.992507, 40.771632], - [-73.991162, 40.768858], - [-73.990105, 40.766015], - [-73.98924, 40.763135], - [-73.988517, 40.760236], - [-73.987906, 40.757319], - [-73.987388, 40.754395], - [-73.986952, 40.751462], - [-73.986586, 40.748524], - [-73.986286, 40.745581], - [-73.986046, 40.742634], - [-73.985863, 40.739686], - [-73.985734, 40.736735], - [-73.985657, 40.733784], + [-73.992254, 40.771173], + [-73.989127, 40.762715], + [-73.987588, 40.755584], + [-73.98681, 40.750384], + [-73.986382, 40.746591], + [-73.986128, 40.743727], + [-73.985968, 40.741479], + [-73.985861, 40.739651], + [-73.985788, 40.738115], + [-73.985736, 40.736789], + [-73.985699, 40.735612], + [-73.985672, 40.734545], + [-73.985654, 40.733555], + [-73.985641, 40.73262], + [-73.985634, 40.731718], [-73.985632, 40.730832], - [-73.985658, 40.727881], - [-73.985736, 40.724929], - [-73.985866, 40.721979], - [-73.98605, 40.71903], - [-73.986291, 40.716084], - [-73.986592, 40.713141], - [-73.986958, 40.710203], - [-73.987396, 40.70727], - [-73.987913, 40.704346], - [-73.988525, 40.701429], - [-73.989248, 40.69853], - [-73.990113, 40.695651], - [-73.991169, 40.692807], - [-73.992514, 40.690034], - [-73.994377, 40.687454], + [-73.985635, 40.729947], + [-73.985642, 40.729045], + [-73.985654, 40.728109], + [-73.985673, 40.72712], + [-73.9857, 40.726053], + [-73.985738, 40.724876], + [-73.98579, 40.723549], + [-73.985864, 40.722014], + [-73.985972, 40.720186], + [-73.986133, 40.717938], + [-73.986387, 40.715074], + [-73.986816, 40.711281], + [-73.987596, 40.706081], + [-73.989135, 40.69895], + [-73.99226, 40.690493], [-73.9975, 40.685867], - [-74.000623, 40.687454], - [-74.002486, 40.690034], - [-74.003831, 40.692807], - [-74.004887, 40.695651], - [-74.005752, 40.69853], - [-74.006475, 40.701429], - [-74.007087, 40.704346], - [-74.007604, 40.70727], - [-74.008042, 40.710203], - [-74.008408, 40.713141], - [-74.008709, 40.716084], - [-74.00895, 40.71903], - [-74.009134, 40.721979], - [-74.009264, 40.724929], - [-74.009342, 40.727881], + [-74.00274, 40.690493], + [-74.005865, 40.69895], + [-74.007404, 40.706081], + [-74.008184, 40.711281], + [-74.008613, 40.715074], + [-74.008867, 40.717938], + [-74.009028, 40.720186], + [-74.009136, 40.722014], + [-74.00921, 40.723549], + [-74.009262, 40.724876], + [-74.0093, 40.726053], + [-74.009327, 40.72712], + [-74.009346, 40.728109], + [-74.009358, 40.729045], + [-74.009365, 40.729947], [-74.009368, 40.730832], - [-74.009343, 40.733784], - [-74.009266, 40.736735], - [-74.009137, 40.739686], - [-74.008954, 40.742634], - [-74.008714, 40.745581], - [-74.008414, 40.748524], - [-74.008048, 40.751462], - [-74.007612, 40.754395], - [-74.007094, 40.757319], - [-74.006483, 40.760236], - [-74.00576, 40.763135], - [-74.004895, 40.766015], - [-74.003838, 40.768858], - [-74.002493, 40.771632], - [-74.000627, 40.774212], + [-74.009366, 40.731718], + [-74.009359, 40.73262], + [-74.009346, 40.733555], + [-74.009328, 40.734545], + [-74.009301, 40.735612], + [-74.009264, 40.736789], + [-74.009212, 40.738115], + [-74.009139, 40.739651], + [-74.009032, 40.741479], + [-74.008872, 40.743727], + [-74.008618, 40.746591], + [-74.00819, 40.750384], + [-74.007412, 40.755584], + [-74.005873, 40.762715], + [-74.002746, 40.771173], [-73.9975, 40.775799] ] ]