diff --git a/packages/turf-buffer/README.md b/packages/turf-buffer/README.md deleted file mode 100644 index fd64acb794..0000000000 --- a/packages/turf-buffer/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# @turf/buffer - -# buffer - -Calculates a buffer for input features for a given radius. Units supported are miles, kilometers, and degrees. - -When using a negative radius, the resulting geometry may be invalid if -it's too small compared to the radius magnitude. If the input is a -FeatureCollection, only valid members will be returned in the output -FeatureCollection - i.e., the output collection may have fewer members than -the input, or even be empty. - -**Parameters** - -- `geojson` **([FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects) \| [Geometry](http://geojson.org/geojson-spec.html#geometry) \| [Feature](http://geojson.org/geojson-spec.html#feature-objects)<any>)** input to be buffered -- `radius` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** distance to draw the buffer (negative values are allowed) -- `units` **\[[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** any of the options supported by turf units (optional, default `kilometers`) -- `steps` **\[[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)]** number of steps (optional, default `64`) - -**Examples** - -```javascript -var point = turf.point([-90.548630, 14.616599]); -var buffered = turf.buffer(point, 500, 'miles'); - -//addToMap -var addToMap = [point, buffered] -``` - -Returns **([FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects) \| [Feature](http://geojson.org/geojson-spec.html#feature-objects)<([Polygon](http://geojson.org/geojson-spec.html#polygon) \| [MultiPolygon](http://geojson.org/geojson-spec.html#multipolygon))> | [undefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined))** buffered features - - - ---- - -This module is part of the [Turfjs project](http://turfjs.org/), an open source -module collection dedicated to geographic algorithms. It is maintained in the -[Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create -PRs and issues. - -### Installation - -Install this module individually: - -```sh -$ npm install @turf/buffer -``` - -Or install the Turf module that includes it as a function: - -```sh -$ npm install @turf/turf -``` diff --git a/packages/turf-buffer/bench.js b/packages/turf-buffer/bench.js index f8d60d8511..5aa2b0c6ca 100644 --- a/packages/turf-buffer/bench.js +++ b/packages/turf-buffer/bench.js @@ -2,10 +2,10 @@ const fs = require('fs'); const path = require('path'); const load = require('load-json-file'); const Benchmark = require('benchmark'); -const buffer = require('./'); +const lineOffset = require('./'); const directory = path.join(__dirname, 'test', 'in') + path.sep; -const fixtures = fs.readdirSync(directory).map(filename => { +let fixtures = fs.readdirSync(directory).map(filename => { return { filename, name: path.parse(filename).name, @@ -15,37 +15,12 @@ const fixtures = fs.readdirSync(directory).map(filename => { /** * Benchmark Results - * - * feature-collection-points: 139.101ms - * geometry-collection-points: 20.334ms - * issue-#783: 33.209ms - * linestring: 6.371ms - * multi-linestring: 48.786ms - * multi-point: 7.627ms - * multi-polygon: 38.921ms - * negative-buffer: 5.621ms - * north-latitude-points: 71.144ms - * northern-polygon: 2.644ms - * point: 8.155ms - * polygon-with-holes: 6.965ms - * feature-collection-points x 722 ops/sec ±14.28% (65 runs sampled) - * geometry-collection-points x 1,314 ops/sec ±7.87% (66 runs sampled) - * issue-#783 x 1,404 ops/sec ±6.81% (64 runs sampled) - * linestring x 2,936 ops/sec ±6.94% (72 runs sampled) - * multi-linestring x 623 ops/sec ±4.35% (79 runs sampled) - * multi-point x 1,735 ops/sec ±8.60% (65 runs sampled) - * multi-polygon x 1,125 ops/sec ±3.93% (80 runs sampled) - * north-latitude-points x 1,649 ops/sec ±2.09% (86 runs sampled) - * northern-polygon x 4,658 ops/sec ±3.08% (78 runs sampled) - * point x 65,020 ops/sec ±1.29% (85 runs sampled) - * polygon-with-holes x 2,795 ops/sec ±2.98% (81 runs sampled) + * complex x 17,634 ops/sec ±1.63% (88 runs sampled) + * rectangle x 33,735 ops/sec ±2.27% (92 runs sampled) */ const suite = new Benchmark.Suite('turf-buffer'); for (const {name, geojson} of fixtures) { - console.time(name); - buffer(geojson, 50, 'miles'); - console.timeEnd(name); - suite.add(name, () => buffer(geojson, 50, 'miles')); + suite.add(name, () => lineOffset(geojson, 100, 'meters')); } suite diff --git a/packages/turf-buffer/index.d.ts b/packages/turf-buffer/index.d.ts index 1bc52c952d..ffda716b79 100644 --- a/packages/turf-buffer/index.d.ts +++ b/packages/turf-buffer/index.d.ts @@ -1,30 +1,14 @@ /// -import {Units, FeatureGeometryCollection} from '@turf/helpers'; +import {Units} from '@turf/helpers'; -type Point = GeoJSON.Point; -type LineString = GeoJSON.LineString; -type Polygon = GeoJSON.Polygon; -type MultiPoint = GeoJSON.MultiPoint; -type MultiLineString = GeoJSON.MultiLineString; -type MultiPolygon = GeoJSON.MultiPolygon; type GeometryObject = GeoJSON.GeometryObject; -type GeometryCollection = GeoJSON.GeometryCollection; type Feature = GeoJSON.Feature; -type FeatureCollection = GeoJSON.FeatureCollection; -type Geoms = Point|LineString|Polygon|MultiPoint|MultiLineString|MultiPolygon; +type Geoms = GeoJSON.LineString | GeoJSON.MultiLineString; -interface Buffer { - /** - * http://turfjs.org/docs/#buffer - */ - (feature: Feature|Geom, radius?: number, unit?: Units, steps?: number): Feature | undefined; - (feature: Feature|Geom, radius?: number, unit?: Units, steps?: number): Feature | undefined; - (feature: FeatureCollection, radius?: number, unit?: Units, steps?: number): FeatureCollection; - (feature: FeatureCollection, radius?: number, unit?: Units, steps?: number): FeatureCollection; - (feature: FeatureCollection|FeatureGeometryCollection|GeometryCollection, radius?: number, unit?: Units, steps?: number): FeatureCollection; - (feature: Feature|GeometryObject, radius?: number, unit?: Units, steps?: number): Feature | undefined; -} -declare const buffer: Buffer; -declare namespace buffer {} +/** + * http://turfjs.org/docs/#buffer + */ +declare function buffer(line: Feature | Geom, distance: number, units?: Units): Feature; +declare namespace buffer { } export = buffer; diff --git a/packages/turf-buffer/index.js b/packages/turf-buffer/index.js index 28665127be..8ead3334a7 100644 --- a/packages/turf-buffer/index.js +++ b/packages/turf-buffer/index.js @@ -1,177 +1,292 @@ -var d3 = require('d3-geo'); -var jsts = require('jsts'); -var meta = require('@turf/meta'); +<<<<<<< HEAD +var getCoords = require('@turf/invariant').getCoords; +var coordEach = require('@turf/meta').coordEach; +======= var center = require('@turf/center'); +var circle = require('@turf/circle'); +var bearing = require('@turf/bearing'); +>>>>>>> 2227dfbb33589a400a0a01e9683488c2cbc7d13f var helpers = require('@turf/helpers'); -var feature = helpers.feature; -var geomEach = meta.geomEach; -var featureEach = meta.featureEach; +var lineArc = require('@turf/line-arc'); +var coordEach = require('@turf/meta').coordEach; +var getCoords = require('@turf/invariant').getCoords; +var bearingToAngle = helpers.bearingToAngle; +var polygon = helpers.polygon; +var point = helpers.point; var featureCollection = helpers.featureCollection; +var distanceToDegrees = helpers.distanceToDegrees; +<<<<<<< HEAD +var bearing = require('@turf/bearing'); +var lineArc = require('@turf/line-arc'); +var circle = require('@turf/circle'); +======= +var radiansToDegrees = helpers.radians2degrees; var radiansToDistance = helpers.radiansToDistance; -var distanceToRadians = helpers.distanceToRadians; +>>>>>>> 2227dfbb33589a400a0a01e9683488c2cbc7d13f /** - * Calculates a buffer for input features for a given radius. Units supported are miles, kilometers, and degrees. - * - * When using a negative radius, the resulting geometry may be invalid if - * it's too small compared to the radius magnitude. If the input is a - * FeatureCollection, only valid members will be returned in the output - * FeatureCollection - i.e., the output collection may have fewer members than - * the input, or even be empty. + * Takes a {@link Feature and returns a {@link Feature} at offset by the specified distance. * * @name buffer - * @param {FeatureCollection|Geometry|Feature} geojson input to be buffered - * @param {number} radius distance to draw the buffer (negative values are allowed) - * @param {string} [units=kilometers] any of the options supported by turf units - * @param {number} [steps=64] number of steps - * @returns {FeatureCollection|Feature|undefined} buffered features + * @param {Geometry|Feature} geojson input + * @param {number} distance distance to buffer the feature (can be of negative value) + * @param {string} [units=kilometers] can be degrees, radians, miles, kilometers, inches, yards, meters + * @param {number} [steps] Steps + * @returns {Feature} Feature buffered from the input feature * @example - * var point = turf.point([-90.548630, 14.616599]); - * var buffered = turf.buffer(point, 500, 'miles'); + * var line = { + * "type": "Feature", + * "properties": {}, + * "geometry": { + * "type": "LineString", + * "coordinates": [[-83, 30], [-84, 36], [-78, 41]] + * } + * }; + * + * var buffered = turf.buffer(line, 2, 'miles'); * * //addToMap - * var addToMap = [point, buffered] + * var addToMap = [buffered, line] */ -module.exports = function (geojson, radius, units, steps) { - // validation - if (!geojson) throw new Error('geojson is required'); - // Allow negative buffers ("erosion") or zero-sized buffers ("repair geometry") - if (radius === undefined) throw new Error('radius is required'); - if (steps <= 0) throw new Error('steps must be greater than 0'); - - // prevent input mutation - // geojson = JSON.parse(JSON.stringify(geojson)); - - // default params - steps = steps || 64; - units = units || 'kilometers'; - - var results = []; - switch (geojson.type) { - case 'GeometryCollection': - geomEach(geojson, function (geometry) { - var buffered = buffer(geometry, radius, units, steps); - if (buffered) results.push(buffered); - }); - return featureCollection(results); - case 'FeatureCollection': - featureEach(geojson, function (feature) { - var multiBuffered = buffer(feature, radius, units, steps); - if (multiBuffered) { - featureEach(multiBuffered, function (buffered) { - if (buffered) results.push(buffered); - }); - } - }); - return featureCollection(results); - } - return buffer(geojson, radius, units, steps); -}; +module.exports = function (geojson, distance, units, steps) { + if (!geojson) throw new Error('feature is required'); + if (distance === undefined || distance === null || isNaN(distance)) throw new Error('distance is required'); + var numSteps = steps ? steps : 64; + + // var properties = geojson.properties || {}; -/** - * Buffer single Feature/Geometry - * - * @private - * @param {Feature} geojson input to be buffered - * @param {number} radius distance to draw the buffer - * @param {string} [units='kilometers'] any of the options supported by turf units - * @param {number} [steps=64] number of steps - * @returns {Feature} buffered feature - */ -function buffer(geojson, radius, units, steps) { - var properties = geojson.properties || {}; var geometry = (geojson.type === 'Feature') ? geojson.geometry : geojson; + var distanceDegrees = distanceToDegrees(distance, units); - // Geometry Types faster than jsts + var outFeatures = []; switch (geometry.type) { - case 'GeometryCollection': - var results = []; - geomEach(geojson, function (geometry) { - var buffered = buffer(geometry, radius, units, steps); - if (buffered) results.push(buffered); + case 'Polygon': + if (geometry.coordinates.length === 1) { + outFeatures.push(bufferPolygon(geometry, distanceDegrees, numSteps)); + } else { + // If a polygon has holes + var outFeature = null; + geometry.coordinates.forEach(function (coords, index) { + if (index === 0) { + outFeature = bufferPolygon(polygon([coords]), distanceDegrees, numSteps); + } else { + var hole = bufferPolygon(polygon([coords]), getOppositeDistance(distanceDegrees), numSteps, true); + outFeature.geometry.coordinates.push(hole.geometry.coordinates[0]); + } + }); + outFeatures.push(outFeature); + } + break; + case 'MultiPolygon': + geometry.coordinates.forEach(function (ringCoords, ringIndex) { // eslint-disable-line + // const isExterior = ringIndex === 0; + outFeatures.push(bufferPolygon(polygon(ringCoords), distanceDegrees, numSteps)); + }); + break; + case 'LineString': + outFeatures.push(bufferLineString(geometry, distanceDegrees, numSteps)); + break; + case 'Point': + outFeatures.push(bufferPoint(geometry, distanceDegrees, numSteps)); + break; + case 'MultiPoint': + geometry.coordinates.forEach(function (coords) { + outFeatures.push(bufferPoint(coords, distanceDegrees, numSteps)); }); - return featureCollection(results); } - // Project GeoJSON to Transverse Mercator projection (convert to Meters) - var distance = radiansToDistance(distanceToRadians(radius, units), 'meters'); - var projection = defineProjection(geojson); - var projected = { - type: geometry.type, - coordinates: projectCoords(geometry.coordinates, projection) - }; + return featureCollection(outFeatures); +}; - // JSTS buffer operation - var reader = new jsts.io.GeoJSONReader(); - var geom = reader.read(projected); - var buffered = geom.buffer(distance); - var writer = new jsts.io.GeoJSONWriter(); - buffered = writer.write(buffered); +function bufferPoint(geometry, distance, steps) { + return circle(geometry, distance, steps, 'degrees'); +} - // Detect if empty geometries - if (coordsIsNaN(buffered.coordinates)) return undefined; +function bufferPolygon(feature, distance, steps, inInterior) { + var coords = getCoords(feature); + var finalCoords = []; - // Unproject coordinates (convert to Degrees) - buffered.coordinates = unprojectCoords(buffered.coordinates, projection); - return feature(buffered, properties); -} + var prevCoords = coords[0][coords[0].length - 2]; + var nextCoords = null; -/** - * Coordinates isNaN - * - * @private - * @param {Array} coords GeoJSON Coordinates - * @returns {Boolean} if NaN exists - */ -function coordsIsNaN(coords) { - if (Array.isArray(coords[0])) return coordsIsNaN(coords[0]); - return isNaN(coords[0]); + coordEach(feature, function (currentCoords, index) { + if (index !== 0) { + prevCoords = coords[0][index - 1]; + } + if (index === coords[0].length - 1) { + nextCoords = coords[0][1]; + } else { + nextCoords = coords[0][index + 1]; + } + var bearingPrevCoords = bearing(point(currentCoords), point(prevCoords)); + var bearingNextCoords = bearing(point(currentCoords), point(nextCoords)); + var angleInDegs = bearingToAngle(bearingToAngle(bearingNextCoords) - bearingToAngle(bearingPrevCoords)); + + if (index > 0) { + var segment = processSegment(currentCoords, nextCoords, distance); + var prevSegment = processSegment(prevCoords, currentCoords, distance); + if (angleInDegs < 180 && !inInterior || inInterior && angleInDegs > 180) { + if (inInterior) { + var outsector = getJoin('round', currentCoords, distance, bearingPrevCoords - 180, bearingNextCoords + 180, steps); + finalCoords = finalCoords.concat(outsector.reverse()); + } else { + var outsector = getJoin('round', currentCoords, distance, bearingNextCoords, bearingPrevCoords, steps); + finalCoords = finalCoords.concat(outsector); + } + } else { + var intersects = checkLineIntersection(segment[0][0], segment[0][1], segment[1][0], segment[1][1], prevSegment[0][0], prevSegment[0][1], prevSegment[1][0], prevSegment[1][1]); + finalCoords.push([intersects.x, intersects.y]); + } + } + }); + finalCoords.push(finalCoords[0]); + return polygon([finalCoords], polygon.properties); } -/** - * Project coordinates to projection - * - * @private - * @param {Array} coords to project - * @param {GeoProjection} projection D3 Geo Projection - * @returns {Array} projected coordinates - */ -function projectCoords(coords, projection) { - if (typeof coords[0] !== 'object') return projection(coords); - return coords.map(function (coord) { - return projectCoords(coord, projection); +function bufferLineString(feature, distance, steps, endType, joinType) { + var coords = getCoords(feature); + var finalCoords = []; + var otherSideCoords = []; + var prevCoords = coords[coords.length - 2]; + var nextCoords = null; + var finalRounded = null; + coordEach(feature, function (currentCoords, index) { + if (index === 0) { + nextCoords = coords[index + 1]; + var bearingNextCoords = bearing(point(currentCoords), point(nextCoords)); + var startEndcap = getEnd('square', currentCoords, distance, bearingNextCoords, bearingNextCoords, steps); + finalCoords = finalCoords.concat(startEndcap); + } else if (index === coords.length - 1) { + prevCoords = coords[index - 1]; + var bearingPrevCoords = bearing(point(currentCoords), point(prevCoords)); + var endEndcap = getEnd('square', currentCoords, distance, bearingPrevCoords, bearingPrevCoords, steps); + finalRounded = endEndcap; + } else { + prevCoords = coords[index - 1]; + nextCoords = coords[index + 1]; + var bearingPrevCoords = bearing(point(currentCoords), point(prevCoords)); + var bearingNextCoords = bearing(point(currentCoords), point(nextCoords)); + var angleInDegs = bearingToAngle(bearingToAngle(bearingNextCoords) - bearingToAngle(bearingPrevCoords)); + + var segment = processSegment(currentCoords, nextCoords, distance); + var prevSegment = processSegment(prevCoords, currentCoords, distance); + + if (angleInDegs < 180) { + var outsector = getJoin('round', currentCoords, distance, bearingNextCoords, bearingPrevCoords, steps); + finalCoords = finalCoords.concat(outsector.reverse()); + var segmentRev = processSegment(currentCoords, nextCoords, -Math.abs(distance)); + var prevSegmentRev = processSegment(prevCoords, currentCoords, -Math.abs(distance)); + var intersects = checkLineIntersection(segmentRev[0][0], segmentRev[0][1], segmentRev[1][0], segmentRev[1][1], prevSegmentRev[0][0], prevSegmentRev[0][1], prevSegmentRev[1][0], prevSegmentRev[1][1]); + otherSideCoords.push([intersects.x, intersects.y]); + } else { + var intersects = checkLineIntersection(segment[0][0], segment[0][1], segment[1][0], segment[1][1], prevSegment[0][0], prevSegment[0][1], prevSegment[1][0], prevSegment[1][1]); + finalCoords.push([intersects.x, intersects.y]); + var outsector = getJoin('round', currentCoords, distance, bearingPrevCoords, bearingNextCoords, steps); + otherSideCoords = otherSideCoords.concat(outsector.reverse()); + } + } }); + finalCoords = finalCoords.concat(finalRounded); + finalCoords = finalCoords.concat(otherSideCoords.reverse()); + finalCoords.push(finalCoords[0]); + return polygon([finalCoords], feature.properties); +} + +function getJoin(joinType, coords, distance, bearingNextCoords, bearingPrevCoords, numSteps) { + switch (joinType) { + case 'round': + return createRounded(coords, distance, bearingNextCoords, bearingPrevCoords, numSteps); + case 'bevel': + return createBevel(feature, distance, numSteps); + case 'mitre': + return createMitre(feature, distance, numSteps); + } +} + +function getEnd(endType, coords, distance, bearingNextCoords, bearingPrevCoords, numSteps) { + switch (endType) { + case 'round': + return createRounded(coords, distance, bearingNextCoords, bearingPrevCoords, numSteps); + case 'square': + return createSquare(); + case 'flat': + return createFlat(coords); + } +} + +function createRounded(coords, distance, bearingNextCoords, bearingPrevCoords, numSteps) { + var arc = lineArc(point(coords), distance, bearingNextCoords + 90, bearingPrevCoords - 90, numSteps, 'degrees'); + return arc.geometry.coordinates.reverse(); +} + +function createSquare() { + return []; +} + +function createFlat() { + return []; } /** - * Un-Project coordinates to projection + * Process Segment + * Inspiration taken from http://stackoverflow.com/questions/2825412/draw-a-parallel-line * * @private - * @param {Array} coords to un-project - * @param {GeoProjection} projection D3 Geo Projection - * @returns {Array} un-projected coordinates + * @param {Array} point1 Point coordinates + * @param {Array} point2 Point coordinates + * @param {number} offset Offset + * @returns {Array>} offset points */ -function unprojectCoords(coords, projection) { - if (typeof coords[0] !== 'object') return projection.invert(coords); - return coords.map(function (coord) { - return unprojectCoords(coord, projection); - }); +function processSegment(point1, point2, offset) { + var L = Math.sqrt((point1[0] - point2[0]) * (point1[0] - point2[0]) + (point1[1] - point2[1]) * (point1[1] - point2[1])); + + var out1x = point1[0] + offset * (point2[1] - point1[1]) / L; + var out2x = point2[0] + offset * (point2[1] - point1[1]) / L; + var out1y = point1[1] + offset * (point1[0] - point2[0]) / L; + var out2y = point2[1] + offset * (point1[0] - point2[0]) / L; + return [[out1x, out1y], [out2x, out2y]]; } /** - * Define Transverse Mercator projection + * Check if lines intersect * * @private - * @param {Geometry|Feature} geojson Base projection on center of GeoJSON - * @returns {GeoProjection} D3 Geo Transverse Mercator Projection + * @param {Array} point1 Point coordinates + * @param {Array} point2 Point coordinates + * @returns {Array>} offset points */ -function defineProjection(geojson) { - var coords = center(geojson).geometry.coordinates.reverse(); - var rotate = coords.map(function (coord) { return -coord; }); - var projection = d3.geoTransverseMercator() - .center(coords) - .rotate(rotate) - .scale(6373000); - - return projection; +function checkLineIntersection(line1StartX, line1StartY, line1EndX, line1EndY, line2StartX, line2StartY, line2EndX, line2EndY) { + var denominator; + var a; + var b; + var numerator1; + var numerator2; + var result = { + x: null, + y: null, + onLine1: false, + onLine2: false + }; + denominator = ((line2EndY - line2StartY) * (line1EndX - line1StartX)) - ((line2EndX - line2StartX) * (line1EndY - line1StartY)); + if (denominator === 0) { + return result; + } + a = line1StartY - line2StartY; + b = line1StartX - line2StartX; + numerator1 = ((line2EndX - line2StartX) * a) - ((line2EndY - line2StartY) * b); + numerator2 = ((line1EndX - line1StartX) * a) - ((line1EndY - line1StartY) * b); + a = numerator1 / denominator; + b = numerator2 / denominator; + + result.x = line1StartX + (a * (line1EndX - line1StartX)); + result.y = line1StartY + (a * (line1EndY - line1StartY)); + + if (a > 0 && a < 1) { + result.onLine1 = true; + } + return result; +} + +function getOppositeDistance(distance) { + return distance > 0 ? -Math.abs(distance) : Math.abs(distance); } diff --git a/packages/turf-buffer/package.json b/packages/turf-buffer/package.json index 5b256422f3..7c9bf8bc68 100644 --- a/packages/turf-buffer/package.json +++ b/packages/turf-buffer/package.json @@ -1,12 +1,13 @@ { "name": "@turf/buffer", - "version": "4.6.1", - "description": "turf buffer module", + "version": "5.0.0", + "description": "turf-buffer module", "main": "index.js", "types": "index.d.ts", "files": [ "index.js", - "index.d.ts" + "index.d.ts", + "intersection.js" ], "scripts": { "test": "node test.js", @@ -17,17 +18,15 @@ "url": "git://github.com/Turfjs/turf.git" }, "keywords": [ - "buffer", - "offset", - "polygon", + "line", "linestring", - "point", - "geojson", - "turf" + "turf", + "offset", + "polygon" ], "author": "Turf Authors", "contributors": [ - "Tom MacWright <@tmcw>", + "Rowan Winsemius <@rowanwins>", "Denis Carriere <@DenisCarriere>" ], "license": "MIT", @@ -36,6 +35,7 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { + "@turf/buffer": "^4.6.1", "@turf/truncate": "^4.6.0", "benchmark": "^2.1.4", "load-json-file": "^2.0.0", @@ -43,10 +43,12 @@ "write-json-file": "^2.0.0" }, "dependencies": { - "@turf/center": "^4.6.1", - "@turf/helpers": "^4.6.0", - "@turf/meta": "^4.6.0", - "d3-geo": "^1.6.3", - "jsts": "1.3.0" + "@turf/bearing": "^4.3.0", + "@turf/center": "^4.4.0", + "@turf/destination": "^4.4.0", + "@turf/helpers": "^4.3.0", + "@turf/invariant": "^4.3.0", + "@turf/line-arc": "^4.3.0", + "@turf/meta": "^4.2.0" } } diff --git a/packages/turf-buffer/test.js b/packages/turf-buffer/test.js index 3bd72cd529..5148ba6f7e 100644 --- a/packages/turf-buffer/test.js +++ b/packages/turf-buffer/test.js @@ -4,8 +4,8 @@ const path = require('path'); const load = require('load-json-file'); const write = require('write-json-file'); const truncate = require('@turf/truncate'); -const {featureEach} = require('@turf/meta'); -const {featureCollection, point, polygon, geometryCollection} = require('@turf/helpers'); +const turfjsBuffer = require('@turf/buffer'); +const {featureCollection, lineString} = require('@turf/helpers'); const buffer = require('./'); const directories = { @@ -20,81 +20,30 @@ let fixtures = fs.readdirSync(directories.in).map(filename => { geojson: load.sync(directories.in + filename) }; }); -// fixtures = fixtures.filter(({name}) => name === 'feature-collection-points'); test('turf-buffer', t => { - for (const {filename, name, geojson} of fixtures) { - let {radius, units, steps} = geojson.properties || {}; - radius = radius || 50; - units = units || 'miles'; - - const buffered = truncate(buffer(geojson, radius, units, steps)); - - // Add Results to FeatureCollection - const results = featureCollection([]); - featureEach(buffered, feature => results.features.push(colorize(feature, '#F00'))); - featureEach(geojson, feature => results.features.push(colorize(feature, '#00F'))); - - if (process.env.REGEN) write.sync(directories.out + filename, results); - t.deepEqual(results, load.sync(directories.out + filename), name); + for (const {name, geojson} of fixtures) { + let {distance, units} = geojson.properties || {}; + distance = distance || 50; + const output = truncate(buffer(geojson, distance, units), 4); + output.properties.stroke = '#00F'; + const results = featureCollection([output, geojson]); + if (process.env.REGEN) write.sync(directories.out + name + '.geojson', results); + t.deepEqual(results, load.sync(directories.out + name + '.geojson'), name); } t.end(); }); -// https://github.com/Turfjs/turf/pull/736 -test('turf-buffer - Support Negative Buffer', t => { - const poly = polygon([[[11, 0], [22, 4], [31, 0], [31, 11], [21, 15], [11, 11], [11, 0]]]); - - t.assert(buffer(poly, -50), 'allow negative buffer param'); - t.end(); -}); - -test('turf-buffer - Support Geometry Objects', t => { - const pt = point([61, 5]); - const poly = polygon([[[11, 0], [22, 4], [31, 0], [31, 11], [21, 15], [11, 11], [11, 0]]]); - const gc = geometryCollection([pt.geometry, poly.geometry]); - - t.assert(buffer(gc, 10), 'support Geometry Collection'); - t.assert(buffer(pt.geometry, 10), 'support Point Geometry'); - t.assert(buffer(poly.geometry, 10), 'support Polygon Geometry'); - t.end(); -}); - -test('turf-buffer - Prevent Input Mutation', t => { - const pt = point([61, 5]); - const poly = polygon([[[11, 0], [22, 4], [31, 0], [31, 11], [21, 15], [11, 11], [11, 0]]]); - const collection = featureCollection([pt, poly]); - - const beforePt = JSON.parse(JSON.stringify(pt)); - const beforePoly = JSON.parse(JSON.stringify(poly)); - const beforeCollection = JSON.parse(JSON.stringify(collection)); - - buffer(pt, 10); - buffer(poly, 10); - buffer(collection, 10); - - t.deepEqual(pt, beforePt, 'pt should not mutate'); - t.deepEqual(poly, beforePoly, 'poly should not mutate'); - t.deepEqual(collection, beforeCollection, 'collection should not mutate'); - t.end(); -}); - -// https://github.com/Turfjs/turf/issues/745 -// https://github.com/Turfjs/turf/pull/736#issuecomment-301937747 -test('turf-buffer - morphological closing', t => { - const poly = polygon([[[11, 0], [22, 4], [31, 0], [31, 11], [21, 15], [11, 11], [11, 0]]]); - - t.equal(buffer(poly, -500, 'miles'), undefined, 'empty geometry should be undefined'); - t.deepEqual(buffer(featureCollection([poly]), -500, 'miles'), featureCollection([]), 'empty geometries should be an empty FeatureCollection'); +test('turf-buffer -- original @turf/buffer', t => { + for (const {name, geojson} of fixtures) { + let {distance, units} = geojson.properties || {}; + distance = distance || 50; + const output = truncate(turfjsBuffer(geojson, distance, units), 4); + output.properties.stroke = '#00F'; + const results = featureCollection([output, geojson]); + if (process.env.REGEN) write.sync(directories.out + 'turfjs-' + name + '.geojson', results); + t.deepEqual(results, load.sync(directories.out + 'turfjs-' + name + '.geojson'), name); + } t.end(); }); -function colorize(feature, color = '#F00') { - if (feature.properties) { - feature.properties.stroke = color; - feature.properties.fill = color; - feature.properties['marker-color'] = color; - feature.properties['fill-opacity'] = 0.3; - } - return feature; -} diff --git a/packages/turf-buffer/test/in/complex.geojson b/packages/turf-buffer/test/in/complex.geojson new file mode 100644 index 0000000000..e543d12c62 --- /dev/null +++ b/packages/turf-buffer/test/in/complex.geojson @@ -0,0 +1,55 @@ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 27.773437499999996, + 23.563987128451217 + ], + [ + 18.6328125, + 17.97873309555617 + ], + [ + 29.179687499999996, + 16.97274101999902 + ], + [ + 24.960937499999996, + 12.897489183755892 + ], + [ + 34.1015625, + 10.14193168613103 + ], + [ + 34.80468749999999, + 16.29905101458183 + ], + [ + 39.0234375, + 22.268764039073968 + ], + [ + 32.6953125, + 20.632784250388028 + ], + [ + 36.2109375, + 31.952162238024975 + ], + [ + 30.585937499999996, + 25.48295117535531 + ], + [ + 27.773437499999996, + 23.563987128451217 + ] + ] + ] + } + } \ No newline at end of file diff --git a/packages/turf-buffer/test/in/feature-collection-points.geojson b/packages/turf-buffer/test/in/feature-collection-points.geojson deleted file mode 100644 index 4222c3badb..0000000000 --- a/packages/turf-buffer/test/in/feature-collection-points.geojson +++ /dev/null @@ -1,58 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "marker-color": "#F00" - }, - "geometry": { - "type": "MultiPoint", - "coordinates": [ - [ - 135, - -25 - ], - [ - 130, - -20 - ], - [ - 125, - -25 - ], - [ - 126, - -25 - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#0F0" - }, - "geometry": { - "type": "Point", - "coordinates": [ - 130, - -27.5 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#00F" - }, - "geometry": { - "type": "Point", - "coordinates": [ - 126, - -24.5 - ] - } - } - ] -} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/geometry-collection-points.geojson b/packages/turf-buffer/test/in/geometry-collection-points.geojson deleted file mode 100644 index 7007e609eb..0000000000 --- a/packages/turf-buffer/test/in/geometry-collection-points.geojson +++ /dev/null @@ -1,29 +0,0 @@ -{ - "type": "GeometryCollection", - "geometries": [ - { - "type": "MultiPoint", - "coordinates": [ - [ - 135, - -25 - ], - [ - 130, - -20 - ], - [ - 125, - -25 - ] - ] - }, - { - "type": "Point", - "coordinates": [ - 130, - -27.5 - ] - } - ] -} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/issue-#783.geojson b/packages/turf-buffer/test/in/issue-#783.geojson deleted file mode 100644 index b9bc80c4f8..0000000000 --- a/packages/turf-buffer/test/in/issue-#783.geojson +++ /dev/null @@ -1,70 +0,0 @@ -{ - "type": "FeatureCollection", - "properties": { - "radius": 25, - "units": "meters" - }, - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 4.946893, - 52.509638 - ], - [ - 4.947357, - 52.509492 - ], - [ - 4.947427, - 52.509472 - ], - [ - 4.947761, - 52.509428 - ], - [ - 4.947331, - 52.509564 - ], - [ - 4.946736, - 52.509714 - ], - [ - 4.946893, - 52.509638 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - 4.946736, - 52.509714 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - 4.947761, - 52.509428 - ] - } - } - ] -} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/issue-#900.geojson b/packages/turf-buffer/test/in/issue-#900.geojson new file mode 100644 index 0000000000..b8b7e78a6b --- /dev/null +++ b/packages/turf-buffer/test/in/issue-#900.geojson @@ -0,0 +1,273 @@ +{ + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -86.85, + 21.025 + ], + [ + -86.53333, + 22.39167 + ], + [ + -86.45, + 22.765 + ], + [ + -86.35, + 23.21 + ], + [ + -86.15, + 24.04 + ], + [ + -85.33333, + 25.34167 + ], + [ + -85.26667, + 26.03 + ], + [ + -85.23333, + 26.38333 + ], + [ + -85.18333, + 26.5 + ], + [ + -84.78333, + 27.49333 + ], + [ + -83.41667, + 28 + ], + [ + -83.21667, + 28.175 + ], + [ + -82.63333, + 28.69 + ], + [ + -82.6, + 29.43 + ], + [ + -82.55, + 30.505 + ], + [ + -81.18333, + 32.14667 + ], + [ + -79.65, + 34.23333 + ], + [ + -79.48333, + 34.54333 + ], + [ + -78.93333, + 35.56667 + ], + [ + -78.78333, + 35.87333 + ], + [ + -78.53333, + 36.15833 + ], + [ + -78.16667, + 36.565 + ], + [ + -77.9, + 36.86167 + ], + [ + -77.31667, + 37.50167 + ], + [ + -76.83333, + 37.97 + ], + [ + -76.65, + 38.1 + ], + [ + -76.4, + 38.28833 + ], + [ + -76.01667, + 38.695 + ], + [ + -75.91667, + 38.80333 + ], + [ + -75.78333, + 38.94333 + ], + [ + -75.66667, + 39.06167 + ], + [ + -75.6, + 39.13833 + ], + [ + -75.51667, + 39.23167 + ], + [ + -74.41667, + 39.81667 + ], + [ + -73.7, + 40.205 + ], + [ + -72.31667, + 40.91833 + ], + [ + -71.56667, + 41.16667 + ], + [ + -70.01667, + 41.28167 + ], + [ + -67, + 42.63333 + ], + [ + -56.46667, + 45.60333 + ], + [ + -52, + 46.5 + ], + [ + -50.45, + 46.89 + ], + [ + -50, + 47 + ], + [ + -42.86667, + 47.805 + ], + [ + -40, + 48 + ], + [ + -38.03333, + 48.48 + ], + [ + -30, + 50 + ], + [ + -27.85, + 50.29 + ], + [ + -20, + 51 + ], + [ + -19.33333, + 51.01167 + ], + [ + -15, + 51 + ], + [ + -14, + 51 + ], + [ + -8.5, + 51 + ], + [ + -8.25, + 51 + ], + [ + -8, + 51 + ], + [ + -5.88333, + 50.935 + ], + [ + -3.98333, + 50.84333 + ], + [ + -2.65, + 50.76 + ], + [ + -2.51667, + 50.75 + ], + [ + -2.11667, + 50.675 + ], + [ + -1.6, + 50.575 + ], + [ + -0.93333, + 50.82 + ], + [ + -0.75, + 50.855 + ], + [ + -0.08333, + 50.88667 + ], + [ + -0.18333, + 50.985 + ], + [ + -0.18333, + 51.14833 + ] + ] + } +} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/multi-linestring.geojson b/packages/turf-buffer/test/in/multi-linestring.geojson deleted file mode 100644 index afa0aa41b0..0000000000 --- a/packages/turf-buffer/test/in/multi-linestring.geojson +++ /dev/null @@ -1,89 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "MultiLineString", - "coordinates": [ - [ - [ - 122.03613281249999, - -26.74561038219901 - ], - [ - 127.08984375000001, - -23.443088931121775 - ], - [ - 132.4072265625, - -21.453068633086772 - ], - [ - 138.9990234375, - -22.024545601240337 - ], - [ - 140.9765625, - -22.67484735118852 - ] - ], - [ - [ - 125.5517578125, - -18.521283325496263 - ], - [ - 130.6494140625, - -26.588527147308614 - ], - [ - 134.208984375, - -27.17646913189887 - ] - ], - [ - [ - 122.51953124999999, - -22.024545601240337 - ], - [ - 128.9794921875, - -19.062117883514652 - ], - [ - 134.5166015625, - -17.936928637549432 - ], - [ - 137.4169921875, - -19.84939395842278 - ], - [ - 138.427734375, - -23.68477416688374 - ], - [ - 133.59375, - -28.38173504322308 - ] - ], - [ - [ - 144.3603515625, - -22.55314747840318 - ], - [ - 144.580078125, - -25.403584973186703 - ], - [ - 142.11914062499997, - -29.458731185355315 - ], - [ - 139.7900390625, - -31.316101383495635 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/multi-point.geojson b/packages/turf-buffer/test/in/multi-point.geojson deleted file mode 100644 index c6efd91b7a..0000000000 --- a/packages/turf-buffer/test/in/multi-point.geojson +++ /dev/null @@ -1,23 +0,0 @@ -{ - "type": "Feature", - "properties": { - "radius": 300 - }, - "geometry": { - "type": "MultiPoint", - "coordinates": [ - [ - 145, - -25 - ], - [ - 130, - -20 - ], - [ - 125, - -25 - ] - ] - } -} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/multi-polygon.geojson b/packages/turf-buffer/test/in/multi-polygon.geojson deleted file mode 100644 index a34a8d8220..0000000000 --- a/packages/turf-buffer/test/in/multi-polygon.geojson +++ /dev/null @@ -1,109 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 121.9921875, - -31.466153715024284 - ], - [ - 134.4287109375, - -31.466153715024284 - ], - [ - 134.4287109375, - -18.729501999072138 - ], - [ - 121.9921875, - -18.729501999072138 - ], - [ - 121.9921875, - -31.466153715024284 - ] - ] - ], - [ - [ - [ - 125.3759765625, - -15.961329081596647 - ], - [ - 126.826171875, - -18.22935133838667 - ], - [ - 132.451171875, - -18.062312304546715 - ], - [ - 135.703125, - -14.519780046326085 - ], - [ - 139.6142578125, - -18.60460138845525 - ], - [ - 134.9560546875, - -24.607069137709694 - ], - [ - 134.7802734375, - -32.10118973232094 - ], - [ - 142.998046875, - -33.100745405144245 - ], - [ - 143.173828125, - -16.84660510639629 - ], - [ - 136.7138671875, - -12.46876014482322 - ], - [ - 131.2646484375, - -13.88074584202559 - ], - [ - 125.3759765625, - -15.961329081596647 - ] - ] - ], - [ - [ - [ - 129.111328125, - -36.27970720524016 - ], - [ - 131.8798828125, - -36.27970720524016 - ], - [ - 131.8798828125, - -34.234512362369856 - ], - [ - 129.111328125, - -34.234512362369856 - ], - [ - 129.111328125, - -36.27970720524016 - ] - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/negative-buffer.geojson b/packages/turf-buffer/test/in/negative-buffer.geojson deleted file mode 100644 index edbcc460cc..0000000000 --- a/packages/turf-buffer/test/in/negative-buffer.geojson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "type": "Feature", - "properties": { - "radius": -200, - "units": "miles" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 133.90136718749997, - -14.647368383896618 - ], - [ - 126.73828125, - -19.352610894378625 - ], - [ - 128.49609375, - -27.371767300523032 - ], - [ - 134.1650390625, - -30.789036751261136 - ], - [ - 143.7890625, - -30.789036751261136 - ], - [ - 144.9755859375, - -26.391869671769022 - ], - [ - 144.31640625, - -17.14079039331664 - ], - [ - 133.90136718749997, - -14.647368383896618 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/north-latitude-points.geojson b/packages/turf-buffer/test/in/north-latitude-points.geojson deleted file mode 100644 index 34ed746d6a..0000000000 --- a/packages/turf-buffer/test/in/north-latitude-points.geojson +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "MultiPoint", - "coordinates": [ - [ - -94.97955322265625, - 74.74046209428195 - ], - [ - -94.90264892578125, - 74.68325030051861 - ], - [ - -94.06494140625, - 74.7209322003536 - ] - ] - } -} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/northern-polygon.geojson b/packages/turf-buffer/test/in/northern-polygon.geojson deleted file mode 100644 index 3c13450d25..0000000000 --- a/packages/turf-buffer/test/in/northern-polygon.geojson +++ /dev/null @@ -1,44 +0,0 @@ - -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -94.81887817382812, - 74.69068515369659 - ], - [ - -94.79827880859375, - 74.71133916265154 - ], - [ - -94.82437133789062, - 74.73630499357218 - ], - [ - -94.89852905273438, - 74.73648576006866 - ], - [ - -94.976806640625, - 74.72400796764163 - ], - [ - -94.91363525390625, - 74.69032255967197 - ], - [ - -94.86488342285156, - 74.68959734647507 - ], - [ - -94.81887817382812, - 74.69068515369659 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/polyWithHole.geojson b/packages/turf-buffer/test/in/polyWithHole.geojson new file mode 100644 index 0000000000..461a082603 --- /dev/null +++ b/packages/turf-buffer/test/in/polyWithHole.geojson @@ -0,0 +1,6 @@ +{ "type": "Polygon", + "coordinates": [ + [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ], + [ [100.5, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.6, 0.7], [100.5, 0.2] ] + ] + } \ No newline at end of file diff --git a/packages/turf-buffer/test/in/polygon-with-holes.geojson b/packages/turf-buffer/test/in/polygon-with-holes.geojson deleted file mode 100644 index 8d5c6ddfaf..0000000000 --- a/packages/turf-buffer/test/in/polygon-with-holes.geojson +++ /dev/null @@ -1,69 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 124.18945312500001, - -24.607069137709694 - ], - [ - 128.49609375, - -31.278550858946517 - ], - [ - 138.33984375, - -31.728167146023935 - ], - [ - 144.84375, - -23.40276490540795 - ], - [ - 141.416015625, - -16.804541076383455 - ], - [ - 135.703125, - -13.667338259654947 - ], - [ - 130.4296875, - -13.581920900545844 - ], - [ - 124.892578125, - -13.923403897723334 - ], - [ - 124.18945312500001, - -24.607069137709694 - ] - ], - [ - [ - 129.79296875, - -27.019984007982554 - ], - [ - 139.0869140625, - -27.019984007982554 - ], - [ - 139.0869140625, - -17.392579271057766 - ], - [ - 127.79296875, - -17.392579271057766 - ], - [ - 129.79296875, - -27.019984007982554 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/turf-buffer/test/in/rectangle.geojson b/packages/turf-buffer/test/in/rectangle.geojson new file mode 100644 index 0000000000..448a16437a --- /dev/null +++ b/packages/turf-buffer/test/in/rectangle.geojson @@ -0,0 +1,27 @@ + + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 10,10 + ], + [ + 20,10 + ], + [ + 20,20 + ], + [ + 10,20 + ], + [ + 10,10 + ] + ] + ] + } + } \ No newline at end of file diff --git a/packages/turf-buffer/test/out/complex.geojson b/packages/turf-buffer/test/out/complex.geojson new file mode 100644 index 0000000000..0a940b6a5e --- /dev/null +++ b/packages/turf-buffer/test/out/complex.geojson @@ -0,0 +1,601 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "stroke": "#00F" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 18.363, + 18.348 + ], + [ + 18.3594, + 18.3456 + ], + [ + 18.3228, + 18.3183 + ], + [ + 18.2893, + 18.2878 + ], + [ + 18.2591, + 18.2542 + ], + [ + 18.2325, + 18.2181 + ], + [ + 18.2098, + 18.1796 + ], + [ + 18.1911, + 18.1392 + ], + [ + 18.1768, + 18.0972 + ], + [ + 18.1668, + 18.0542 + ], + [ + 18.1613, + 18.0104 + ], + [ + 18.1604, + 17.9663 + ], + [ + 18.164, + 17.9223 + ], + [ + 18.1722, + 17.8788 + ], + [ + 18.1847, + 17.8364 + ], + [ + 18.2016, + 17.7953 + ], + [ + 18.2226, + 17.756 + ], + [ + 18.2475, + 17.7188 + ], + [ + 18.2762, + 17.6841 + ], + [ + 18.3082, + 17.6523 + ], + [ + 18.3434, + 17.6236 + ], + [ + 18.3813, + 17.5983 + ], + [ + 18.4216, + 17.5767 + ], + [ + 18.464, + 17.5589 + ], + [ + 18.508, + 17.5452 + ], + [ + 18.5531, + 17.5357 + ], + [ + 18.5991, + 17.5304 + ], + [ + 28.1654, + 16.6179 + ], + [ + 24.6315, + 13.2123 + ], + [ + 24.6303, + 13.2111 + ], + [ + 24.6004, + 13.178 + ], + [ + 24.5739, + 13.1422 + ], + [ + 24.5512, + 13.104 + ], + [ + 24.5324, + 13.0639 + ], + [ + 24.5178, + 13.0222 + ], + [ + 24.5074, + 12.9792 + ], + [ + 24.5014, + 12.9355 + ], + [ + 24.4998, + 12.8914 + ], + [ + 24.5027, + 12.8474 + ], + [ + 24.51, + 12.8038 + ], + [ + 24.5216, + 12.7612 + ], + [ + 24.5375, + 12.7199 + ], + [ + 24.5574, + 12.6803 + ], + [ + 24.5812, + 12.6428 + ], + [ + 24.6086, + 12.6077 + ], + [ + 24.6394, + 12.5754 + ], + [ + 24.6733, + 12.5463 + ], + [ + 24.71, + 12.5205 + ], + [ + 24.749, + 12.4983 + ], + [ + 24.7901, + 12.48 + ], + [ + 24.8329, + 12.4657 + ], + [ + 33.9608, + 9.7143 + ], + [ + 33.9643, + 9.7132 + ], + [ + 34.0076, + 9.702 + ], + [ + 34.0518, + 9.6951 + ], + [ + 34.0965, + 9.6924 + ], + [ + 34.1412, + 9.6941 + ], + [ + 34.1855, + 9.7001 + ], + [ + 34.2291, + 9.7103 + ], + [ + 34.2714, + 9.7247 + ], + [ + 34.312, + 9.7431 + ], + [ + 34.3507, + 9.7653 + ], + [ + 34.387, + 9.7912 + ], + [ + 34.4205, + 9.8204 + ], + [ + 34.451, + 9.8527 + ], + [ + 34.4781, + 9.8878 + ], + [ + 34.5016, + 9.9254 + ], + [ + 34.5212, + 9.965 + ], + [ + 34.5369, + 10.0064 + ], + [ + 34.5483, + 10.049 + ], + [ + 34.5554, + 10.0926 + ], + [ + 35.2382, + 16.1337 + ], + [ + 39.4234, + 22.0141 + ], + [ + 39.4406, + 22.0391 + ], + [ + 39.463, + 22.078 + ], + [ + 39.4811, + 22.1188 + ], + [ + 39.4949, + 22.161 + ], + [ + 39.5041, + 22.2043 + ], + [ + 39.5086, + 22.2482 + ], + [ + 39.5086, + 22.2924 + ], + [ + 39.5038, + 22.3362 + ], + [ + 39.4944, + 22.3795 + ], + [ + 39.4805, + 22.4217 + ], + [ + 39.4621, + 22.4624 + ], + [ + 39.4395, + 22.5013 + ], + [ + 39.4129, + 22.5379 + ], + [ + 39.3825, + 22.5719 + ], + [ + 39.3486, + 22.603 + ], + [ + 39.3116, + 22.6309 + ], + [ + 39.2718, + 22.6553 + ], + [ + 39.2295, + 22.676 + ], + [ + 39.1853, + 22.6927 + ], + [ + 39.1395, + 22.7053 + ], + [ + 39.0925, + 22.7137 + ], + [ + 39.0449, + 22.7178 + ], + [ + 38.9971, + 22.7176 + ], + [ + 38.9495, + 22.7131 + ], + [ + 38.9027, + 22.7042 + ], + [ + 33.3639, + 21.2699 + ], + [ + 36.7185, + 31.8244 + ], + [ + 36.7189, + 31.8256 + ], + [ + 36.7312, + 31.8685 + ], + [ + 36.7385, + 31.9121 + ], + [ + 36.7407, + 31.9562 + ], + [ + 36.7378, + 32.0003 + ], + [ + 36.7298, + 32.0438 + ], + [ + 36.7169, + 32.0866 + ], + [ + 36.699, + 32.128 + ], + [ + 36.6764, + 32.1677 + ], + [ + 36.6493, + 32.2054 + ], + [ + 36.6179, + 32.2406 + ], + [ + 36.5825, + 32.2731 + ], + [ + 36.5436, + 32.3025 + ], + [ + 36.5014, + 32.3284 + ], + [ + 36.4564, + 32.3508 + ], + [ + 36.409, + 32.3693 + ], + [ + 36.3596, + 32.3837 + ], + [ + 36.3088, + 32.394 + ], + [ + 36.257, + 32.4 + ], + [ + 36.2048, + 32.4017 + ], + [ + 36.1527, + 32.399 + ], + [ + 36.1011, + 32.392 + ], + [ + 36.0506, + 32.3807 + ], + [ + 36.0017, + 32.3653 + ], + [ + 35.9548, + 32.3459 + ], + [ + 35.9104, + 32.3227 + ], + [ + 35.8689, + 32.2959 + ], + [ + 35.8308, + 32.2658 + ], + [ + 35.7963, + 32.2327 + ], + [ + 30.2847, + 25.8216 + ], + [ + 27.5294, + 23.9417 + ], + [ + 18.363, + 18.348 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 27.773437499999996, + 23.563987128451217 + ], + [ + 18.6328125, + 17.97873309555617 + ], + [ + 29.179687499999996, + 16.97274101999902 + ], + [ + 24.960937499999996, + 12.897489183755892 + ], + [ + 34.1015625, + 10.14193168613103 + ], + [ + 34.80468749999999, + 16.29905101458183 + ], + [ + 39.0234375, + 22.268764039073968 + ], + [ + 32.6953125, + 20.632784250388028 + ], + [ + 36.2109375, + 31.952162238024975 + ], + [ + 30.585937499999996, + 25.48295117535531 + ], + [ + 27.773437499999996, + 23.563987128451217 + ] + ] + ] + } + } + ] +} diff --git a/packages/turf-buffer/test/out/feature-collection-points.geojson b/packages/turf-buffer/test/out/feature-collection-points.geojson deleted file mode 100644 index ee059ce237..0000000000 --- a/packages/turf-buffer/test/out/feature-collection-points.geojson +++ /dev/null @@ -1,857 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "marker-color": "#F00", - "stroke": "#F00", - "fill": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 125.497448, - -25.441814 - ], - [ - 125.573872, - -25.506487 - ], - [ - 125.691223, - -25.572339 - ], - [ - 125.8208, - -25.616238 - ], - [ - 125.957602, - -25.636394 - ], - [ - 126.096297, - -25.631936 - ], - [ - 126.231442, - -25.602958 - ], - [ - 126.357703, - -25.550528 - ], - [ - 126.470091, - -25.476654 - ], - [ - 126.564168, - -25.384205 - ], - [ - 126.636239, - -25.276801 - ], - [ - 126.683505, - -25.158659 - ], - [ - 126.704174, - -25.034418 - ], - [ - 126.697527, - -24.908948 - ], - [ - 126.663932, - -24.787146 - ], - [ - 126.604812, - -24.673736 - ], - [ - 126.522573, - -24.573086 - ], - [ - 126.420491, - -24.489032 - ], - [ - 126.302566, - -24.424742 - ], - [ - 126.17336, - -24.382599 - ], - [ - 126.03782, - -24.364124 - ], - [ - 125.901082, - -24.369933 - ], - [ - 125.768295, - -24.399725 - ], - [ - 125.644431, - -24.452309 - ], - [ - 125.534115, - -24.525655 - ], - [ - 125.498476, - -24.560828 - ], - [ - 125.422294, - -24.496898 - ], - [ - 125.306004, - -24.432143 - ], - [ - 125.178303, - -24.389257 - ], - [ - 125.044083, - -24.369789 - ], - [ - 124.908434, - -24.37439 - ], - [ - 124.776462, - -24.402805 - ], - [ - 124.653109, - -24.453892 - ], - [ - 124.542979, - -24.525676 - ], - [ - 124.450184, - -24.615425 - ], - [ - 124.378204, - -24.719752 - ], - [ - 124.329765, - -24.834735 - ], - [ - 124.306744, - -24.956059 - ], - [ - 124.31009, - -25.079158 - ], - [ - 124.339784, - -25.199384 - ], - [ - 124.394819, - -25.312167 - ], - [ - 124.473221, - -25.413185 - ], - [ - 124.572102, - -25.498527 - ], - [ - 124.687749, - -25.564849 - ], - [ - 124.815757, - -25.609513 - ], - [ - 124.95119, - -25.630699 - ], - [ - 125.088771, - -25.627494 - ], - [ - 125.2231, - -25.599941 - ], - [ - 125.348878, - -25.54905 - ], - [ - 125.46113, - -25.476767 - ], - [ - 125.497448, - -25.441814 - ] - ] - ], - [ - [ - [ - 129.319503, - -19.884768 - ], - [ - 129.308342, - -20.011406 - ], - [ - 129.323552, - -20.137701 - ], - [ - 129.364643, - -20.258864 - ], - [ - 129.430151, - -20.370279 - ], - [ - 129.517673, - -20.467668 - ], - [ - 129.623942, - -20.547256 - ], - [ - 129.74494, - -20.605924 - ], - [ - 129.876038, - -20.641332 - ], - [ - 130.012173, - -20.65203 - ], - [ - 130.148047, - -20.637522 - ], - [ - 130.278338, - -20.5983 - ], - [ - 130.397926, - -20.535835 - ], - [ - 130.5021, - -20.452525 - ], - [ - 130.586765, - -20.351605 - ], - [ - 130.648606, - -20.237016 - ], - [ - 130.685229, - -20.113242 - ], - [ - 130.695253, - -19.985129 - ], - [ - 130.678359, - -19.857682 - ], - [ - 130.635293, - -19.735864 - ], - [ - 130.56782, - -19.624391 - ], - [ - 130.478642, - -19.52755 - ], - [ - 130.371277, - -19.449032 - ], - [ - 130.249911, - -19.391795 - ], - [ - 130.119229, - -19.357959 - ], - [ - 129.984231, - -19.348736 - ], - [ - 129.850042, - -19.364397 - ], - [ - 129.721726, - -19.404274 - ], - [ - 129.604104, - -19.466797 - ], - [ - 129.501586, - -19.549559 - ], - [ - 129.418016, - -19.649407 - ], - [ - 129.356543, - -19.762566 - ], - [ - 129.319503, - -19.884768 - ] - ] - ], - [ - [ - [ - 134.264876, - -24.881453 - ], - [ - 134.253056, - -25.013449 - ], - [ - 134.269762, - -25.145034 - ], - [ - 134.314471, - -25.271206 - ], - [ - 134.385594, - -25.387137 - ], - [ - 134.480517, - -25.488361 - ], - [ - 134.595683, - -25.570944 - ], - [ - 134.726714, - -25.631645 - ], - [ - 134.86857, - -25.668047 - ], - [ - 135.015746, - -25.678667 - ], - [ - 135.16249, - -25.663022 - ], - [ - 135.30304, - -25.621665 - ], - [ - 135.431864, - -25.556165 - ], - [ - 135.543895, - -25.469053 - ], - [ - 135.634742, - -25.363723 - ], - [ - 135.700874, - -25.244289 - ], - [ - 135.739757, - -25.115424 - ], - [ - 135.749953, - -24.98216 - ], - [ - 135.731165, - -24.849689 - ], - [ - 135.684233, - -24.723151 - ], - [ - 135.611084, - -24.607427 - ], - [ - 135.51464, - -24.506952 - ], - [ - 135.398691, - -24.425546 - ], - [ - 135.267733, - -24.366272 - ], - [ - 135.126796, - -24.331329 - ], - [ - 134.981244, - -24.321978 - ], - [ - 134.836583, - -24.338508 - ], - [ - 134.698257, - -24.380232 - ], - [ - 134.57146, - -24.445525 - ], - [ - 134.460949, - -24.531887 - ], - [ - 134.370884, - -24.636039 - ], - [ - 134.304678, - -24.754046 - ], - [ - 134.264876, - -24.881453 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#F00", - "stroke": "#F00", - "fill": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 129.249007, - -27.370428 - ], - [ - 129.234463, - -27.502623 - ], - [ - 129.249152, - -27.634828 - ], - [ - 129.292639, - -27.762017 - ], - [ - 129.363395, - -27.879322 - ], - [ - 129.458831, - -27.98222 - ], - [ - 129.575375, - -28.066711 - ], - [ - 129.708598, - -28.129474 - ], - [ - 129.853373, - -28.168011 - ], - [ - 130.004071, - -28.180753 - ], - [ - 130.154795, - -28.167136 - ], - [ - 130.299615, - -28.127634 - ], - [ - 130.432823, - -28.063748 - ], - [ - 130.549174, - -27.97795 - ], - [ - 130.644106, - -27.873586 - ], - [ - 130.713928, - -27.754739 - ], - [ - 130.755972, - -27.626061 - ], - [ - 130.768686, - -27.492581 - ], - [ - 130.751689, - -27.359499 - ], - [ - 130.705765, - -27.231978 - ], - [ - 130.632815, - -27.114934 - ], - [ - 130.535762, - -27.012851 - ], - [ - 130.418423, - -26.929606 - ], - [ - 130.28535, - -26.868329 - ], - [ - 130.141647, - -26.831293 - ], - [ - 129.992778, - -26.819837 - ], - [ - 129.844364, - -26.83433 - ], - [ - 129.701982, - -26.874165 - ], - [ - 129.570968, - -26.937789 - ], - [ - 129.456234, - -27.022771 - ], - [ - 129.362095, - -27.125889 - ], - [ - 129.292122, - -27.24325 - ], - [ - 129.249007, - -27.370428 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#F00", - "stroke": "#F00", - "fill": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 125.310835, - -24.351129 - ], - [ - 125.291806, - -24.476 - ], - [ - 125.299747, - -24.601887 - ], - [ - 125.334463, - -24.724028 - ], - [ - 125.394754, - -24.837769 - ], - [ - 125.478437, - -24.938746 - ], - [ - 125.582408, - -25.023045 - ], - [ - 125.702751, - -25.087361 - ], - [ - 125.834865, - -25.129131 - ], - [ - 125.973646, - -25.146654 - ], - [ - 126.113684, - -25.139164 - ], - [ - 126.24948, - -25.106876 - ], - [ - 126.375682, - -25.050992 - ], - [ - 126.487306, - -24.973656 - ], - [ - 126.579952, - -24.877875 - ], - [ - 126.64999, - -24.767396 - ], - [ - 126.694705, - -24.646553 - ], - [ - 126.712411, - -24.520086 - ], - [ - 126.702505, - -24.392945 - ], - [ - 126.665481, - -24.270084 - ], - [ - 126.60289, - -24.156265 - ], - [ - 126.517267, - -24.055866 - ], - [ - 126.412008, - -23.972712 - ], - [ - 126.291228, - -23.909934 - ], - [ - 126.159594, - -23.869859 - ], - [ - 126.022136, - -23.853933 - ], - [ - 125.884064, - -23.862677 - ], - [ - 125.750577, - -23.895686 - ], - [ - 125.626675, - -23.951647 - ], - [ - 125.516992, - -24.028405 - ], - [ - 125.425632, - -24.123041 - ], - [ - 125.356031, - -24.231982 - ], - [ - 125.310835, - -24.351129 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#00F", - "stroke": "#00F", - "fill": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "MultiPoint", - "coordinates": [ - [ - 135, - -25 - ], - [ - 130, - -20 - ], - [ - 125, - -25 - ], - [ - 126, - -25 - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#00F", - "stroke": "#00F", - "fill": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Point", - "coordinates": [ - 130, - -27.5 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#00F", - "stroke": "#00F", - "fill": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Point", - "coordinates": [ - 126, - -24.5 - ] - } - } - ] -} diff --git a/packages/turf-buffer/test/out/geometry-collection-points.geojson b/packages/turf-buffer/test/out/geometry-collection-points.geojson deleted file mode 100644 index 0ca49520fd..0000000000 --- a/packages/turf-buffer/test/out/geometry-collection-points.geojson +++ /dev/null @@ -1,575 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 124.329765, - -24.834735 - ], - [ - 124.306744, - -24.956059 - ], - [ - 124.31009, - -25.079158 - ], - [ - 124.339784, - -25.199384 - ], - [ - 124.394819, - -25.312167 - ], - [ - 124.473221, - -25.413185 - ], - [ - 124.572102, - -25.498527 - ], - [ - 124.687749, - -25.564849 - ], - [ - 124.815757, - -25.609513 - ], - [ - 124.95119, - -25.630699 - ], - [ - 125.088771, - -25.627494 - ], - [ - 125.2231, - -25.599941 - ], - [ - 125.348878, - -25.54905 - ], - [ - 125.46113, - -25.476767 - ], - [ - 125.555421, - -25.3859 - ], - [ - 125.628043, - -25.280006 - ], - [ - 125.676174, - -25.163245 - ], - [ - 125.697983, - -25.040204 - ], - [ - 125.692705, - -24.915708 - ], - [ - 125.660654, - -24.794621 - ], - [ - 125.603195, - -24.681641 - ], - [ - 125.522671, - -24.581123 - ], - [ - 125.422294, - -24.496898 - ], - [ - 125.306004, - -24.432143 - ], - [ - 125.178303, - -24.389257 - ], - [ - 125.044083, - -24.369789 - ], - [ - 124.908434, - -24.37439 - ], - [ - 124.776462, - -24.402805 - ], - [ - 124.653109, - -24.453892 - ], - [ - 124.542979, - -24.525676 - ], - [ - 124.450184, - -24.615425 - ], - [ - 124.378204, - -24.719752 - ], - [ - 124.329765, - -24.834735 - ] - ] - ], - [ - [ - [ - 129.319503, - -19.884768 - ], - [ - 129.308342, - -20.011406 - ], - [ - 129.323552, - -20.137701 - ], - [ - 129.364643, - -20.258864 - ], - [ - 129.430151, - -20.370279 - ], - [ - 129.517673, - -20.467668 - ], - [ - 129.623942, - -20.547256 - ], - [ - 129.74494, - -20.605924 - ], - [ - 129.876038, - -20.641332 - ], - [ - 130.012173, - -20.65203 - ], - [ - 130.148047, - -20.637522 - ], - [ - 130.278338, - -20.5983 - ], - [ - 130.397926, - -20.535835 - ], - [ - 130.5021, - -20.452525 - ], - [ - 130.586765, - -20.351605 - ], - [ - 130.648606, - -20.237016 - ], - [ - 130.685229, - -20.113242 - ], - [ - 130.695253, - -19.985129 - ], - [ - 130.678359, - -19.857682 - ], - [ - 130.635293, - -19.735864 - ], - [ - 130.56782, - -19.624391 - ], - [ - 130.478642, - -19.52755 - ], - [ - 130.371277, - -19.449032 - ], - [ - 130.249911, - -19.391795 - ], - [ - 130.119229, - -19.357959 - ], - [ - 129.984231, - -19.348736 - ], - [ - 129.850042, - -19.364397 - ], - [ - 129.721726, - -19.404274 - ], - [ - 129.604104, - -19.466797 - ], - [ - 129.501586, - -19.549559 - ], - [ - 129.418016, - -19.649407 - ], - [ - 129.356543, - -19.762566 - ], - [ - 129.319503, - -19.884768 - ] - ] - ], - [ - [ - [ - 134.264876, - -24.881453 - ], - [ - 134.253056, - -25.013449 - ], - [ - 134.269762, - -25.145034 - ], - [ - 134.314471, - -25.271206 - ], - [ - 134.385594, - -25.387137 - ], - [ - 134.480517, - -25.488361 - ], - [ - 134.595683, - -25.570944 - ], - [ - 134.726714, - -25.631645 - ], - [ - 134.86857, - -25.668047 - ], - [ - 135.015746, - -25.678667 - ], - [ - 135.16249, - -25.663022 - ], - [ - 135.30304, - -25.621665 - ], - [ - 135.431864, - -25.556165 - ], - [ - 135.543895, - -25.469053 - ], - [ - 135.634742, - -25.363723 - ], - [ - 135.700874, - -25.244289 - ], - [ - 135.739757, - -25.115424 - ], - [ - 135.749953, - -24.98216 - ], - [ - 135.731165, - -24.849689 - ], - [ - 135.684233, - -24.723151 - ], - [ - 135.611084, - -24.607427 - ], - [ - 135.51464, - -24.506952 - ], - [ - 135.398691, - -24.425546 - ], - [ - 135.267733, - -24.366272 - ], - [ - 135.126796, - -24.331329 - ], - [ - 134.981244, - -24.321978 - ], - [ - 134.836583, - -24.338508 - ], - [ - 134.698257, - -24.380232 - ], - [ - 134.57146, - -24.445525 - ], - [ - 134.460949, - -24.531887 - ], - [ - 134.370884, - -24.636039 - ], - [ - 134.304678, - -24.754046 - ], - [ - 134.264876, - -24.881453 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 129.249007, - -27.370428 - ], - [ - 129.234463, - -27.502623 - ], - [ - 129.249152, - -27.634828 - ], - [ - 129.292639, - -27.762017 - ], - [ - 129.363395, - -27.879322 - ], - [ - 129.458831, - -27.98222 - ], - [ - 129.575375, - -28.066711 - ], - [ - 129.708598, - -28.129474 - ], - [ - 129.853373, - -28.168011 - ], - [ - 130.004071, - -28.180753 - ], - [ - 130.154795, - -28.167136 - ], - [ - 130.299615, - -28.127634 - ], - [ - 130.432823, - -28.063748 - ], - [ - 130.549174, - -27.97795 - ], - [ - 130.644106, - -27.873586 - ], - [ - 130.713928, - -27.754739 - ], - [ - 130.755972, - -27.626061 - ], - [ - 130.768686, - -27.492581 - ], - [ - 130.751689, - -27.359499 - ], - [ - 130.705765, - -27.231978 - ], - [ - 130.632815, - -27.114934 - ], - [ - 130.535762, - -27.012851 - ], - [ - 130.418423, - -26.929606 - ], - [ - 130.28535, - -26.868329 - ], - [ - 130.141647, - -26.831293 - ], - [ - 129.992778, - -26.819837 - ], - [ - 129.844364, - -26.83433 - ], - [ - 129.701982, - -26.874165 - ], - [ - 129.570968, - -26.937789 - ], - [ - 129.456234, - -27.022771 - ], - [ - 129.362095, - -27.125889 - ], - [ - 129.292122, - -27.24325 - ], - [ - 129.249007, - -27.370428 - ] - ] - ] - } - } - ] -} diff --git a/packages/turf-buffer/test/out/issue-#783.geojson b/packages/turf-buffer/test/out/issue-#783.geojson deleted file mode 100644 index ab28c879d4..0000000000 --- a/packages/turf-buffer/test/out/issue-#783.geojson +++ /dev/null @@ -1,557 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 4.946688, - 52.509481 - ], - [ - 4.946741, - 52.50946 - ], - [ - 4.947205, - 52.509314 - ], - [ - 4.947217, - 52.50931 - ], - [ - 4.947287, - 52.50929 - ], - [ - 4.947357, - 52.509276 - ], - [ - 4.947691, - 52.509232 - ], - [ - 4.947754, - 52.509227 - ], - [ - 4.947817, - 52.50923 - ], - [ - 4.947878, - 52.50924 - ], - [ - 4.947934, - 52.509257 - ], - [ - 4.947985, - 52.50928 - ], - [ - 4.948027, - 52.509309 - ], - [ - 4.948059, - 52.509342 - ], - [ - 4.948081, - 52.509378 - ], - [ - 4.94809, - 52.509416 - ], - [ - 4.948088, - 52.509455 - ], - [ - 4.948074, - 52.509492 - ], - [ - 4.948048, - 52.509527 - ], - [ - 4.948012, - 52.509559 - ], - [ - 4.947966, - 52.509585 - ], - [ - 4.947913, - 52.509606 - ], - [ - 4.947483, - 52.509742 - ], - [ - 4.947457, - 52.50975 - ], - [ - 4.946862, - 52.5099 - ], - [ - 4.946802, - 52.509911 - ], - [ - 4.94674, - 52.509915 - ], - [ - 4.946677, - 52.509912 - ], - [ - 4.946617, - 52.509901 - ], - [ - 4.94656, - 52.509884 - ], - [ - 4.946511, - 52.509861 - ], - [ - 4.946469, - 52.509832 - ], - [ - 4.946437, - 52.509799 - ], - [ - 4.946416, - 52.509763 - ], - [ - 4.946407, - 52.509725 - ], - [ - 4.946409, - 52.509687 - ], - [ - 4.946423, - 52.50965 - ], - [ - 4.946449, - 52.509615 - ], - [ - 4.946485, - 52.509583 - ], - [ - 4.946531, - 52.509557 - ], - [ - 4.946688, - 52.509481 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 4.946985, - 52.509846 - ], - [ - 4.946938, - 52.509873 - ], - [ - 4.946883, - 52.509894 - ], - [ - 4.946823, - 52.509908 - ], - [ - 4.946759, - 52.509914 - ], - [ - 4.946695, - 52.509913 - ], - [ - 4.946632, - 52.509904 - ], - [ - 4.946573, - 52.509888 - ], - [ - 4.94652, - 52.509866 - ], - [ - 4.946475, - 52.509837 - ], - [ - 4.946441, - 52.509804 - ], - [ - 4.946418, - 52.509767 - ], - [ - 4.946407, - 52.509728 - ], - [ - 4.946409, - 52.509689 - ], - [ - 4.946423, - 52.50965 - ], - [ - 4.946449, - 52.509615 - ], - [ - 4.946487, - 52.509582 - ], - [ - 4.946534, - 52.509555 - ], - [ - 4.946589, - 52.509534 - ], - [ - 4.946649, - 52.50952 - ], - [ - 4.946713, - 52.509514 - ], - [ - 4.946777, - 52.509515 - ], - [ - 4.94684, - 52.509524 - ], - [ - 4.946899, - 52.50954 - ], - [ - 4.946952, - 52.509562 - ], - [ - 4.946997, - 52.509591 - ], - [ - 4.947031, - 52.509624 - ], - [ - 4.947054, - 52.509661 - ], - [ - 4.947065, - 52.5097 - ], - [ - 4.947063, - 52.509739 - ], - [ - 4.947049, - 52.509778 - ], - [ - 4.947023, - 52.509813 - ], - [ - 4.946985, - 52.509846 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 4.94801, - 52.50956 - ], - [ - 4.947963, - 52.509587 - ], - [ - 4.947908, - 52.509608 - ], - [ - 4.947848, - 52.509622 - ], - [ - 4.947784, - 52.509628 - ], - [ - 4.94772, - 52.509627 - ], - [ - 4.947657, - 52.509618 - ], - [ - 4.947598, - 52.509602 - ], - [ - 4.947545, - 52.50958 - ], - [ - 4.9475, - 52.509551 - ], - [ - 4.947466, - 52.509518 - ], - [ - 4.947443, - 52.509481 - ], - [ - 4.947432, - 52.509442 - ], - [ - 4.947434, - 52.509403 - ], - [ - 4.947448, - 52.509364 - ], - [ - 4.947474, - 52.509329 - ], - [ - 4.947512, - 52.509296 - ], - [ - 4.947559, - 52.509269 - ], - [ - 4.947614, - 52.509248 - ], - [ - 4.947674, - 52.509234 - ], - [ - 4.947738, - 52.509228 - ], - [ - 4.947802, - 52.509229 - ], - [ - 4.947865, - 52.509238 - ], - [ - 4.947924, - 52.509254 - ], - [ - 4.947977, - 52.509276 - ], - [ - 4.948022, - 52.509305 - ], - [ - 4.948056, - 52.509338 - ], - [ - 4.948079, - 52.509375 - ], - [ - 4.94809, - 52.509414 - ], - [ - 4.948088, - 52.509453 - ], - [ - 4.948074, - 52.509492 - ], - [ - 4.948048, - 52.509527 - ], - [ - 4.94801, - 52.50956 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 4.946893, - 52.509638 - ], - [ - 4.947357, - 52.509492 - ], - [ - 4.947427, - 52.509472 - ], - [ - 4.947761, - 52.509428 - ], - [ - 4.947331, - 52.509564 - ], - [ - 4.946736, - 52.509714 - ], - [ - 4.946893, - 52.509638 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Point", - "coordinates": [ - 4.946736, - 52.509714 - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Point", - "coordinates": [ - 4.947761, - 52.509428 - ] - } - } - ] -} diff --git a/packages/turf-buffer/test/out/issue-#900.geojson b/packages/turf-buffer/test/out/issue-#900.geojson new file mode 100644 index 0000000000..412b552224 --- /dev/null +++ b/packages/turf-buffer/test/out/issue-#900.geojson @@ -0,0 +1,1427 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "stroke": "#00F" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -86.0574, + 22.3004 + ], + [ + -86.0585, + 22.2959 + ], + [ + -86.0113, + 22.6668 + ], + [ + -85.9122, + 23.1081 + ], + [ + -85.7302, + 23.8633 + ], + [ + -84.838, + 25.3019 + ], + [ + -84.8448, + 25.2582 + ], + [ + -84.8563, + 25.2153 + ], + [ + -84.8723, + 25.1737 + ], + [ + -84.8928, + 25.1336 + ], + [ + -84.9028, + 25.1173 + ], + [ + -84.7683, + 25.9913 + ], + [ + -84.7685, + 25.99 + ], + [ + -84.7924, + 26.271 + ], + [ + -84.7109, + 26.3481 + ], + [ + -84.7151, + 26.3381 + ], + [ + -84.4406, + 27.141 + ], + [ + -83.0589, + 27.6806 + ], + [ + -83.096, + 27.6512 + ], + [ + -83.1362, + 27.6251 + ], + [ + -83.179, + 27.6027 + ], + [ + -83.2233, + 27.5843 + ], + [ + -82.8556, + 27.8581 + ], + [ + -82.8589, + 27.8551 + ], + [ + -82.1214, + 28.6714 + ], + [ + -82.126, + 28.6275 + ], + [ + -82.1356, + 28.5842 + ], + [ + -82.1499, + 28.5419 + ], + [ + -82.1688, + 28.501 + ], + [ + -82.1922, + 28.462 + ], + [ + -82.2198, + 28.4252 + ], + [ + -82.2514, + 28.3909 + ], + [ + -82.2722, + 28.3715 + ], + [ + -82.151, + 29.4094 + ], + [ + -82.108, + 30.3334 + ], + [ + -80.7302, + 31.9132 + ], + [ + -80.7538, + 31.8832 + ], + [ + -79.1539, + 34.0504 + ], + [ + -79.178, + 34.011 + ], + [ + -79.1903, + 33.9942 + ], + [ + -78.9843, + 34.3624 + ], + [ + -78.9858, + 34.3597 + ], + [ + -78.4206, + 35.4 + ], + [ + -78.4293, + 35.3835 + ], + [ + -78.4059, + 35.622 + ], + [ + -78.1974, + 35.8596 + ], + [ + -77.7137, + 36.3019 + ], + [ + -77.716, + 36.2994 + ], + [ + -77.4459, + 36.5978 + ], + [ + -77.4462, + 36.5975 + ], + [ + -76.9938, + 37.1885 + ], + [ + -76.5452, + 37.6232 + ], + [ + -76.2559, + 37.7752 + ], + [ + -76.27, + 37.765 + ], + [ + -75.9401, + 38.0213 + ], + [ + -75.9756, + 37.9872 + ], + [ + -76.006, + 37.9627 + ], + [ + -75.5508, + 38.4316 + ], + [ + -75.5556, + 38.4265 + ], + [ + -75.5887, + 38.4958 + ], + [ + -75.4605, + 38.6305 + ], + [ + -75.1884, + 38.8094 + ], + [ + -75.2091, + 38.7872 + ], + [ + -75.2627, + 38.8411 + ], + [ + -75.2348, + 38.8725 + ], + [ + -74.0786, + 39.4503 + ], + [ + -74.0892, + 39.4446 + ], + [ + -73.4899, + 39.8076 + ], + [ + -72.1419, + 40.5027 + ], + [ + -71.4781, + 40.7225 + ], + [ + -69.7009, + 40.9003 + ], + [ + -69.7519, + 40.8789 + ], + [ + -69.8054, + 40.8613 + ], + [ + -69.8609, + 40.8478 + ], + [ + -69.9179, + 40.8384 + ], + [ + -69.9636, + 40.8339 + ], + [ + -66.8463, + 42.2096 + ], + [ + -56.2724, + 45.175 + ], + [ + -56.2727, + 45.175 + ], + [ + -51.7708, + 46.0793 + ], + [ + -51.8314, + 46.0658 + ], + [ + -51.8376, + 46.0647 + ], + [ + -50.2282, + 46.467 + ], + [ + -50.2313, + 46.4663 + ], + [ + -49.9211, + 46.5565 + ], + [ + -42.7875, + 47.3587 + ], + [ + -42.7878, + 47.3586 + ], + [ + -39.7627, + 47.5797 + ], + [ + -39.825, + 47.5661 + ], + [ + -39.8888, + 47.5567 + ], + [ + -39.9451, + 47.552 + ], + [ + -37.9382, + 48.0405 + ], + [ + -29.9281, + 49.5561 + ], + [ + -27.7153, + 49.8489 + ], + [ + -27.7163, + 49.8488 + ], + [ + -19.9758, + 50.5508 + ], + [ + -19.3156, + 50.5623 + ], + [ + -19.3169, + 50.5623 + ], + [ + -14.9952, + 50.5505 + ], + [ + -15.0238, + 50.5507 + ], + [ + -13.9736, + 50.5508 + ], + [ + -14.0048, + 50.5505 + ], + [ + -8.4988, + 50.5505 + ], + [ + -8.5264, + 50.5508 + ], + [ + -8.2488, + 50.5505 + ], + [ + -8.2512, + 50.5505 + ], + [ + -8.0069, + 50.5505 + ], + [ + -5.9011, + 50.4858 + ], + [ + -4.0082, + 50.3945 + ], + [ + -2.6808, + 50.3115 + ], + [ + -2.5751, + 50.3036 + ], + [ + -2.2008, + 50.2334 + ], + [ + -1.245, + 50.1867 + ], + [ + -1.3062, + 50.1664 + ], + [ + -1.3701, + 50.1501 + ], + [ + -1.4362, + 50.1378 + ], + [ + -1.5039, + 50.1297 + ], + [ + -1.5724, + 50.1258 + ], + [ + -1.6412, + 50.1263 + ], + [ + -1.7096, + 50.131 + ], + [ + -1.777, + 50.1399 + ], + [ + -1.807, + 50.1453 + ], + [ + -0.8128, + 50.3854 + ], + [ + -0.6969, + 50.4075 + ], + [ + 0.52, + 51.1274 + ], + [ + 0.5544, + 51.089 + ], + [ + 0.5826, + 51.0486 + ], + [ + 0.6043, + 51.0066 + ], + [ + 0.6193, + 50.9635 + ], + [ + 0.6276, + 50.9197 + ], + [ + 0.6289, + 50.8756 + ], + [ + 0.6234, + 50.8316 + ], + [ + 0.6112, + 50.7882 + ], + [ + 0.5923, + 50.7457 + ], + [ + 0.5669, + 50.7047 + ], + [ + 0.5354, + 50.6653 + ], + [ + 0.498, + 50.6281 + ], + [ + 0.4551, + 50.5934 + ], + [ + 0.407, + 50.5616 + ], + [ + 0.3544, + 50.5328 + ], + [ + 0.2977, + 50.5074 + ], + [ + 0.2373, + 50.4857 + ], + [ + 0.174, + 50.4678 + ], + [ + 0.1082, + 50.4539 + ], + [ + 0.0407, + 50.4441 + ], + [ + -0.0281, + 50.4385 + ], + [ + -0.0335, + 50.4383 + ], + [ + 0.2662, + 51.1734 + ], + [ + -0.8974, + 50.9828 + ], + [ + -0.8946, + 50.947 + ], + [ + -0.8849, + 50.9033 + ], + [ + -0.8685, + 50.8605 + ], + [ + -0.8456, + 50.8188 + ], + [ + -0.8164, + 50.7787 + ], + [ + -0.7811, + 50.7407 + ], + [ + -1.1315, + 51.2869 + ], + [ + -0.8072, + 51.3031 + ], + [ + -0.8189, + 51.3024 + ], + [ + -0.8887, + 51.296 + ], + [ + -0.9571, + 51.2853 + ], + [ + -1.142, + 51.2499 + ], + [ + -1.1625, + 51.2458 + ], + [ + -1.228, + 51.2295 + ], + [ + -1.2906, + 51.2093 + ], + [ + -1.6375, + 51.0401 + ], + [ + -1.9101, + 51.1052 + ], + [ + -1.9116, + 51.1055 + ], + [ + -2.3149, + 51.1812 + ], + [ + -2.3622, + 51.1889 + ], + [ + -2.4316, + 51.1963 + ], + [ + -2.5662, + 51.2064 + ], + [ + -2.573, + 51.2069 + ], + [ + -3.9191, + 51.291 + ], + [ + -3.9193, + 51.291 + ], + [ + -5.8377, + 51.3836 + ], + [ + -5.8379, + 51.3836 + ], + [ + -7.9752, + 51.4493 + ], + [ + -7.9988, + 51.4495 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + 0, + 0 + ], + [ + -14.9994, + 51.4495 + ], + [ + -19.3367, + 51.4612 + ], + [ + -20.0233, + 51.4493 + ], + [ + -20.0637, + 51.4477 + ], + [ + -27.9003, + 50.7368 + ], + [ + -30.1553, + 50.4384 + ], + [ + -30.1599, + 50.4377 + ], + [ + -38.258, + 48.9043 + ], + [ + -38.2604, + 48.9038 + ], + [ + -40.0691, + 48.4459 + ], + [ + -42.9071, + 48.2528 + ], + [ + -50.1391, + 47.4395 + ], + [ + -50.1598, + 47.4362 + ], + [ + -50.2222, + 47.4234 + ], + [ + -50.5582, + 47.3263 + ], + [ + -52.0991, + 46.9386 + ], + [ + -56.5721, + 46.0407 + ], + [ + -67.2605, + 43.0402 + ], + [ + -67.3079, + 43.022 + ], + [ + -70.1285, + 41.7241 + ], + [ + -71.631, + 41.6136 + ], + [ + -71.6356, + 41.6132 + ], + [ + -71.6938, + 41.606 + ], + [ + -71.7507, + 41.5945 + ], + [ + -71.8059, + 41.5788 + ], + [ + -72.5597, + 41.3289 + ], + [ + -72.5985, + 41.3146 + ], + [ + -72.6488, + 41.2918 + ], + [ + -74.0362, + 40.5745 + ], + [ + -74.0398, + 40.5725 + ], + [ + -74.6293, + 40.2127 + ], + [ + -75.8507, + 39.5997 + ], + [ + -75.8791, + 39.5833 + ], + [ + -75.922, + 39.5541 + ], + [ + -75.9609, + 39.5218 + ], + [ + -75.9955, + 39.4867 + ], + [ + -76.0785, + 39.393 + ], + [ + -76.082, + 39.3889 + ], + [ + -75.9966, + 39.3673 + ], + [ + -76.2441, + 39.2156 + ], + [ + -76.2491, + 39.2104 + ], + [ + -76.382, + 39.0699 + ], + [ + -76.3863, + 39.0652 + ], + [ + -76.3454, + 39.0016 + ], + [ + -76.7009, + 38.6244 + ], + [ + -76.9153, + 38.4629 + ], + [ + -77.217, + 38.3032 + ], + [ + -77.2383, + 38.2871 + ], + [ + -77.2759, + 38.2543 + ], + [ + -77.7582, + 37.7842 + ], + [ + -77.7758, + 37.766 + ], + [ + -78.2333, + 37.1633 + ], + [ + -78.5008, + 36.8658 + ], + [ + -78.986, + 36.4209 + ], + [ + -78.9885, + 36.4181 + ], + [ + -79.2377, + 36.1321 + ], + [ + -79.2503, + 36.1169 + ], + [ + -79.2774, + 36.0787 + ], + [ + -79.2998, + 36.0385 + ], + [ + -79.3334, + 35.7719 + ], + [ + -79.8793, + 34.7562 + ], + [ + -80.031, + 34.474 + ], + [ + -81.5375, + 32.4238 + ], + [ + -82.9782, + 30.7625 + ], + [ + -83.0009, + 30.732 + ], + [ + -83.0245, + 30.6928 + ], + [ + -83.0435, + 30.6519 + ], + [ + -83.0577, + 30.6095 + ], + [ + -83.0671, + 30.5661 + ], + [ + -83.0714, + 30.5222 + ], + [ + -83.1158, + 29.447 + ], + [ + -83.1158, + 29.4468 + ], + [ + -83.0738, + 28.9008 + ], + [ + -83.5134, + 28.5126 + ], + [ + -83.6505, + 28.3927 + ], + [ + -84.9825, + 27.9068 + ], + [ + -84.9997, + 27.9 + ], + [ + -85.0437, + 27.8792 + ], + [ + -85.0852, + 27.8547 + ], + [ + -85.1237, + 27.8267 + ], + [ + -85.159, + 27.7955 + ], + [ + -85.1906, + 27.7614 + ], + [ + -85.2183, + 27.7247 + ], + [ + -85.2417, + 27.6858 + ], + [ + -85.2607, + 27.645 + ], + [ + -85.5985, + 26.6725 + ], + [ + -85.7025, + 26.5435 + ], + [ + -85.716, + 26.5072 + ], + [ + -85.7271, + 26.4642 + ], + [ + -85.7335, + 26.4204 + ], + [ + -85.7141, + 26.0728 + ], + [ + -85.7705, + 25.4907 + ], + [ + -86.5791, + 24.2609 + ], + [ + -86.5797, + 24.2598 + ], + [ + -86.6012, + 24.2203 + ], + [ + -86.6183, + 24.1791 + ], + [ + -86.6309, + 24.1365 + ], + [ + -86.828, + 23.3059 + ], + [ + -86.8293, + 23.3005 + ], + [ + -86.9277, + 22.8552 + ], + [ + -86.9277, + 22.8552 + ], + [ + -86.9717, + 22.4914 + ], + [ + -86.0574, + 22.3004 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -86.85, + 21.025 + ], + [ + -86.53333, + 22.39167 + ], + [ + -86.45, + 22.765 + ], + [ + -86.35, + 23.21 + ], + [ + -86.15, + 24.04 + ], + [ + -85.33333, + 25.34167 + ], + [ + -85.26667, + 26.03 + ], + [ + -85.23333, + 26.38333 + ], + [ + -85.18333, + 26.5 + ], + [ + -84.78333, + 27.49333 + ], + [ + -83.41667, + 28 + ], + [ + -83.21667, + 28.175 + ], + [ + -82.63333, + 28.69 + ], + [ + -82.6, + 29.43 + ], + [ + -82.55, + 30.505 + ], + [ + -81.18333, + 32.14667 + ], + [ + -79.65, + 34.23333 + ], + [ + -79.48333, + 34.54333 + ], + [ + -78.93333, + 35.56667 + ], + [ + -78.78333, + 35.87333 + ], + [ + -78.53333, + 36.15833 + ], + [ + -78.16667, + 36.565 + ], + [ + -77.9, + 36.86167 + ], + [ + -77.31667, + 37.50167 + ], + [ + -76.83333, + 37.97 + ], + [ + -76.65, + 38.1 + ], + [ + -76.4, + 38.28833 + ], + [ + -76.01667, + 38.695 + ], + [ + -75.91667, + 38.80333 + ], + [ + -75.78333, + 38.94333 + ], + [ + -75.66667, + 39.06167 + ], + [ + -75.6, + 39.13833 + ], + [ + -75.51667, + 39.23167 + ], + [ + -74.41667, + 39.81667 + ], + [ + -73.7, + 40.205 + ], + [ + -72.31667, + 40.91833 + ], + [ + -71.56667, + 41.16667 + ], + [ + -70.01667, + 41.28167 + ], + [ + -67, + 42.63333 + ], + [ + -56.46667, + 45.60333 + ], + [ + -52, + 46.5 + ], + [ + -50.45, + 46.89 + ], + [ + -50, + 47 + ], + [ + -42.86667, + 47.805 + ], + [ + -40, + 48 + ], + [ + -38.03333, + 48.48 + ], + [ + -30, + 50 + ], + [ + -27.85, + 50.29 + ], + [ + -20, + 51 + ], + [ + -19.33333, + 51.01167 + ], + [ + -15, + 51 + ], + [ + -14, + 51 + ], + [ + -8.5, + 51 + ], + [ + -8.25, + 51 + ], + [ + -8, + 51 + ], + [ + -5.88333, + 50.935 + ], + [ + -3.98333, + 50.84333 + ], + [ + -2.65, + 50.76 + ], + [ + -2.51667, + 50.75 + ], + [ + -2.11667, + 50.675 + ], + [ + -1.6, + 50.575 + ], + [ + -0.93333, + 50.82 + ], + [ + -0.75, + 50.855 + ], + [ + -0.08333, + 50.88667 + ], + [ + -0.18333, + 50.985 + ], + [ + -0.18333, + 51.14833 + ] + ] + } + } + ] +} diff --git a/packages/turf-buffer/test/out/linestring.geojson b/packages/turf-buffer/test/out/linestring.geojson index 0926325be4..2125ea5cac 100644 --- a/packages/turf-buffer/test/out/linestring.geojson +++ b/packages/turf-buffer/test/out/linestring.geojson @@ -4,250 +4,171 @@ { "type": "Feature", "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 + "stroke": "#00F" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ - 127.179629, - -24.84549 + 126.9556, + -24.7078 ], [ - 132.7951, - -21.461464 + 132.6827, + -21.2358 ], [ - 137.060116, - -21.100164 + 137.1201, + -20.8439 ], [ - 141.772782, - -23.233465 + 142.0063, + -23.038 ], [ - 146.065612, - -28.941805 + 146.43, + -28.8608 ], [ - 146.288407, - -31.484625 + 147.3758, + -28.6528 ], [ - 146.316726, - -31.62343 + 147.3732, + -28.6326 ], [ - 146.376391, - -31.754864 + 147.3642, + -28.5892 ], [ - 146.465239, - -31.873852 + 147.3504, + -28.5468 ], [ - 146.579944, - -31.975772 + 147.3319, + -28.5058 ], [ - 146.716132, - -32.056643 + 147.309, + -28.4665 ], [ - 146.868544, - -32.113288 + 147.2818, + -28.4294 ], [ - 147.031238, - -32.143467 + 142.7008, + -22.4267 ], [ - 147.197835, - -32.145974 + 142.6829, + -22.4035 ], [ - 147.361781, - -32.120689 + 142.6522, + -22.3697 ], [ - 147.516626, - -32.068589 + 142.6182, + -22.3388 ], [ - 147.656293, - -31.991706 + 142.581, + -22.3112 ], [ - 147.775334, - -31.893047 + 142.541, + -22.2871 ], [ - 147.869149, - -31.776469 + 142.4988, + -22.2667 ], [ - 147.934168, - -31.646517 + 137.4121, + -19.9841 ], [ - 147.96798, - -31.508244 + 137.3758, + -19.9687 ], [ - 147.969413, - -31.367006 + 137.3314, + -19.9543 ], [ - 147.682096, - -28.627291 + 137.2858, + -19.9441 ], [ - 147.656446, - -28.503054 + 137.2393, + -19.938 ], [ - 147.606556, - -28.384666 + 137.1924, + -19.9363 ], [ - 147.534038, - -28.275753 + 137.1456, + -19.9389 ], [ - 142.932568, - -22.276461 + 132.5009, + -20.3491 ], [ - 142.844438, - -22.177136 + 132.4867, + -20.3504 ], [ - 142.738583, - -22.094091 + 132.4403, + -20.3573 ], [ - 142.618472, - -22.029998 + 132.3947, + -20.3685 ], [ - 137.526022, - -19.761265 + 132.3506, + -20.3838 ], [ - 137.394036, - -19.714295 + 132.3082, + -20.403 ], [ - 137.255116, - -19.691671 + 132.2681, + -20.4261 ], [ - 137.114257, - -19.694155 + 126.3887, + -23.9862 ], [ - 132.481913, - -20.1199 + 126.3708, + -23.9969 ], [ - 132.354125, - -20.140511 + 126.3324, + -24.0237 ], [ - 132.23233, - -20.182071 + 126.2971, + -24.0537 ], [ - 132.120363, - -20.243224 + 126.2651, + -24.0868 ], [ - 126.278203, - -23.806252 + 126.2368, + -24.1225 ], [ - 126.141432, - -23.904585 - ], - [ - 126.034373, - -24.029923 - ], - [ - 120.520202, - -31.187861 - ], - [ - 120.442338, - -31.293656 - ], - [ - 120.389817, - -31.41031 - ], - [ - 120.364703, - -31.53345 - ], - [ - 120.368064, - -31.658444 - ], - [ - 120.399922, - -31.780563 - ], - [ - 120.459225, - -31.895156 - ], - [ - 120.543865, - -31.997814 - ], - [ - 120.65073, - -32.084546 - ], - [ - 120.775799, - -32.151938 - ], - [ - 120.914288, - -32.197296 - ], - [ - 121.060827, - -32.218765 - ], - [ - 121.209671, - -32.215418 - ], - [ - 121.354944, - -32.187312 - ], - [ - 121.490885, - -32.135488 - ], - [ - 121.612102, - -32.061945 - ], - [ - 121.7138, - -31.969557 - ], - [ - 127.179629, - -24.84549 + 126.9556, + -24.7078 ] ] ] @@ -255,12 +176,7 @@ }, { "type": "Feature", - "properties": { - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, + "properties": {}, "geometry": { "type": "LineString", "coordinates": [ diff --git a/packages/turf-buffer/test/out/multi-linestring.geojson b/packages/turf-buffer/test/out/multi-linestring.geojson deleted file mode 100644 index a40ecf18bf..0000000000 --- a/packages/turf-buffer/test/out/multi-linestring.geojson +++ /dev/null @@ -1,877 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 138.963575, - -22.755779 - ], - [ - 140.722778, - -23.338851 - ], - [ - 140.868695, - -23.371907 - ], - [ - 141.018947, - -23.378059 - ], - [ - 141.167668, - -23.357021 - ], - [ - 141.309035, - -23.309574 - ], - [ - 141.437513, - -23.237537 - ], - [ - 141.548077, - -23.143699 - ], - [ - 141.636424, - -23.031711 - ], - [ - 141.699146, - -22.905933 - ], - [ - 141.733858, - -22.771262 - ], - [ - 141.739289, - -22.63293 - ], - [ - 141.715318, - -22.496301 - ], - [ - 141.662969, - -22.366651 - ], - [ - 141.58435, - -22.248968 - ], - [ - 141.482564, - -22.147755 - ], - [ - 141.361576, - -22.066862 - ], - [ - 141.22605, - -22.009344 - ], - [ - 139.253068, - -21.367075 - ], - [ - 139.050957, - -21.327971 - ], - [ - 138.570912, - -21.2971 - ], - [ - 138.131189, - -19.678453 - ], - [ - 138.086768, - -19.560874 - ], - [ - 138.020768, - -19.452729 - ], - [ - 137.935388, - -19.357506 - ], - [ - 137.833436, - -19.278257 - ], - [ - 134.92567, - -17.378088 - ], - [ - 134.793618, - -17.309111 - ], - [ - 134.649541, - -17.268055 - ], - [ - 134.499815, - -17.256653 - ], - [ - 134.351024, - -17.275327 - ], - [ - 128.848118, - -18.418147 - ], - [ - 128.747036, - -18.444535 - ], - [ - 128.651341, - -18.485024 - ], - [ - 126.883691, - -19.366787 - ], - [ - 126.127691, - -18.189632 - ], - [ - 126.04802, - -18.089462 - ], - [ - 125.949439, - -18.006083 - ], - [ - 125.835813, - -17.942651 - ], - [ - 125.711551, - -17.901529 - ], - [ - 125.581428, - -17.884207 - ], - [ - 125.450404, - -17.891261 - ], - [ - 125.323434, - -17.922342 - ], - [ - 125.205298, - -17.976201 - ], - [ - 125.100423, - -18.050748 - ], - [ - 125.012735, - -18.143131 - ], - [ - 124.945523, - -18.24985 - ], - [ - 124.901325, - -18.366879 - ], - [ - 124.881836, - -18.489811 - ], - [ - 124.887848, - -18.614014 - ], - [ - 124.919209, - -18.734795 - ], - [ - 124.974818, - -18.847568 - ], - [ - 125.662031, - -19.948621 - ], - [ - 122.24716, - -21.454048 - ], - [ - 122.133106, - -21.514315 - ], - [ - 122.033775, - -21.593913 - ], - [ - 121.952878, - -21.689819 - ], - [ - 121.893454, - -21.798417 - ], - [ - 121.857762, - -21.915625 - ], - [ - 121.8472, - -22.03704 - ], - [ - 121.862244, - -22.158089 - ], - [ - 121.902423, - -22.274192 - ], - [ - 121.966323, - -22.380928 - ], - [ - 122.051613, - -22.474196 - ], - [ - 122.155124, - -22.550373 - ], - [ - 122.27295, - -22.60646 - ], - [ - 122.400585, - -22.640208 - ], - [ - 122.533095, - -22.65022 - ], - [ - 122.665312, - -22.636017 - ], - [ - 122.792044, - -22.598074 - ], - [ - 126.354163, - -21.061842 - ], - [ - 127.344527, - -22.658641 - ], - [ - 126.842608, - -22.833575 - ], - [ - 126.74456, - -22.875527 - ], - [ - 126.654583, - -22.930669 - ], - [ - 121.647483, - -26.221779 - ], - [ - 121.541237, - -26.299456 - ], - [ - 121.453724, - -26.394029 - ], - [ - 121.388235, - -26.501942 - ], - [ - 121.347269, - -26.619144 - ], - [ - 121.332438, - -26.741237 - ], - [ - 121.344404, - -26.863625 - ], - [ - 121.382835, - -26.981675 - ], - [ - 121.446403, - -27.090887 - ], - [ - 121.532809, - -27.187059 - ], - [ - 121.638852, - -27.26645 - ], - [ - 121.760528, - -27.325929 - ], - [ - 121.89318, - -27.363112 - ], - [ - 122.031664, - -27.376462 - ], - [ - 122.170564, - -27.365371 - ], - [ - 122.304408, - -27.330197 - ], - [ - 122.427902, - -27.272255 - ], - [ - 127.440944, - -24.020062 - ], - [ - 128.058146, - -23.809378 - ], - [ - 129.996506, - -26.918122 - ], - [ - 130.08917, - -27.034467 - ], - [ - 130.207651, - -27.130702 - ], - [ - 130.346645, - -27.202362 - ], - [ - 130.499838, - -27.246073 - ], - [ - 133.247148, - -27.719839 - ], - [ - 133.044138, - -27.901008 - ], - [ - 132.948478, - -28.004437 - ], - [ - 132.877256, - -28.122235 - ], - [ - 132.833215, - -28.24996 - ], - [ - 132.818111, - -28.382789 - ], - [ - 132.83263, - -28.515691 - ], - [ - 132.87635, - -28.64361 - ], - [ - 132.947737, - -28.761647 - ], - [ - 133.044179, - -28.865251 - ], - [ - 133.162065, - -28.950391 - ], - [ - 133.296913, - -29.01372 - ], - [ - 133.443529, - -29.052719 - ], - [ - 133.596209, - -29.065801 - ], - [ - 133.748973, - -29.052391 - ], - [ - 133.895808, - -29.012958 - ], - [ - 134.030926, - -28.949001 - ], - [ - 134.149004, - -28.862997 - ], - [ - 139.00529, - -24.141559 - ], - [ - 139.089186, - -24.03352 - ], - [ - 139.149083, - -23.912889 - ], - [ - 139.182853, - -23.784058 - ], - [ - 139.189343, - -23.651707 - ], - [ - 139.168403, - -23.520633 - ], - [ - 138.963575, - -22.755779 - ] - ], - [ - [ - 128.680831, - -22.177308 - ], - [ - 127.59663, - -20.480632 - ], - [ - 129.213925, - -19.689252 - ], - [ - 134.366289, - -18.669247 - ], - [ - 136.769312, - -20.268231 - ], - [ - 137.007725, - -21.18678 - ], - [ - 132.488313, - -20.783345 - ], - [ - 132.361774, - -20.780693 - ], - [ - 132.236764, - -20.798657 - ], - [ - 132.11707, - -20.836647 - ], - [ - 128.680831, - -22.177308 - ] - ], - [ - [ - 129.417057, - -23.328463 - ], - [ - 132.517384, - -22.144236 - ], - [ - 137.37204, - -22.604614 - ], - [ - 137.599264, - -23.496739 - ], - [ - 134.519742, - -26.552539 - ], - [ - 134.481209, - -26.535579 - ], - [ - 134.336165, - -26.500841 - ], - [ - 131.128008, - -25.988029 - ], - [ - 129.417057, - -23.328463 - ] - ] - ], - [ - [ - [ - 143.779693, - -25.250726 - ], - [ - 141.472348, - -29.017999 - ], - [ - 139.242461, - -30.79206 - ], - [ - 139.133762, - -30.893304 - ], - [ - 139.049896, - -31.010678 - ], - [ - 138.994101, - -31.139748 - ], - [ - 138.96859, - -31.275632 - ], - [ - 138.974464, - -31.413172 - ], - [ - 139.011645, - -31.547125 - ], - [ - 139.078859, - -31.672355 - ], - [ - 139.173662, - -31.784029 - ], - [ - 139.29251, - -31.877808 - ], - [ - 139.43088, - -31.950016 - ], - [ - 139.583437, - -31.997796 - ], - [ - 139.744237, - -32.019235 - ], - [ - 139.906974, - -32.013443 - ], - [ - 140.06524, - -31.980606 - ], - [ - 140.212795, - -31.921976 - ], - [ - 140.343832, - -31.839832 - ], - [ - 142.683119, - -29.972093 - ], - [ - 142.764988, - -29.893115 - ], - [ - 142.832217, - -29.804373 - ], - [ - 145.283538, - -25.730189 - ], - [ - 145.337075, - -25.610063 - ], - [ - 145.365561, - -25.483174 - ], - [ - 145.368128, - -25.353728 - ], - [ - 145.129816, - -22.49857 - ], - [ - 145.103073, - -22.360888 - ], - [ - 145.047831, - -22.230698 - ], - [ - 144.966301, - -22.112998 - ], - [ - 144.861685, - -22.012288 - ], - [ - 144.738043, - -21.932397 - ], - [ - 144.600129, - -21.876345 - ], - [ - 144.453212, - -21.846235 - ], - [ - 144.302873, - -21.843173 - ], - [ - 144.154806, - -21.867241 - ], - [ - 144.014606, - -21.917495 - ], - [ - 143.887571, - -21.992003 - ], - [ - 143.778509, - -22.087925 - ], - [ - 143.691566, - -22.201613 - ], - [ - 143.630075, - -22.32875 - ], - [ - 143.596426, - -22.464508 - ], - [ - 143.591976, - -22.603721 - ], - [ - 143.779693, - -25.250726 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "MultiLineString", - "coordinates": [ - [ - [ - 122.03613281249999, - -26.74561038219901 - ], - [ - 127.08984375000001, - -23.443088931121775 - ], - [ - 132.4072265625, - -21.453068633086772 - ], - [ - 138.9990234375, - -22.024545601240337 - ], - [ - 140.9765625, - -22.67484735118852 - ] - ], - [ - [ - 125.5517578125, - -18.521283325496263 - ], - [ - 130.6494140625, - -26.588527147308614 - ], - [ - 134.208984375, - -27.17646913189887 - ] - ], - [ - [ - 122.51953124999999, - -22.024545601240337 - ], - [ - 128.9794921875, - -19.062117883514652 - ], - [ - 134.5166015625, - -17.936928637549432 - ], - [ - 137.4169921875, - -19.84939395842278 - ], - [ - 138.427734375, - -23.68477416688374 - ], - [ - 133.59375, - -28.38173504322308 - ] - ], - [ - [ - 144.3603515625, - -22.55314747840318 - ], - [ - 144.580078125, - -25.403584973186703 - ], - [ - 142.11914062499997, - -29.458731185355315 - ], - [ - 139.7900390625, - -31.316101383495635 - ] - ] - ] - } - } - ] -} diff --git a/packages/turf-buffer/test/out/multi-point.geojson b/packages/turf-buffer/test/out/multi-point.geojson deleted file mode 100644 index a871f9ed74..0000000000 --- a/packages/turf-buffer/test/out/multi-point.geojson +++ /dev/null @@ -1,415 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "radius": 300, - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 128.998625, - -23.781884 - ], - [ - 129.182121, - -23.836246 - ], - [ - 130.017829, - -23.922948 - ], - [ - 130.860649, - -23.853 - ], - [ - 131.673992, - -23.626746 - ], - [ - 132.421912, - -23.251778 - ], - [ - 133.071346, - -22.742766 - ], - [ - 133.594102, - -22.120771 - ], - [ - 133.968395, - -21.412129 - ], - [ - 134.179821, - -20.647016 - ], - [ - 134.221753, - -19.857844 - ], - [ - 134.095248, - -19.077602 - ], - [ - 133.808545, - -18.338267 - ], - [ - 133.376271, - -17.669336 - ], - [ - 132.818422, - -17.096573 - ], - [ - 132.159211, - -16.641014 - ], - [ - 131.425814, - -16.318268 - ], - [ - 130.647105, - -16.138147 - ], - [ - 129.852435, - -16.104627 - ], - [ - 129.070532, - -16.216103 - ], - [ - 128.328587, - -16.465874 - ], - [ - 127.651549, - -16.842789 - ], - [ - 127.061637, - -17.331944 - ], - [ - 126.57803, - -17.915369 - ], - [ - 126.216677, - -18.572633 - ], - [ - 125.990139, - -19.281363 - ], - [ - 125.907395, - -20.017668 - ], - [ - 125.973552, - -20.756537 - ], - [ - 126.159401, - -21.372065 - ], - [ - 125.984613, - -21.31865 - ], - [ - 125.196057, - -21.22705 - ], - [ - 124.408943, - -21.275472 - ], - [ - 123.650203, - -21.459269 - ], - [ - 122.944822, - -21.769516 - ], - [ - 122.315411, - -22.193652 - ], - [ - 121.781954, - -22.716096 - ], - [ - 121.361649, - -23.318781 - ], - [ - 121.068782, - -23.981585 - ], - [ - 120.914538, - -24.682674 - ], - [ - 120.906695, - -25.398791 - ], - [ - 121.049155, - -26.105573 - ], - [ - 121.341331, - -26.77796 - ], - [ - 121.777439, - -27.390772 - ], - [ - 122.345827, - -27.919527 - ], - [ - 123.028505, - -28.341491 - ], - [ - 123.801086, - -28.636933 - ], - [ - 124.633312, - -28.790473 - ], - [ - 125.490271, - -28.792372 - ], - [ - 126.334268, - -28.639558 - ], - [ - 127.127168, - -28.336244 - ], - [ - 127.832925, - -27.893996 - ], - [ - 128.41995, - -27.331231 - ], - [ - 128.863019, - -26.67221 - ], - [ - 129.144547, - -25.945627 - ], - [ - 129.255186, - -25.182967 - ], - [ - 129.19378, - -24.41678 - ], - [ - 128.998625, - -23.781884 - ] - ] - ], - [ - [ - [ - 140.379503, - -24.535017 - ], - [ - 140.351361, - -25.354603 - ], - [ - 140.498163, - -26.164494 - ], - [ - 140.8187, - -26.934679 - ], - [ - 141.30526, - -27.63557 - ], - [ - 141.943081, - -28.23908 - ], - [ - 142.710106, - -28.719865 - ], - [ - 143.577256, - -29.056689 - ], - [ - 144.509373, - -29.233776 - ], - [ - 145.466876, - -29.241962 - ], - [ - 146.408022, - -29.079502 - ], - [ - 147.291517, - -28.752364 - ], - [ - 148.079108, - -28.273986 - ], - [ - 148.737827, - -27.6645 - ], - [ - 149.241622, - -26.949566 - ], - [ - 149.572303, - -26.158957 - ], - [ - 149.719825, - -25.325042 - ], - [ - 149.682068, - -24.481303 - ], - [ - 149.464281, - -23.660926 - ], - [ - 149.078318, - -22.895538 - ], - [ - 148.54178, - -22.214054 - ], - [ - 147.877105, - -21.64168 - ], - [ - 147.110598, - -21.199055 - ], - [ - 146.27142, - -20.901589 - ], - [ - 145.390545, - -20.759006 - ], - [ - 144.499685, - -20.775145 - ], - [ - 143.630275, - -20.948012 - ], - [ - 142.812523, - -21.270069 - ], - [ - 142.074605, - -21.728717 - ], - [ - 141.441996, - -22.306897 - ], - [ - 140.936933, - -22.98375 - ], - [ - 140.577963, - -23.735285 - ], - [ - 140.379503, - -24.535017 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "radius": 300, - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "MultiPoint", - "coordinates": [ - [ - 145, - -25 - ], - [ - 130, - -20 - ], - [ - 125, - -25 - ] - ] - } - } - ] -} diff --git a/packages/turf-buffer/test/out/multi-polygon.geojson b/packages/turf-buffer/test/out/multi-polygon.geojson deleted file mode 100644 index d2b68dc9c2..0000000000 --- a/packages/turf-buffer/test/out/multi-polygon.geojson +++ /dev/null @@ -1,595 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 133.975247, - -32.179153 - ], - [ - 133.977071, - -32.209318 - ], - [ - 134.018975, - -32.345052 - ], - [ - 134.092716, - -32.470829 - ], - [ - 134.19539, - -32.581388 - ], - [ - 134.322841, - -32.672061 - ], - [ - 134.469809, - -32.738981 - ], - [ - 134.630143, - -32.779257 - ], - [ - 142.908025, - -33.807979 - ], - [ - 143.082893, - -33.808591 - ], - [ - 143.254251, - -33.779402 - ], - [ - 143.414757, - -33.721623 - ], - [ - 143.557557, - -33.637697 - ], - [ - 143.676585, - -33.531187 - ], - [ - 143.766846, - -33.406619 - ], - [ - 143.824619, - -33.269277 - ], - [ - 143.847607, - -33.124969 - ], - [ - 143.914168, - -16.831268 - ], - [ - 143.897617, - -16.698097 - ], - [ - 143.85519, - -16.570314 - ], - [ - 143.788467, - -16.452496 - ], - [ - 143.699892, - -16.348845 - ], - [ - 143.592676, - -16.263045 - ], - [ - 137.117771, - -11.90659 - ], - [ - 137.009264, - -11.845692 - ], - [ - 136.891546, - -11.804601 - ], - [ - 136.768354, - -11.784574 - ], - [ - 136.643578, - -11.786198 - ], - [ - 136.521142, - -11.809375 - ], - [ - 131.09974, - -13.238121 - ], - [ - 131.01396, - -13.265105 - ], - [ - 125.165406, - -15.362724 - ], - [ - 125.046518, - -15.41505 - ], - [ - 124.940758, - -15.488912 - ], - [ - 124.852238, - -15.581369 - ], - [ - 124.784401, - -15.688775 - ], - [ - 124.739898, - -15.806919 - ], - [ - 124.720493, - -15.931181 - ], - [ - 124.726993, - -16.056698 - ], - [ - 124.759209, - -16.178549 - ], - [ - 124.81596, - -16.291934 - ], - [ - 126.022261, - -18.202635 - ], - [ - 122.018555, - -18.114434 - ], - [ - 121.898288, - -18.120778 - ], - [ - 121.781435, - -18.14805 - ], - [ - 121.671959, - -18.195255 - ], - [ - 121.573554, - -18.260733 - ], - [ - 121.489535, - -18.342223 - ], - [ - 121.422735, - -18.436937 - ], - [ - 121.375418, - -18.541656 - ], - [ - 121.349207, - -18.652829 - ], - [ - 121.345032, - -18.766688 - ], - [ - 121.248528, - -31.425076 - ], - [ - 121.252633, - -31.548721 - ], - [ - 121.284745, - -31.669421 - ], - [ - 121.343812, - -31.782624 - ], - [ - 121.427753, - -31.884015 - ], - [ - 121.533513, - -31.969692 - ], - [ - 121.657153, - -32.036311 - ], - [ - 121.79399, - -32.081236 - ], - [ - 121.938769, - -32.102644 - ], - [ - 133.975247, - -32.179153 - ] - ], - [ - [ - 133.381153, - -18.092653 - ], - [ - 135.722001, - -15.552329 - ], - [ - 138.679666, - -18.668084 - ], - [ - 135.291288, - -23.077379 - ], - [ - 135.147265, - -18.70157 - ], - [ - 135.127215, - -18.568801 - ], - [ - 135.080122, - -18.442374 - ], - [ - 135.007901, - -18.327197 - ], - [ - 134.913436, - -18.227717 - ], - [ - 134.800448, - -18.147745 - ], - [ - 134.673344, - -18.090316 - ], - [ - 134.537043, - -18.05758 - ], - [ - 134.396778, - -18.050727 - ], - [ - 133.381153, - -18.092653 - ] - ] - ], - [ - [ - [ - 128.27599, - -36.271876 - ], - [ - 128.289085, - -36.402404 - ], - [ - 128.333365, - -36.52848 - ], - [ - 128.40735, - -36.645327 - ], - [ - 128.508405, - -36.74848 - ], - [ - 128.632818, - -36.833956 - ], - [ - 128.775919, - -36.898414 - ], - [ - 128.932248, - -36.939301 - ], - [ - 129.095764, - -36.954961 - ], - [ - 131.892042, - -36.964266 - ], - [ - 132.056782, - -36.949707 - ], - [ - 132.214891, - -36.909809 - ], - [ - 132.360272, - -36.846065 - ], - [ - 132.487335, - -36.760892 - ], - [ - 132.591233, - -36.657543 - ], - [ - 132.668055, - -36.539969 - ], - [ - 132.714979, - -36.412661 - ], - [ - 132.730364, - -36.280464 - ], - [ - 132.706592, - -34.227252 - ], - [ - 132.687989, - -34.093084 - ], - [ - 132.637963, - -33.964606 - ], - [ - 132.558638, - -33.846819 - ], - [ - 132.453249, - -33.744274 - ], - [ - 132.325992, - -33.660892 - ], - [ - 132.18185, - -33.599828 - ], - [ - 132.026391, - -33.563362 - ], - [ - 131.865562, - -33.552818 - ], - [ - 129.122041, - -33.562616 - ], - [ - 128.962494, - -33.574307 - ], - [ - 128.808875, - -33.611787 - ], - [ - 128.667067, - -33.673559 - ], - [ - 128.54251, - -33.757205 - ], - [ - 128.440008, - -33.859483 - ], - [ - 128.363557, - -33.976441 - ], - [ - 128.316198, - -34.103563 - ], - [ - 128.299896, - -34.235929 - ], - [ - 128.27599, - -36.271876 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 121.9921875, - -31.466153715024284 - ], - [ - 134.4287109375, - -31.466153715024284 - ], - [ - 134.4287109375, - -18.729501999072138 - ], - [ - 121.9921875, - -18.729501999072138 - ], - [ - 121.9921875, - -31.466153715024284 - ] - ] - ], - [ - [ - [ - 125.3759765625, - -15.961329081596647 - ], - [ - 126.826171875, - -18.22935133838667 - ], - [ - 132.451171875, - -18.062312304546715 - ], - [ - 135.703125, - -14.519780046326085 - ], - [ - 139.6142578125, - -18.60460138845525 - ], - [ - 134.9560546875, - -24.607069137709694 - ], - [ - 134.7802734375, - -32.10118973232094 - ], - [ - 142.998046875, - -33.100745405144245 - ], - [ - 143.173828125, - -16.84660510639629 - ], - [ - 136.7138671875, - -12.46876014482322 - ], - [ - 131.2646484375, - -13.88074584202559 - ], - [ - 125.3759765625, - -15.961329081596647 - ] - ] - ], - [ - [ - [ - 129.111328125, - -36.27970720524016 - ], - [ - 131.8798828125, - -36.27970720524016 - ], - [ - 131.8798828125, - -34.234512362369856 - ], - [ - 129.111328125, - -34.234512362369856 - ], - [ - 129.111328125, - -36.27970720524016 - ] - ] - ] - ] - } - } - ] -} diff --git a/packages/turf-buffer/test/out/negative-buffer.geojson b/packages/turf-buffer/test/out/negative-buffer.geojson deleted file mode 100644 index 7a80d8f808..0000000000 --- a/packages/turf-buffer/test/out/negative-buffer.geojson +++ /dev/null @@ -1,105 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "radius": -200, - "units": "miles", - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 134.458364, - -17.579593 - ], - [ - 129.855775, - -20.546041 - ], - [ - 131.160775, - -25.807908 - ], - [ - 135.137021, - -28.089489 - ], - [ - 141.252616, - -28.053404 - ], - [ - 141.810292, - -26.117647 - ], - [ - 141.510444, - -19.394884 - ], - [ - 134.458364, - -17.579593 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "radius": -200, - "units": "miles", - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 133.90136718749997, - -14.647368383896618 - ], - [ - 126.73828125, - -19.352610894378625 - ], - [ - 128.49609375, - -27.371767300523032 - ], - [ - 134.1650390625, - -30.789036751261136 - ], - [ - 143.7890625, - -30.789036751261136 - ], - [ - 144.9755859375, - -26.391869671769022 - ], - [ - 144.31640625, - -17.14079039331664 - ], - [ - 133.90136718749997, - -14.647368383896618 - ] - ] - ] - } - } - ] -} diff --git a/packages/turf-buffer/test/out/north-latitude-points.geojson b/packages/turf-buffer/test/out/north-latitude-points.geojson deleted file mode 100644 index 50d211e761..0000000000 --- a/packages/turf-buffer/test/out/north-latitude-points.geojson +++ /dev/null @@ -1,211 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -97.430006, - 74.428623 - ], - [ - -97.360439, - 74.378648 - ], - [ - -97.085662, - 74.257954 - ], - [ - -96.733539, - 74.153575 - ], - [ - -96.317797, - 74.069177 - ], - [ - -95.853659, - 74.007672 - ], - [ - -95.357394, - 73.971153 - ], - [ - -94.845921, - 73.960845 - ], - [ - -94.336441, - 73.977087 - ], - [ - -94.079579, - 73.999378 - ], - [ - -94.045163, - 73.998519 - ], - [ - -93.533893, - 74.012854 - ], - [ - -93.040577, - 74.053243 - ], - [ - -92.582041, - 74.11831 - ], - [ - -92.174383, - 74.205829 - ], - [ - -91.832579, - 74.312768 - ], - [ - -91.570034, - 74.435368 - ], - [ - -91.398066, - 74.56923 - ], - [ - -91.325349, - 74.709442 - ], - [ - -91.357315, - 74.850726 - ], - [ - -91.495575, - 74.98762 - ], - [ - -91.737417, - 75.114686 - ], - [ - -92.075472, - 75.226738 - ], - [ - -92.497632, - 75.319091 - ], - [ - -92.987315, - 75.387797 - ], - [ - -93.524111, - 75.429865 - ], - [ - -94.084811, - 75.443438 - ], - [ - -94.292206, - 75.437845 - ], - [ - -94.481523, - 75.451654 - ], - [ - -95.043918, - 75.462943 - ], - [ - -95.603566, - 75.445126 - ], - [ - -96.135849, - 75.398983 - ], - [ - -96.617798, - 75.326531 - ], - [ - -97.0294, - 75.230907 - ], - [ - -97.354592, - 75.116183 - ], - [ - -97.581865, - 74.987145 - ], - [ - -97.704486, - 74.849051 - ], - [ - -97.720386, - 74.70738 - ], - [ - -97.631795, - 74.567607 - ], - [ - -97.444721, - 74.43499 - ], - [ - -97.430006, - 74.428623 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "MultiPoint", - "coordinates": [ - [ - -94.97955322265625, - 74.74046209428195 - ], - [ - -94.90264892578125, - 74.68325030051861 - ], - [ - -94.06494140625, - 74.7209322003536 - ] - ] - } - } - ] -} diff --git a/packages/turf-buffer/test/out/northern-polygon.geojson b/packages/turf-buffer/test/out/northern-polygon.geojson deleted file mode 100644 index a6c485d31e..0000000000 --- a/packages/turf-buffer/test/out/northern-polygon.geojson +++ /dev/null @@ -1,233 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -94.585719, - 73.970893 - ], - [ - -94.061094, - 73.997718 - ], - [ - -93.564181, - 74.052142 - ], - [ - -93.11352, - 74.132159 - ], - [ - -92.726578, - 74.234793 - ], - [ - -92.419238, - 74.356171 - ], - [ - -92.205213, - 74.491628 - ], - [ - -92.181511, - 74.512009 - ], - [ - -92.080215, - 74.635552 - ], - [ - -92.060788, - 74.761896 - ], - [ - -92.125821, - 74.887198 - ], - [ - -92.147826, - 74.912434 - ], - [ - -92.307938, - 75.038904 - ], - [ - -92.558374, - 75.155402 - ], - [ - -92.892043, - 75.257701 - ], - [ - -93.298167, - 75.342 - ], - [ - -93.762517, - 75.405106 - ], - [ - -94.26793, - 75.444588 - ], - [ - -94.795078, - 75.458906 - ], - [ - -94.872843, - 75.459107 - ], - [ - -95.39979, - 75.447582 - ], - [ - -95.907399, - 75.410899 - ], - [ - -96.376275, - 75.350473 - ], - [ - -96.456549, - 75.337489 - ], - [ - -96.871883, - 75.254672 - ], - [ - -97.215167, - 75.153238 - ], - [ - -97.475004, - 75.03701 - ], - [ - -97.643778, - 74.910275 - ], - [ - -97.71768, - 74.777597 - ], - [ - -97.69652, - 74.643636 - ], - [ - -97.583398, - 74.512981 - ], - [ - -97.384282, - 74.389994 - ], - [ - -97.31735, - 74.357001 - ], - [ - -96.998266, - 74.231431 - ], - [ - -96.594274, - 74.126105 - ], - [ - -96.12316, - 74.045276 - ], - [ - -95.604482, - 73.992148 - ], - [ - -95.058949, - 73.968801 - ], - [ - -95.012333, - 73.968116 - ], - [ - -94.629715, - 73.969846 - ], - [ - -94.585719, - 73.970893 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -94.81887817382812, - 74.69068515369659 - ], - [ - -94.79827880859375, - 74.71133916265154 - ], - [ - -94.82437133789062, - 74.73630499357218 - ], - [ - -94.89852905273438, - 74.73648576006866 - ], - [ - -94.976806640625, - 74.72400796764163 - ], - [ - -94.91363525390625, - 74.69032255967197 - ], - [ - -94.86488342285156, - 74.68959734647507 - ], - [ - -94.81887817382812, - 74.69068515369659 - ] - ] - ] - } - } - ] -} diff --git a/packages/turf-buffer/test/out/point.geojson b/packages/turf-buffer/test/out/point.geojson index 411fcccd8f..7cb911da6c 100644 --- a/packages/turf-buffer/test/out/point.geojson +++ b/packages/turf-buffer/test/out/point.geojson @@ -4,146 +4,271 @@ { "type": "Feature", "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 + "stroke": "#00F" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ - 134.252046, - -24.89377 + 135, + -24.5505 ], [ - 134.243106, - -25.027826 + 135.0484, + -24.5526 ], [ - 134.263103, - -25.160922 + 135.0964, + -24.5591 ], [ - 134.311386, - -25.287986 + 135.1435, + -24.5698 ], [ - 134.386227, - -25.404151 + 135.1892, + -24.5846 ], [ - 134.48486, - -25.504937 + 135.2331, + -24.6034 ], [ - 134.603575, - -25.586423 + 135.2747, + -24.626 ], [ - 134.737846, - -25.645409 + 135.3138, + -24.6522 ], [ - 134.882499, - -25.679551 + 135.3498, + -24.6817 ], [ - 135.031913, - -25.687455 + 135.3825, + -24.7143 ], [ - 135.180244, - -25.668755 + 135.4116, + -24.7497 ], [ - 135.321669, - -25.624127 + 135.4367, + -24.7875 ], [ - 135.450628, - -25.555273 + 135.4576, + -24.8273 ], [ - 135.562058, - -25.464861 + 135.4741, + -24.8688 ], [ - 135.6516, - -25.356411 + 135.4861, + -24.9115 ], [ - 135.715786, - -25.234158 + 135.4934, + -24.9551 ], [ - 135.752166, - -25.102878 + 135.496, + -24.9992 ], [ - 135.759408, - -24.967691 + 135.4938, + -25.0432 ], [ - 135.73733, - -24.833854 + 135.4868, + -25.0869 ], [ - 135.6869, - -24.706551 + 135.4751, + -25.1297 ], [ - 135.610173, - -24.590685 + 135.4589, + -25.1713 ], [ - 135.510202, - -24.490692 + 135.4382, + -25.2113 ], [ - 135.390901, - -24.410371 + 135.4132, + -25.2492 ], [ - 135.256884, - -24.352744 + 135.3843, + -25.2847 ], [ - 135.113288, - -24.319951 + 135.3516, + -25.3174 ], [ - 134.965573, - -24.313177 + 135.3155, + -25.3472 ], [ - 134.819323, - -24.332619 + 135.2764, + -25.3735 ], [ - 134.680045, - -24.377487 + 135.2346, + -25.3963 ], [ - 134.552972, - -24.44604 + 135.1905, + -25.4152 ], [ - 134.442881, - -24.53566 + 135.1445, + -25.4301 ], [ - 134.353924, - -24.642946 + 135.0971, + -25.4409 ], [ - 134.289484, - -24.763838 + 135.0488, + -25.4473 ], [ - 134.252046, - -24.89377 + 135, + -25.4495 + ], + [ + 134.9512, + -25.4473 + ], + [ + 134.9029, + -25.4409 + ], + [ + 134.8555, + -25.4301 + ], + [ + 134.8095, + -25.4152 + ], + [ + 134.7654, + -25.3963 + ], + [ + 134.7236, + -25.3735 + ], + [ + 134.6845, + -25.3472 + ], + [ + 134.6484, + -25.3174 + ], + [ + 134.6157, + -25.2847 + ], + [ + 134.5868, + -25.2492 + ], + [ + 134.5618, + -25.2113 + ], + [ + 134.5411, + -25.1713 + ], + [ + 134.5249, + -25.1297 + ], + [ + 134.5132, + -25.0869 + ], + [ + 134.5062, + -25.0432 + ], + [ + 134.504, + -24.9992 + ], + [ + 134.5066, + -24.9551 + ], + [ + 134.5139, + -24.9115 + ], + [ + 134.5259, + -24.8688 + ], + [ + 134.5424, + -24.8273 + ], + [ + 134.5633, + -24.7875 + ], + [ + 134.5884, + -24.7497 + ], + [ + 134.6175, + -24.7143 + ], + [ + 134.6502, + -24.6817 + ], + [ + 134.6862, + -24.6522 + ], + [ + 134.7253, + -24.626 + ], + [ + 134.7669, + -24.6034 + ], + [ + 134.8108, + -24.5846 + ], + [ + 134.8565, + -24.5698 + ], + [ + 134.9036, + -24.5591 + ], + [ + 134.9516, + -24.5526 + ], + [ + 135, + -24.5505 ] ] ] @@ -151,12 +276,7 @@ }, { "type": "Feature", - "properties": { - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, + "properties": {}, "geometry": { "type": "Point", "coordinates": [ diff --git a/packages/turf-buffer/test/out/polygon-with-holes.geojson b/packages/turf-buffer/test/out/polygon-with-holes.geojson deleted file mode 100644 index 10228ddcb1..0000000000 --- a/packages/turf-buffer/test/out/polygon-with-holes.geojson +++ /dev/null @@ -1,285 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "stroke": "#F00", - "fill": "#F00", - "marker-color": "#F00", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 123.506525, - -24.531303 - ], - [ - 123.50394, - -24.665068 - ], - [ - 123.532656, - -24.796351 - ], - [ - 123.591523, - -24.91919 - ], - [ - 127.822518, - -31.598693 - ], - [ - 127.905395, - -31.702085 - ], - [ - 128.010032, - -31.790265 - ], - [ - 128.132709, - -31.859961 - ], - [ - 128.268995, - -31.908553 - ], - [ - 128.413901, - -31.93418 - ], - [ - 138.335096, - -32.423493 - ], - [ - 138.486219, - -32.41257 - ], - [ - 138.632396, - -32.378236 - ], - [ - 138.768542, - -32.321646 - ], - [ - 138.889928, - -32.244737 - ], - [ - 138.992358, - -32.150156 - ], - [ - 145.499833, - -23.779997 - ], - [ - 145.569139, - -23.650857 - ], - [ - 145.608448, - -23.511535 - ], - [ - 145.61622, - -23.367801 - ], - [ - 145.592238, - -23.225596 - ], - [ - 145.537598, - -23.090774 - ], - [ - 142.069737, - -16.494169 - ], - [ - 141.991702, - -16.375571 - ], - [ - 141.890678, - -16.274325 - ], - [ - 141.770779, - -16.194465 - ], - [ - 136.048035, - -13.080482 - ], - [ - 135.939208, - -13.031806 - ], - [ - 135.823527, - -13.002065 - ], - [ - 135.704427, - -12.992093 - ], - [ - 130.447374, - -12.932676 - ], - [ - 130.374799, - -12.934844 - ], - [ - 124.861003, - -13.307005 - ], - [ - 124.742175, - -13.324181 - ], - [ - 124.628898, - -13.362732 - ], - [ - 124.525158, - -13.421224 - ], - [ - 124.434593, - -13.497536 - ], - [ - 124.36037, - -13.588941 - ], - [ - 124.305089, - -13.692196 - ], - [ - 124.270694, - -13.803657 - ], - [ - 124.258416, - -13.919399 - ], - [ - 123.506525, - -24.531303 - ] - ], - [ - [ - 130.423303, - -26.380129 - ], - [ - 128.643018, - -18.062639 - ], - [ - 138.379158, - -18.102543 - ], - [ - 138.330419, - -26.353215 - ], - [ - 130.423303, - -26.380129 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "stroke": "#00F", - "fill": "#00F", - "marker-color": "#00F", - "fill-opacity": 0.3 - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 124.18945312500001, - -24.607069137709694 - ], - [ - 128.49609375, - -31.278550858946517 - ], - [ - 138.33984375, - -31.728167146023935 - ], - [ - 144.84375, - -23.40276490540795 - ], - [ - 141.416015625, - -16.804541076383455 - ], - [ - 135.703125, - -13.667338259654947 - ], - [ - 130.4296875, - -13.581920900545844 - ], - [ - 124.892578125, - -13.923403897723334 - ], - [ - 124.18945312500001, - -24.607069137709694 - ] - ], - [ - [ - 129.79296875, - -27.019984007982554 - ], - [ - 139.0869140625, - -27.019984007982554 - ], - [ - 139.0869140625, - -17.392579271057766 - ], - [ - 127.79296875, - -17.392579271057766 - ], - [ - 129.79296875, - -27.019984007982554 - ] - ] - ] - } - } - ] -} diff --git a/packages/turf-buffer/test/out/rectangle.geojson b/packages/turf-buffer/test/out/rectangle.geojson new file mode 100644 index 0000000000..d66b954895 --- /dev/null +++ b/packages/turf-buffer/test/out/rectangle.geojson @@ -0,0 +1,333 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "stroke": "#00F" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 19.9931, + 9.5505 + ], + [ + 20, + 9.5505 + ], + [ + 20.0447, + 9.5526 + ], + [ + 20.0889, + 9.5591 + ], + [ + 20.1323, + 9.5698 + ], + [ + 20.1745, + 9.5847 + ], + [ + 20.2149, + 9.6035 + ], + [ + 20.2533, + 9.6261 + ], + [ + 20.2893, + 9.6524 + ], + [ + 20.3224, + 9.682 + ], + [ + 20.3525, + 9.7146 + ], + [ + 20.3792, + 9.75 + ], + [ + 20.4023, + 9.7879 + ], + [ + 20.4215, + 9.8277 + ], + [ + 20.4366, + 9.8692 + ], + [ + 20.4476, + 9.912 + ], + [ + 20.4542, + 9.9556 + ], + [ + 20.4565, + 9.9997 + ], + [ + 20.4784, + 19.9994 + ], + [ + 20.4773, + 20.03 + ], + [ + 20.472, + 20.0738 + ], + [ + 20.4621, + 20.117 + ], + [ + 20.4477, + 20.159 + ], + [ + 20.429, + 20.1994 + ], + [ + 20.4061, + 20.238 + ], + [ + 20.3794, + 20.2742 + ], + [ + 20.3489, + 20.3079 + ], + [ + 20.3151, + 20.3385 + ], + [ + 20.2782, + 20.3659 + ], + [ + 20.2386, + 20.3898 + ], + [ + 20.1967, + 20.4099 + ], + [ + 20.1529, + 20.426 + ], + [ + 20.1076, + 20.438 + ], + [ + 20.0613, + 20.4458 + ], + [ + 20.0143, + 20.4493 + ], + [ + 9.9857, + 20.4493 + ], + [ + 9.953, + 20.4473 + ], + [ + 9.9064, + 20.4409 + ], + [ + 9.8608, + 20.4301 + ], + [ + 9.8164, + 20.4152 + ], + [ + 9.7739, + 20.3963 + ], + [ + 9.7336, + 20.3736 + ], + [ + 9.6959, + 20.3472 + ], + [ + 9.6611, + 20.3175 + ], + [ + 9.6295, + 20.2848 + ], + [ + 9.6016, + 20.2493 + ], + [ + 9.5775, + 20.2114 + ], + [ + 9.5576, + 20.1715 + ], + [ + 9.5419, + 20.1299 + ], + [ + 9.5306, + 20.0871 + ], + [ + 9.5238, + 20.0434 + ], + [ + 9.5216, + 19.9994 + ], + [ + 9.5435, + 9.9997 + ], + [ + 9.5436, + 9.9929 + ], + [ + 9.5465, + 9.9488 + ], + [ + 9.5539, + 9.9053 + ], + [ + 9.5654, + 9.8627 + ], + [ + 9.5812, + 9.8214 + ], + [ + 9.601, + 9.7819 + ], + [ + 9.6247, + 9.7444 + ], + [ + 9.6519, + 9.7094 + ], + [ + 9.6825, + 9.6772 + ], + [ + 9.7161, + 9.6481 + ], + [ + 9.7525, + 9.6224 + ], + [ + 9.7912, + 9.6003 + ], + [ + 9.832, + 9.5821 + ], + [ + 9.8743, + 9.5679 + ], + [ + 9.9179, + 9.5578 + ], + [ + 9.9622, + 9.552 + ], + [ + 10.0069, + 9.5505 + ], + [ + 19.9931, + 9.5505 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 10, + 10 + ], + [ + 20, + 10 + ], + [ + 20, + 20 + ], + [ + 10, + 20 + ], + [ + 10, + 10 + ] + ] + ] + } + } + ] +} diff --git a/packages/turf-buffer/test/out/turfjs-complex.geojson b/packages/turf-buffer/test/out/turfjs-complex.geojson new file mode 100644 index 0000000000..539f8bfc55 --- /dev/null +++ b/packages/turf-buffer/test/out/turfjs-complex.geojson @@ -0,0 +1,349 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "stroke": "#00F" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 27.4966, + 23.9331 + ], + [ + 18.363, + 18.3475 + ], + [ + 18.2948, + 18.2926 + ], + [ + 18.2387, + 18.2264 + ], + [ + 18.1967, + 18.1514 + ], + [ + 18.1704, + 18.0702 + ], + [ + 18.1607, + 17.9857 + ], + [ + 18.1679, + 17.9011 + ], + [ + 18.1917, + 17.8192 + ], + [ + 18.2312, + 17.743 + ], + [ + 18.285, + 17.6753 + ], + [ + 18.3513, + 17.6184 + ], + [ + 18.4275, + 17.5744 + ], + [ + 18.5111, + 17.5448 + ], + [ + 18.5989, + 17.5307 + ], + [ + 28.1628, + 16.6443 + ], + [ + 24.6312, + 13.2106 + ], + [ + 24.5724, + 13.1383 + ], + [ + 24.5301, + 13.0557 + ], + [ + 24.5061, + 12.9665 + ], + [ + 24.5013, + 12.8744 + ], + [ + 24.516, + 12.7832 + ], + [ + 24.5494, + 12.6969 + ], + [ + 24.6002, + 12.6191 + ], + [ + 24.6662, + 12.5531 + ], + [ + 24.7446, + 12.5017 + ], + [ + 24.8321, + 12.4669 + ], + [ + 33.9662, + 9.7243 + ], + [ + 34.0523, + 9.7063 + ], + [ + 34.1403, + 9.7054 + ], + [ + 34.2267, + 9.7215 + ], + [ + 34.3082, + 9.754 + ], + [ + 34.3816, + 9.8017 + ], + [ + 34.4441, + 9.8626 + ], + [ + 34.4932, + 9.9345 + ], + [ + 34.527, + 10.0144 + ], + [ + 34.5442, + 10.0993 + ], + [ + 35.2438, + 16.1478 + ], + [ + 39.4024, + 22.0198 + ], + [ + 39.4488, + 22.0954 + ], + [ + 39.4779, + 22.1782 + ], + [ + 39.4884, + 22.2646 + ], + [ + 39.48, + 22.3512 + ], + [ + 39.4529, + 22.4345 + ], + [ + 39.4082, + 22.5111 + ], + [ + 39.3477, + 22.5778 + ], + [ + 39.2738, + 22.6319 + ], + [ + 39.1895, + 22.6712 + ], + [ + 39.0983, + 22.6939 + ], + [ + 39.004, + 22.6993 + ], + [ + 38.9104, + 22.6869 + ], + [ + 33.3512, + 21.2774 + ], + [ + 36.7021, + 31.8187 + ], + [ + 36.7236, + 31.9029 + ], + [ + 36.7253, + 31.989 + ], + [ + 36.7071, + 32.0738 + ], + [ + 36.6696, + 32.1539 + ], + [ + 36.6143, + 32.2262 + ], + [ + 36.5431, + 32.288 + ], + [ + 36.459, + 32.3367 + ], + [ + 36.365, + 32.3706 + ], + [ + 36.265, + 32.3881 + ], + [ + 36.1627, + 32.3887 + ], + [ + 36.0623, + 32.3722 + ], + [ + 35.9678, + 32.3394 + ], + [ + 35.8827, + 32.2914 + ], + [ + 35.8105, + 32.2302 + ], + [ + 30.23, + 25.7991 + ], + [ + 27.4966, + 23.9331 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 27.773437499999996, + 23.563987128451217 + ], + [ + 18.6328125, + 17.97873309555617 + ], + [ + 29.179687499999996, + 16.97274101999902 + ], + [ + 24.960937499999996, + 12.897489183755892 + ], + [ + 34.1015625, + 10.14193168613103 + ], + [ + 34.80468749999999, + 16.29905101458183 + ], + [ + 39.0234375, + 22.268764039073968 + ], + [ + 32.6953125, + 20.632784250388028 + ], + [ + 36.2109375, + 31.952162238024975 + ], + [ + 30.585937499999996, + 25.48295117535531 + ], + [ + 27.773437499999996, + 23.563987128451217 + ] + ] + ] + } + } + ] +} diff --git a/packages/turf-buffer/test/out/turfjs-issue-#900.geojson b/packages/turf-buffer/test/out/turfjs-issue-#900.geojson new file mode 100644 index 0000000000..b64c309c8e --- /dev/null +++ b/packages/turf-buffer/test/out/turfjs-issue-#900.geojson @@ -0,0 +1,1347 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "stroke": "#00F" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -86.2373, + 22.3277 + ], + [ + -86.2354, + 22.3355 + ], + [ + -86.151, + 22.7064 + ], + [ + -86.1504, + 22.7087 + ], + [ + -86.0491, + 23.1508 + ], + [ + -85.8562, + 23.9376 + ], + [ + -85.0625, + 25.1955 + ], + [ + -85.0329, + 25.2544 + ], + [ + -85.0187, + 25.3179 + ], + [ + -84.9482, + 26.0024 + ], + [ + -84.9483, + 26.0599 + ], + [ + -84.9611, + 26.1162 + ], + [ + -84.9861, + 26.1693 + ], + [ + -85.0225, + 26.2168 + ], + [ + -85.0688, + 26.2569 + ], + [ + -85.1231, + 26.288 + ], + [ + -85.1834, + 26.3087 + ], + [ + -85.2472, + 26.3182 + ], + [ + -85.3118, + 26.316 + ], + [ + -85.3747, + 26.3022 + ], + [ + -85.4333, + 26.2774 + ], + [ + -85.4851, + 26.2425 + ], + [ + -85.528, + 26.1989 + ], + [ + -82.2372, + 30.0361 + ], + [ + -82.2151, + 30.4083 + ], + [ + -80.9053, + 31.969 + ], + [ + -80.8816, + 31.9992 + ], + [ + -79.3485, + 34.0684 + ], + [ + -79.3193, + 34.1122 + ], + [ + -79.1516, + 34.4198 + ], + [ + -79.1488, + 34.4251 + ], + [ + -78.595, + 35.4404 + ], + [ + -78.5873, + 35.4549 + ], + [ + -78.4523, + 35.7267 + ], + [ + -78.2276, + 35.9805 + ], + [ + -77.8614, + 36.3835 + ], + [ + -77.8582, + 36.3871 + ], + [ + -77.5918, + 36.6811 + ], + [ + -77.5893, + 36.6838 + ], + [ + -77.0109, + 37.3133 + ], + [ + -76.5512, + 37.7558 + ], + [ + -76.3896, + 37.8699 + ], + [ + -76.3787, + 37.8778 + ], + [ + -76.13, + 38.0643 + ], + [ + -76.0831, + 38.106 + ], + [ + -75.7, + 38.5089 + ], + [ + -75.6953, + 38.5138 + ], + [ + -75.5965, + 38.6198 + ], + [ + -75.4658, + 38.7559 + ], + [ + -75.3507, + 38.8717 + ], + [ + -75.3359, + 38.8874 + ], + [ + -75.2702, + 38.9622 + ], + [ + -75.2278, + 39.0093 + ], + [ + -74.1927, + 39.5574 + ], + [ + -74.1802, + 39.564 + ], + [ + -73.4686, + 39.9485 + ], + [ + -73.4653, + 39.9502 + ], + [ + -72.1186, + 40.6432 + ], + [ + -71.459, + 40.8618 + ], + [ + -69.9837, + 40.9725 + ], + [ + -69.9159, + 40.9809 + ], + [ + -69.8509, + 40.9978 + ], + [ + -69.7905, + 41.0225 + ], + [ + -66.7968, + 42.3589 + ], + [ + -66.7944, + 42.3599 + ], + [ + -56.3587, + 45.2918 + ], + [ + -56.3168, + 45.3004 + ], + [ + -51.8944, + 46.1829 + ], + [ + -51.8305, + 46.1963 + ], + [ + -50.2944, + 46.5799 + ], + [ + -50.2873, + 46.5816 + ], + [ + -49.8619, + 46.6849 + ], + [ + -42.8257, + 47.4689 + ], + [ + -42.8009, + 47.4707 + ], + [ + -39.9655, + 47.6598 + ], + [ + -39.8899, + 47.6671 + ], + [ + -39.8166, + 47.6818 + ], + [ + -37.8659, + 48.1528 + ], + [ + -37.8501, + 48.1565 + ], + [ + -29.8887, + 49.6441 + ], + [ + -29.874, + 49.6461 + ], + [ + -27.7449, + 49.9287 + ], + [ + -27.7289, + 49.9308 + ], + [ + -19.97, + 50.6176 + ], + [ + -19.3211, + 50.6278 + ], + [ + -19.3128, + 50.6279 + ], + [ + -15.0277, + 50.609 + ], + [ + -14.9954, + 50.6086 + ], + [ + -14.0064, + 50.6069 + ], + [ + -13.9714, + 50.6072 + ], + [ + -8.5308, + 50.5976 + ], + [ + -8.4995, + 50.5971 + ], + [ + -8.2522, + 50.5967 + ], + [ + -8.2495, + 50.5967 + ], + [ + -8.0113, + 50.5963 + ], + [ + -5.9267, + 50.5287 + ], + [ + -5.9229, + 50.5285 + ], + [ + -4.0434, + 50.4348 + ], + [ + -4.0405, + 50.4346 + ], + [ + -2.7238, + 50.3503 + ], + [ + -2.6474, + 50.3444 + ], + [ + -2.3031, + 50.2793 + ], + [ + -1.7919, + 50.1797 + ], + [ + -1.6607, + 50.1629 + ], + [ + -1.5268, + 50.1636 + ], + [ + -1.3959, + 50.1819 + ], + [ + -1.2734, + 50.2169 + ], + [ + -0.6736, + 50.4355 + ], + [ + -0.6293, + 50.4438 + ], + [ + -0.0384, + 50.4707 + ], + [ + 0.0831, + 50.4832 + ], + [ + 0.1989, + 50.5098 + ], + [ + 0.3051, + 50.5496 + ], + [ + 0.398, + 50.6013 + ], + [ + 0.4742, + 50.6631 + ], + [ + 0.5311, + 50.7329 + ], + [ + 0.5664, + 50.8082 + ], + [ + 0.5788, + 50.8863 + ], + [ + 0.5678, + 50.9646 + ], + [ + 0.5336, + 51.0402 + ], + [ + 0.4822, + 51.1043 + ], + [ + 0.4829, + 51.1463 + ], + [ + 0.4713, + 51.2281 + ], + [ + 0.4344, + 51.3068 + ], + [ + 0.3733, + 51.3795 + ], + [ + 0.2905, + 51.4432 + ], + [ + 0.189, + 51.4955 + ], + [ + 0.0729, + 51.5344 + ], + [ + -0.0533, + 51.5582 + ], + [ + -0.1845, + 51.566 + ], + [ + -0.3156, + 51.5577 + ], + [ + -0.4414, + 51.5335 + ], + [ + -0.5569, + 51.4943 + ], + [ + -0.6576, + 51.4419 + ], + [ + -0.7397, + 51.3781 + ], + [ + -0.8001, + 51.3057 + ], + [ + -0.8174, + 51.2684 + ], + [ + -0.9425, + 51.2532 + ], + [ + -1.1272, + 51.2176 + ], + [ + -1.2644, + 51.1798 + ], + [ + -1.6836, + 51.025 + ], + [ + -1.9278, + 51.0715 + ], + [ + -2.3324, + 51.1468 + ], + [ + -2.4391, + 51.1605 + ], + [ + -2.5739, + 51.1704 + ], + [ + -2.5787, + 51.1708 + ], + [ + -3.9252, + 51.2528 + ], + [ + -5.8427, + 51.3423 + ], + [ + -7.9808, + 51.4044 + ], + [ + -7.9995, + 51.4046 + ], + [ + -8.2509, + 51.4041 + ], + [ + -8.4863, + 51.4037 + ], + [ + -14.0131, + 51.3943 + ], + [ + -14.9899, + 51.3926 + ], + [ + -19.3518, + 51.3966 + ], + [ + -20.0217, + 51.3837 + ], + [ + -20.043, + 51.383 + ], + [ + -27.967, + 50.6511 + ], + [ + -30.1226, + 50.3558 + ], + [ + -38.2132, + 48.806 + ], + [ + -40.1147, + 48.338 + ], + [ + -42.922, + 48.1419 + ], + [ + -50.1198, + 47.3201 + ], + [ + -50.1623, + 47.3112 + ], + [ + -50.6128, + 47.2003 + ], + [ + -52.1414, + 46.8132 + ], + [ + -56.5986, + 45.9127 + ], + [ + -67.2077, + 42.9083 + ], + [ + -70.1566, + 41.5862 + ], + [ + -71.6153, + 41.4786 + ], + [ + -71.7313, + 41.4554 + ], + [ + -72.4883, + 41.2047 + ], + [ + -72.5446, + 41.1814 + ], + [ + -73.9363, + 40.4615 + ], + [ + -74.6502, + 40.0736 + ], + [ + -75.7519, + 39.4861 + ], + [ + -75.805, + 39.4509 + ], + [ + -75.8494, + 39.4092 + ], + [ + -75.9326, + 39.315 + ], + [ + -75.9347, + 39.3126 + ], + [ + -75.9942, + 39.2435 + ], + [ + -76.1033, + 39.1319 + ], + [ + -76.1061, + 39.129 + ], + [ + -76.2394, + 38.9877 + ], + [ + -76.2418, + 38.9851 + ], + [ + -76.3395, + 38.8783 + ], + [ + -76.6996, + 38.4932 + ], + [ + -76.9194, + 38.3267 + ], + [ + -77.0981, + 38.1994 + ], + [ + -77.1369, + 38.1673 + ], + [ + -77.6213, + 37.6946 + ], + [ + -77.6305, + 37.6851 + ], + [ + -78.213, + 37.0406 + ], + [ + -78.4771, + 36.7445 + ], + [ + -78.8425, + 36.336 + ], + [ + -79.0927, + 36.0484 + ], + [ + -79.1339, + 35.9862 + ], + [ + -79.2789, + 35.6846 + ], + [ + -79.8196, + 34.6632 + ], + [ + -79.9715, + 34.3768 + ], + [ + -81.4773, + 32.3098 + ], + [ + -82.8347, + 30.6692 + ], + [ + -82.8644, + 30.6222 + ], + [ + -82.8836, + 30.5714 + ], + [ + -82.8918, + 30.5184 + ], + [ + -82.9336, + 29.4402 + ], + [ + -82.9368, + 29.3664 + ], + [ + -84.2339, + 28.0183 + ], + [ + -84.9158, + 27.7609 + ], + [ + -84.9734, + 27.7322 + ], + [ + -85.0233, + 27.6938 + ], + [ + -85.0636, + 27.6474 + ], + [ + -85.0925, + 27.5947 + ], + [ + -85.4885, + 26.5991 + ], + [ + -85.5363, + 26.4864 + ], + [ + -85.5525, + 26.4326 + ], + [ + -85.557, + 26.3771 + ], + [ + -85.5495, + 26.3219 + ], + [ + -85.5304, + 26.269 + ], + [ + -85.5005, + 26.2204 + ], + [ + -85.4608, + 26.1779 + ], + [ + -85.4129, + 26.143 + ], + [ + -85.3586, + 26.1169 + ], + [ + -85.2998, + 26.1006 + ], + [ + -85.2387, + 26.0945 + ], + [ + -85.1775, + 26.099 + ], + [ + -85.1183, + 26.1138 + ], + [ + -85.0634, + 26.1383 + ], + [ + -85.0147, + 26.1717 + ], + [ + -84.9738, + 26.2128 + ], + [ + -83.8287, + 27.5408 + ], + [ + -83.2963, + 27.7336 + ], + [ + -83.2383, + 27.7604 + ], + [ + -83.1875, + 27.7969 + ], + [ + -82.9888, + 27.9707 + ], + [ + -82.9844, + 27.9746 + ], + [ + -82.4048, + 28.4858 + ], + [ + -82.3651, + 28.5272 + ], + [ + -82.3348, + 28.5744 + ], + [ + -82.3152, + 28.6258 + ], + [ + -82.3069, + 28.6795 + ], + [ + -82.2842, + 29.1351 + ], + [ + -86.5214, + 23.8345 + ], + [ + -86.6531, + 23.2683 + ], + [ + -86.7514, + 22.8217 + ], + [ + -86.8325, + 22.451 + ], + [ + -87.1446, + 21.0792 + ], + [ + -87.1501, + 21.0243 + ], + [ + -87.144, + 20.9696 + ], + [ + -87.1266, + 20.9171 + ], + [ + -87.0985, + 20.8688 + ], + [ + -87.0609, + 20.8266 + ], + [ + -87.0153, + 20.7921 + ], + [ + -86.9635, + 20.7666 + ], + [ + -86.9074, + 20.7511 + ], + [ + -86.8492, + 20.746 + ], + [ + -86.7912, + 20.7516 + ], + [ + -86.7354, + 20.7677 + ], + [ + -86.6841, + 20.7935 + ], + [ + -86.6391, + 20.828 + ], + [ + -86.6021, + 20.8701 + ], + [ + -86.5746, + 20.9181 + ], + [ + -86.5575, + 20.9701 + ], + [ + -86.2373, + 22.3277 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -86.85, + 21.025 + ], + [ + -86.53333, + 22.39167 + ], + [ + -86.45, + 22.765 + ], + [ + -86.35, + 23.21 + ], + [ + -86.15, + 24.04 + ], + [ + -85.33333, + 25.34167 + ], + [ + -85.26667, + 26.03 + ], + [ + -85.23333, + 26.38333 + ], + [ + -85.18333, + 26.5 + ], + [ + -84.78333, + 27.49333 + ], + [ + -83.41667, + 28 + ], + [ + -83.21667, + 28.175 + ], + [ + -82.63333, + 28.69 + ], + [ + -82.6, + 29.43 + ], + [ + -82.55, + 30.505 + ], + [ + -81.18333, + 32.14667 + ], + [ + -79.65, + 34.23333 + ], + [ + -79.48333, + 34.54333 + ], + [ + -78.93333, + 35.56667 + ], + [ + -78.78333, + 35.87333 + ], + [ + -78.53333, + 36.15833 + ], + [ + -78.16667, + 36.565 + ], + [ + -77.9, + 36.86167 + ], + [ + -77.31667, + 37.50167 + ], + [ + -76.83333, + 37.97 + ], + [ + -76.65, + 38.1 + ], + [ + -76.4, + 38.28833 + ], + [ + -76.01667, + 38.695 + ], + [ + -75.91667, + 38.80333 + ], + [ + -75.78333, + 38.94333 + ], + [ + -75.66667, + 39.06167 + ], + [ + -75.6, + 39.13833 + ], + [ + -75.51667, + 39.23167 + ], + [ + -74.41667, + 39.81667 + ], + [ + -73.7, + 40.205 + ], + [ + -72.31667, + 40.91833 + ], + [ + -71.56667, + 41.16667 + ], + [ + -70.01667, + 41.28167 + ], + [ + -67, + 42.63333 + ], + [ + -56.46667, + 45.60333 + ], + [ + -52, + 46.5 + ], + [ + -50.45, + 46.89 + ], + [ + -50, + 47 + ], + [ + -42.86667, + 47.805 + ], + [ + -40, + 48 + ], + [ + -38.03333, + 48.48 + ], + [ + -30, + 50 + ], + [ + -27.85, + 50.29 + ], + [ + -20, + 51 + ], + [ + -19.33333, + 51.01167 + ], + [ + -15, + 51 + ], + [ + -14, + 51 + ], + [ + -8.5, + 51 + ], + [ + -8.25, + 51 + ], + [ + -8, + 51 + ], + [ + -5.88333, + 50.935 + ], + [ + -3.98333, + 50.84333 + ], + [ + -2.65, + 50.76 + ], + [ + -2.51667, + 50.75 + ], + [ + -2.11667, + 50.675 + ], + [ + -1.6, + 50.575 + ], + [ + -0.93333, + 50.82 + ], + [ + -0.75, + 50.855 + ], + [ + -0.08333, + 50.88667 + ], + [ + -0.18333, + 50.985 + ], + [ + -0.18333, + 51.14833 + ] + ] + } + } + ] +} diff --git a/packages/turf-buffer/test/out/turfjs-linestring.geojson b/packages/turf-buffer/test/out/turfjs-linestring.geojson new file mode 100644 index 0000000000..ddf74fa590 --- /dev/null +++ b/packages/turf-buffer/test/out/turfjs-linestring.geojson @@ -0,0 +1,291 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "stroke": "#00F" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 126.9787, + -24.6642 + ], + [ + 132.6982, + -21.2097 + ], + [ + 137.1125, + -20.8298 + ], + [ + 141.971, + -23.0224 + ], + [ + 146.3687, + -28.8473 + ], + [ + 146.6066, + -31.4641 + ], + [ + 146.6245, + -31.5504 + ], + [ + 146.6619, + -31.632 + ], + [ + 146.7172, + -31.7058 + ], + [ + 146.7886, + -31.769 + ], + [ + 146.8732, + -31.8191 + ], + [ + 146.9677, + -31.8542 + ], + [ + 147.0685, + -31.8728 + ], + [ + 147.1717, + -31.8744 + ], + [ + 147.2733, + -31.8587 + ], + [ + 147.3693, + -31.8263 + ], + [ + 147.4559, + -31.7787 + ], + [ + 147.5298, + -31.7175 + ], + [ + 147.5882, + -31.6452 + ], + [ + 147.6287, + -31.5646 + ], + [ + 147.65, + -31.4787 + ], + [ + 147.6512, + -31.391 + ], + [ + 147.3728, + -28.6519 + ], + [ + 147.3571, + -28.5747 + ], + [ + 147.3263, + -28.5011 + ], + [ + 147.2814, + -28.4333 + ], + [ + 142.6915, + -22.4278 + ], + [ + 142.6369, + -22.366 + ], + [ + 142.5711, + -22.3143 + ], + [ + 142.4965, + -22.2744 + ], + [ + 137.4021, + -19.998 + ], + [ + 137.32, + -19.9687 + ], + [ + 137.2336, + -19.9545 + ], + [ + 137.1459, + -19.956 + ], + [ + 132.5038, + -20.3762 + ], + [ + 132.4243, + -20.389 + ], + [ + 132.3484, + -20.4147 + ], + [ + 132.2786, + -20.4528 + ], + [ + 126.4189, + -24.0183 + ], + [ + 126.3336, + -24.0795 + ], + [ + 126.2669, + -24.1576 + ], + [ + 120.7439, + -31.3357 + ], + [ + 120.6955, + -31.4017 + ], + [ + 120.6629, + -31.4744 + ], + [ + 120.6475, + -31.5511 + ], + [ + 120.6499, + -31.6289 + ], + [ + 120.6701, + -31.7049 + ], + [ + 120.7073, + -31.7761 + ], + [ + 120.7602, + -31.8398 + ], + [ + 120.8267, + -31.8935 + ], + [ + 120.9045, + -31.9352 + ], + [ + 120.9905, + -31.9631 + ], + [ + 121.0813, + -31.9763 + ], + [ + 121.1734, + -31.974 + ], + [ + 121.2634, + -31.9565 + ], + [ + 121.3475, + -31.9243 + ], + [ + 121.4225, + -31.8787 + ], + [ + 121.4855, + -31.8215 + ], + [ + 126.9787, + -24.6642 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + 121.11328124999999, + -31.57853542647337 + ], + [ + 126.65039062499999, + -24.367113562651262 + ], + [ + 132.5390625, + -20.797201434306984 + ], + [ + 137.197265625, + -20.385825381874263 + ], + [ + 142.294921875, + -22.67484735118852 + ], + [ + 146.865234375, + -28.690587654250685 + ], + [ + 147.12890625, + -31.42866311735861 + ] + ] + } + } + ] +} diff --git a/packages/turf-buffer/test/out/turfjs-point.geojson b/packages/turf-buffer/test/out/turfjs-point.geojson new file mode 100644 index 0000000000..34fbfb0088 --- /dev/null +++ b/packages/turf-buffer/test/out/turfjs-point.geojson @@ -0,0 +1,161 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "stroke": "#00F" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 134.5347, + -24.9344 + ], + [ + 134.5294, + -25.0178 + ], + [ + 134.5421, + -25.1006 + ], + [ + 134.5723, + -25.1796 + ], + [ + 134.619, + -25.2517 + ], + [ + 134.6805, + -25.3143 + ], + [ + 134.7543, + -25.3648 + ], + [ + 134.8377, + -25.4013 + ], + [ + 134.9275, + -25.4223 + ], + [ + 135.0201, + -25.4271 + ], + [ + 135.112, + -25.4154 + ], + [ + 135.1997, + -25.3876 + ], + [ + 135.2796, + -25.3449 + ], + [ + 135.3487, + -25.2888 + ], + [ + 135.4042, + -25.2215 + ], + [ + 135.4442, + -25.1457 + ], + [ + 135.4669, + -25.0643 + ], + [ + 135.4716, + -24.9805 + ], + [ + 135.4581, + -24.8974 + ], + [ + 135.427, + -24.8183 + ], + [ + 135.3796, + -24.7463 + ], + [ + 135.3176, + -24.684 + ], + [ + 135.2435, + -24.634 + ], + [ + 135.1602, + -24.598 + ], + [ + 135.0709, + -24.5775 + ], + [ + 134.9789, + -24.5732 + ], + [ + 134.8878, + -24.5851 + ], + [ + 134.801, + -24.613 + ], + [ + 134.7218, + -24.6556 + ], + [ + 134.6532, + -24.7114 + ], + [ + 134.5979, + -24.7782 + ], + [ + 134.5579, + -24.8535 + ], + [ + 134.5347, + -24.9344 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + 135, + -25 + ] + } + } + ] +} diff --git a/packages/turf-buffer/test/out/turfjs-rectangle.geojson b/packages/turf-buffer/test/out/turfjs-rectangle.geojson new file mode 100644 index 0000000000..4a59b1c2f1 --- /dev/null +++ b/packages/turf-buffer/test/out/turfjs-rectangle.geojson @@ -0,0 +1,197 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "stroke": "#00F" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 9.5454, + 10.003 + ], + [ + 9.5538, + 9.9144 + ], + [ + 9.5799, + 9.8292 + ], + [ + 9.6225, + 9.7507 + ], + [ + 9.68, + 9.6821 + ], + [ + 9.7501, + 9.626 + ], + [ + 9.8301, + 9.5847 + ], + [ + 9.9168, + 9.5597 + ], + [ + 10.0067, + 9.5522 + ], + [ + 19.9933, + 9.5522 + ], + [ + 20.0832, + 9.5597 + ], + [ + 20.1699, + 9.5847 + ], + [ + 20.2499, + 9.626 + ], + [ + 20.32, + 9.6821 + ], + [ + 20.3775, + 9.7507 + ], + [ + 20.4201, + 9.8292 + ], + [ + 20.4462, + 9.9144 + ], + [ + 20.4546, + 10.003 + ], + [ + 20.4766, + 19.9961 + ], + [ + 20.4686, + 20.0823 + ], + [ + 20.4432, + 20.1654 + ], + [ + 20.4011, + 20.2424 + ], + [ + 20.344, + 20.3104 + ], + [ + 20.274, + 20.3667 + ], + [ + 20.1937, + 20.4094 + ], + [ + 20.1061, + 20.4368 + ], + [ + 20.0145, + 20.4478 + ], + [ + 9.9855, + 20.4478 + ], + [ + 9.8939, + 20.4368 + ], + [ + 9.8063, + 20.4094 + ], + [ + 9.726, + 20.3667 + ], + [ + 9.656, + 20.3104 + ], + [ + 9.5989, + 20.2424 + ], + [ + 9.5568, + 20.1654 + ], + [ + 9.5314, + 20.0823 + ], + [ + 9.5234, + 19.9961 + ], + [ + 9.5454, + 10.003 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 10, + 10 + ], + [ + 20, + 10 + ], + [ + 20, + 20 + ], + [ + 10, + 20 + ], + [ + 10, + 10 + ] + ] + ] + } + } + ] +} diff --git a/packages/turf-buffer/test/types.ts b/packages/turf-buffer/test/types.ts new file mode 100644 index 0000000000..358953f71c --- /dev/null +++ b/packages/turf-buffer/test/types.ts @@ -0,0 +1,11 @@ +import * as lineOffset from '../' +import {lineString, multiLineString} from '@turf/helpers' + +const line = lineString([[0, 0], [10, 10]]) +const multiLine = multiLineString([[[0, 0], [10, 10]], [[5, 5], [15, 15]]]) + +lineOffset(line, 50) +lineOffset(line.geometry, 50) +lineOffset(multiLine, 50) +lineOffset(multiLine.geometry, 50) +lineOffset(line, 50, 'miles') diff --git a/packages/turf-buffer/yarn.lock b/packages/turf-buffer/yarn.lock index 8a64130dee..fd5ad6b3b5 100644 --- a/packages/turf-buffer/yarn.lock +++ b/packages/turf-buffer/yarn.lock @@ -2,6 +2,75 @@ # yarn lockfile v1 +"@turf/bbox@^4.6.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@turf/bbox/-/bbox-4.6.0.tgz#8c7f68cdd2bee9178de4d9f9bfbcee4235db5fc3" + dependencies: + "@turf/meta" "^4.6.0" + +"@turf/bearing@^4.3.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@turf/bearing/-/bearing-4.6.0.tgz#0ce18d6566bff4679503ff2fd883f36104976518" + dependencies: + "@turf/invariant" "^4.6.0" + +"@turf/buffer@^4.6.1": + version "4.6.1" + resolved "https://registry.yarnpkg.com/@turf/buffer/-/buffer-4.6.1.tgz#807110528061f97d843398597518a715d0b25e43" + dependencies: + "@turf/center" "^4.6.1" + "@turf/helpers" "^4.6.0" + "@turf/meta" "^4.6.0" + d3-geo "^1.6.3" + jsts "1.3.0" + +"@turf/center@^4.4.0", "@turf/center@^4.6.1": + version "4.6.1" + resolved "https://registry.yarnpkg.com/@turf/center/-/center-4.6.1.tgz#d9ed7a7e098f6ac1ff5189a05ee752b60d7ac681" + dependencies: + "@turf/bbox" "^4.6.0" + "@turf/helpers" "^4.6.0" + +"@turf/circle@^4.6.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@turf/circle/-/circle-4.6.0.tgz#1495599b51b2874fe677d11eedfa81a887074cd0" + dependencies: + "@turf/destination" "^4.6.0" + "@turf/helpers" "^4.6.0" + +"@turf/destination@^4.4.0", "@turf/destination@^4.6.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@turf/destination/-/destination-4.6.0.tgz#3d4759e85ea79bdc4c93ae2529f959baef6aeedd" + dependencies: + "@turf/helpers" "^4.6.0" + "@turf/invariant" "^4.6.0" + +"@turf/helpers@^4.3.0", "@turf/helpers@^4.6.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@turf/helpers/-/helpers-4.6.0.tgz#12398733b8ae28420df6166fa44c7ee8ffd6414c" + +"@turf/invariant@^4.3.0", "@turf/invariant@^4.6.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@turf/invariant/-/invariant-4.6.0.tgz#ba61401d537543f81ccfc588e12bb0d8e653dd80" + +"@turf/line-arc@^4.3.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@turf/line-arc/-/line-arc-4.6.0.tgz#ba1c28382d0e6f3ef4886c7ceaa4d8fb2d83400e" + dependencies: + "@turf/circle" "^4.6.0" + "@turf/destination" "^4.6.0" + "@turf/helpers" "^4.6.0" + +"@turf/meta@^4.2.0", "@turf/meta@^4.6.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@turf/meta/-/meta-4.6.0.tgz#0d3f9a218e58d1c5e5deedf467c3321dd61203f3" + +"@turf/truncate@^4.6.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@turf/truncate/-/truncate-4.6.0.tgz#903ad5ed34c0b851b93529975eb8e2eb769a561f" + dependencies: + "@turf/meta" "^4.6.0" + balanced-match@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" diff --git a/packages/turf-concave/README.md b/packages/turf-concave/README.md index 4ead6bf9f0..e04c54ae91 100644 --- a/packages/turf-concave/README.md +++ b/packages/turf-concave/README.md @@ -8,7 +8,7 @@ Internally, this uses [turf-tin](https://github.com/Turfjs/turf-tin) to generate **Parameters** - `points` **[FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** input points -- `maxEdge` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** the length (in 'units') of an edge necessary for part of the hull to become concave +- `maxEdge` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** the size of an edge necessary for part of the hull to become concave (in miles) - `units` **\[[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** can be degrees, radians, miles, or kilometers (optional, default `kilometers`) **Examples** diff --git a/packages/turf-concave/bench.js b/packages/turf-concave/bench.js index d393669ba1..b17d485bb6 100644 --- a/packages/turf-concave/bench.js +++ b/packages/turf-concave/bench.js @@ -1,45 +1,22 @@ -const fs = require('fs'); -const path = require('path'); -const load = require('load-json-file'); -const Benchmark = require('benchmark'); -const concave = require('./'); - -const directory = path.join(__dirname, 'test', 'in') + path.sep; -const fixtures = fs.readdirSync(directory).map(filename => { - return { - name: path.parse(filename).name, - geojson: load.sync(directory + filename) - }; -}); - -/** - * Single Process Benchmark - * - * issue-333: 651.884ms - * pts1: 6.568ms - * pts2: 476.032ms - */ -for (const {name, geojson} of fixtures) { - const {maxEdge, units} = geojson.properties || {maxEdge: 1}; - console.time(name); - concave(geojson, maxEdge, units); - console.timeEnd(name); -} - -/** - * Benchmark Results - * - * issue-333 x 5.57 ops/sec ±10.65% (18 runs sampled) - * pts1 x 315 ops/sec ±3.48% (70 runs sampled) - * pts2 x 4.51 ops/sec ±2.28% (16 runs sampled) - */ -const suite = new Benchmark.Suite('turf-transform-scale'); -for (const {name, geojson} of fixtures) { - const {maxEdge, units} = geojson.properties || {maxEdge: 1}; - suite.add(name, () => concave(geojson, maxEdge, units)); -} +var concave = require('./'); +var Benchmark = require('benchmark'); +var fs = require('fs'); +var pts1 = JSON.parse(fs.readFileSync(__dirname+'/test/in/pts1.geojson')); +var pts2 = JSON.parse(fs.readFileSync(__dirname+'/test/in/pts2.geojson')); + +var suite = new Benchmark.Suite('turf-concave'); suite - .on('cycle', e => console.log(String(e.target))) - .on('complete', () => {}) - .run(); + .add('turf-concave#simple',function () { + concave(pts1, 2.5, 'miles'); + }) + .add('turf-concave#complex',function () { + concave(pts2, 2.5, 'miles'); + }) + .on('cycle', function (event) { + console.log(String(event.target)); + }) + .on('complete', function () { + + }) + .run(); diff --git a/packages/turf-concave/index.js b/packages/turf-concave/index.js index 22fc419128..a10dc495e3 100644 --- a/packages/turf-concave/index.js +++ b/packages/turf-concave/index.js @@ -1,21 +1,20 @@ // 1. run tin on points -// 2. calculate length of all edges and area of all triangles +// 2. calculate lenth of all edges and area of all triangles // 3. remove triangles that fail the max length test // 4. buffer the results slightly // 5. merge the results var tin = require('@turf/tin'); var union = require('@turf/union'); var distance = require('@turf/distance'); -var clone = require('@turf/clone'); /** * Takes a set of {@link Point|points} and returns a concave hull polygon. * Internally, this uses [turf-tin](https://github.com/Turfjs/turf-tin) to generate geometries. * * @param {FeatureCollection} points input points - * @param {number} maxEdge the length (in 'units') of an edge necessary for part of the hull to become concave + * @param {number} maxEdge the size of an edge necessary for part of the hull to become concave (in miles) * @param {string} [units=kilometers] can be degrees, radians, miles, or kilometers - * @returns {Feature<(Polygon|MultiPolygon)>} a concave hull + * @returns {Feature} a concave hull * @throws {Error} if maxEdge parameter is missing or unable to compute hull * @example * var points = turf.featureCollection([ @@ -32,13 +31,17 @@ var clone = require('@turf/clone'); * //addToMap * var addToMap = [points, hull] */ -module.exports = function (points, maxEdge, units) { - if (!points) throw new Error('points is required'); - if (maxEdge === undefined || maxEdge === null) throw new Error('maxEdge is required'); - if (typeof maxEdge !== 'number') throw new Error('invalid maxEdge'); +function concave(points, maxEdge, units) { + if (typeof maxEdge !== 'number') throw new Error('maxEdge parameter is required'); var tinPolys = tin(points); - tinPolys.features = tinPolys.features.filter(function (triangle) { + var filteredPolys = tinPolys.features.filter(filterTriangles); + tinPolys.features = filteredPolys; + if (tinPolys.features.length < 1) { + throw new Error('too few polygons found to compute concave hull'); + } + + function filterTriangles(triangle) { var pt1 = triangle.geometry.coordinates[0][0]; var pt2 = triangle.geometry.coordinates[0][1]; var pt3 = triangle.geometry.coordinates[0][2]; @@ -46,27 +49,22 @@ module.exports = function (points, maxEdge, units) { var dist2 = distance(pt2, pt3, units); var dist3 = distance(pt1, pt3, units); return (dist1 <= maxEdge && dist2 <= maxEdge && dist3 <= maxEdge); - }); + } - if (tinPolys.features.length < 1) throw new Error('too few polygons found to compute concave hull'); + return merge(tinPolys); +} - return merge(tinPolys.features); -}; - -/** - * Merges/Unifies all the features in a single polygon - * - * @private - * @param {Array} features to be merged - * @returns {Feature<(Polygon|MultiPolygon)>} merged result - */ -function merge(features) { - var merged = clone(features[0]); - merged.properties = {}; +function merge(polygons) { + var merged = JSON.parse(JSON.stringify(polygons.features[0])), + features = polygons.features; for (var i = 0, len = features.length; i < len; i++) { var poly = features[i]; - if (poly.geometry) merged = union(merged, poly); + if (poly.geometry) { + merged = union(merged, poly); + } } return merged; } + +module.exports = concave; diff --git a/packages/turf-concave/package.json b/packages/turf-concave/package.json index 3e463e150b..d18fe8fb69 100644 --- a/packages/turf-concave/package.json +++ b/packages/turf-concave/package.json @@ -19,13 +19,9 @@ "keywords": [ "turf", "gis", - "concave", "geometry" ], "author": "Turf Authors", - "contributors": [ - "Stefano Borghi <@stebogit>" - ], "license": "MIT", "bugs": { "url": "https://github.com/Turfjs/turf/issues" @@ -33,16 +29,13 @@ "homepage": "https://github.com/Turfjs/turf", "devDependencies": { "@turf/helpers": "^4.6.0", - "@turf/meta": "^4.6.0", "benchmark": "^2.1.4", - "load-json-file": "^2.0.0", - "tape": "^4.6.3", - "write-json-file": "^2.1.4" + "glob": "~4.3.5", + "tape": "^4.6.3" }, "dependencies": { "@turf/distance": "^4.6.0", "@turf/tin": "^4.6.0", - "@turf/union": "^4.6.0", - "@turf/clone": "^4.6.0" + "@turf/union": "^4.6.0" } } diff --git a/packages/turf-concave/test.js b/packages/turf-concave/test.js index cd8f1a169f..6799e5d6d8 100644 --- a/packages/turf-concave/test.js +++ b/packages/turf-concave/test.js @@ -1,54 +1,56 @@ -const fs = require('fs'); -const test = require('tape'); -const path = require('path'); -const load = require('load-json-file'); -const write = require('write-json-file'); -const {point, featureCollection} = require('@turf/helpers'); -const {featureEach} = require('@turf/meta'); -const concave = require('./'); - -const directories = { - in: path.join(__dirname, 'test', 'in') + path.sep, - out: path.join(__dirname, 'test', 'out') + path.sep -}; - -const fixtures = fs.readdirSync(directories.in).map(filename => { - return { - filename, - name: path.parse(filename).name, - geojson: load.sync(directories.in + filename) - }; +var concave = require('./'); +var test = require('tape'); +var fs = require('fs'); +var featureCollection = require('@turf/helpers').featureCollection; +var point = require('@turf/helpers').point; + +var pts1 = JSON.parse(fs.readFileSync(__dirname+'/test/fixtures/in/pts1.geojson')); +var pts2 = JSON.parse(fs.readFileSync(__dirname+'/test/fixtures/in/pts2.geojson')); + +test('concave', function(t){ + + var ptsOnePoint = featureCollection([point([0, 0])]); + var ptsOnePointHull = null; + t.throws(function(){ + ptsOnePointHull = concave(ptsOnePoint, 5.5, 'miles'); + }, Error, 'fails with too few points'); + t.notOk(ptsOnePointHull, 'hull not computed with too few points'); + + var ptsNoPointHull = null; + t.throws(function(){ + ptsNoPointHull = concave(pts1, 0, 'miles'); + }, Error, 'fails with small maxEdge'); + t.notOk(ptsNoPointHull, 'hull not computed with small maxEdge'); + + t.end(); }); -test('turf-line-split', t => { - for(const {filename, name, geojson} of fixtures) { - const {maxEdge, units} = geojson.properties || {maxEdge: 1}; - const hull = concave(geojson, maxEdge, units); - featureEach(geojson, stylePt); - const results = featureCollection([...geojson.features, hull]); - - if (process.env.REGEN) write.sync(directories.out + filename, results); - t.deepEquals(results, load.sync(directories.out + filename), name); - } - t.end(); -}); - - -const points = featureCollection([point([0, 0]), point([1, 1]), point([1, 0])]); -const onePoint = featureCollection([point([0, 0])]); - -test('concave', t => { - t.throws(() => concave(onePoint, 5.5, 'miles'), /too few polygons found to compute concave hull/, 'too few points'); - t.throws(() => concave(onePoint, 0), /too few polygons found to compute concave hull/, 'maxEdge too small'); - - t.throws(() => concave(null, 0), /points is required/, 'no points'); - t.throws(() => concave(points, null), /maxEdge is required/, 'no maxEdge'); - t.throws(() => concave(points, 1, 'foo'), /units is invalid/, 'invalid units'); - - t.end(); +test('concave', function(t){ + var pts1HullMiles = concave(pts1, 5.5, 'miles'); + var pts1HullKilometers = concave(pts1, 5.5 * 1.60934, 'kilometers'); + t.ok(pts1HullMiles, 'computes hull'); + t.equal(pts1HullMiles.type, 'Feature'); + t.deepEqual(pts1HullMiles, pts1HullKilometers, 'miles and km should return the same result'); + + var pts2HullMiles = concave(pts2, 2, 'miles'); + var pts2HullKilometers = concave(pts2, 2 * 1.60934, 'kilometers'); + t.ok(pts2HullMiles, 'computes hull'); + t.equal(pts2HullMiles.type, 'Feature'); + t.deepEqual(pts2HullMiles, pts2HullKilometers, 'miles and km should return the same result'); + + // output results + pts1.features = pts1.features.map(stylePt); + pts1.features.push(pts1HullMiles); + pts2.features = pts2.features.map(stylePt); + pts2.features.push(pts2HullMiles); + fs.writeFileSync(__dirname+'/test/fixtures/out/pts1_out.geojson', JSON.stringify(pts1,null,2)); + fs.writeFileSync(__dirname+'/test/fixtures/out/pts2_out.geojson', JSON.stringify(pts2,null,2)); + + t.end(); }); function stylePt(pt){ - pt.properties['marker-color'] = '#f0f'; - pt.properties['marker-size'] = 'small'; + pt.properties['marker-color'] = '#f0f'; + pt.properties['marker-size'] = 'small'; + return pt; } diff --git a/packages/turf-concave/test/in/pts1.geojson b/packages/turf-concave/test/fixtures/in/pts1.geojson similarity index 97% rename from packages/turf-concave/test/in/pts1.geojson rename to packages/turf-concave/test/fixtures/in/pts1.geojson index 62a0ca394a..21b440cad2 100644 --- a/packages/turf-concave/test/in/pts1.geojson +++ b/packages/turf-concave/test/fixtures/in/pts1.geojson @@ -1,9 +1,5 @@ { "type": "FeatureCollection", - "properties": { - "maxEdge": 5.5, - "units": "miles" - }, "features": [ { "type": "Feature", diff --git a/packages/turf-concave/test/fixtures/in/pts2.geojson b/packages/turf-concave/test/fixtures/in/pts2.geojson new file mode 100644 index 0000000000..5a41f30da1 --- /dev/null +++ b/packages/turf-concave/test/fixtures/in/pts2.geojson @@ -0,0 +1,150 @@ +{ +"type": "FeatureCollection", +"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, + +"features": [ +{ "type": "Feature", "properties": { "OBJECTID_1": 51, "OBJECTID_2": 25, "OBJECTID": 49.0, "PRECINCT_N": 7.0, "FACILITY_D": "Recreation Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_49", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Hardy Recreation Center", "ADDRESS": "4500 Q STREET NW", "ADDRESS_ID": 284929 }, "geometry": { "type": "Point", "coordinates": [ -77.084981183092964, 38.909915833213795 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 52, "OBJECTID_2": 26, "OBJECTID": 50.0, "PRECINCT_N": 5.0, "FACILITY_D": "Large Meeting Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_50", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Georgetown Community Library", "ADDRESS": "3260 R STREET NW", "ADDRESS_ID": 295142 }, "geometry": { "type": "Point", "coordinates": [ -77.066007305842078, 38.913434229544386 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 53, "OBJECTID_2": 27, "OBJECTID": 51.0, "PRECINCT_N": 76.0, "FACILITY_D": "Community Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_51", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Bethesda Baptist Church", "ADDRESS": "1808 CAPITOL AVENUE NE", "ADDRESS_ID": 155925 }, "geometry": { "type": "Point", "coordinates": [ -76.98614224512842, 38.911020521048734 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 54, "OBJECTID_2": 28, "OBJECTID": 52.0, "PRECINCT_N": 15.0, "FACILITY_D": "Community Room (Lower Level)", "ACCESSIBLE": "Yes - Use side entrance on P Street", "GIS_ID": "plp_52", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Foundry United Methodist Church", "ADDRESS": "1500 16TH STREET NW", "ADDRESS_ID": 243309 }, "geometry": { "type": "Point", "coordinates": [ -77.036879490722725, 38.910033613313317 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 55, "OBJECTID_2": 29, "OBJECTID": 53.0, "PRECINCT_N": 14.0, "FACILITY_D": "Guild Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_53", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "St. Thomas' Episcopal Parish", "ADDRESS": "1772 CHURCH STREET NW", "ADDRESS_ID": 225918 }, "geometry": { "type": "Point", "coordinates": [ -77.041041176671854, 38.910212212295264 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 56, "OBJECTID_2": 30, "OBJECTID": 54.0, "PRECINCT_N": 16.0, "FACILITY_D": "Fellowship Hall", "ACCESSIBLE": "Yes - Accessible entrance at the rear of the church. Use entrance on R St. side of church.", "GIS_ID": "plp_54", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "15th Street Presbyterian Church", "ADDRESS": "1701 15TH STREET NW", "ADDRESS_ID": 240136 }, "geometry": { "type": "Point", "coordinates": [ -77.03417962817295, 38.912811255258127 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 57, "OBJECTID_2": 31, "OBJECTID": 55.0, "PRECINCT_N": 18.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_55", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Kennedy Recreation Center", "ADDRESS": "1401 7TH STREET NW", "ADDRESS_ID": 279127 }, "geometry": { "type": "Point", "coordinates": [ -77.021536456247759, 38.908989778469483 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 58, "OBJECTID_2": 32, "OBJECTID": 56.0, "PRECINCT_N": 17.0, "FACILITY_D": "Exhibit Rooms", "ACCESSIBLE": "Yes", "GIS_ID": "plp_56", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "The Charles Sumner School Museum and Archives", "ADDRESS": "1201 17th STREET NW\r\n1201 17TH STREET NW", "ADDRESS_ID": 301200 }, "geometry": { "type": "Point", "coordinates": [ -77.038222905521806, 38.905977334681452 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 59, "OBJECTID_2": 33, "OBJECTID": 57.0, "PRECINCT_N": 4.0, "FACILITY_D": "Large Meeting Room (2nd Floor)", "ACCESSIBLE": "Yes", "GIS_ID": "plp_57", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "West End Public Library", "ADDRESS": "1101 24TH STREET NW", "ADDRESS_ID": 218248 }, "geometry": { "type": "Point", "coordinates": [ -77.05109790160472, 38.904019151364736 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 60, "OBJECTID_2": 34, "OBJECTID": 58.0, "PRECINCT_N": 77.0, "FACILITY_D": "Community Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_58", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Delta Towers Apartments", "ADDRESS": "1400 FLORIDA AVENUE NE", "ADDRESS_ID": 65280 }, "geometry": { "type": "Point", "coordinates": [ -76.984331916380768, 38.900557364972023 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 61, "OBJECTID_2": 35, "OBJECTID": 59.0, "PRECINCT_N": 129.0, "FACILITY_D": "Main Lobby", "ACCESSIBLE": "Yes", "GIS_ID": "plp_59", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Martin Luther King Library", "ADDRESS": "901 G STREET NW", "ADDRESS_ID": 239815 }, "geometry": { "type": "Point", "coordinates": [ -77.02476626008324, 38.898691330337449 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 62, "OBJECTID_2": 36, "OBJECTID": 60.0, "PRECINCT_N": 82.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_60", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Sherwood Recreation Center", "ADDRESS": "640 10TH STREET NE", "ADDRESS_ID": 301075 }, "geometry": { "type": "Point", "coordinates": [ -76.993016818542159, 38.898545289067677 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 63, "OBJECTID_2": 37, "OBJECTID": 61.0, "PRECINCT_N": 3.0, "FACILITY_D": "Dining Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_61", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "St. Mary's Court", "ADDRESS": "725 24TH STREET NW", "ADDRESS_ID": 242350 }, "geometry": { "type": "Point", "coordinates": [ -77.051147709627202, 38.898862835793516 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 64, "OBJECTID_2": 38, "OBJECTID": 62.0, "PRECINCT_N": 1.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_62", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Walker-Jones EC", "ADDRESS": "1125 NEW JERSEY AVENUE NW", "ADDRESS_ID": 307735 }, "geometry": { "type": "Point", "coordinates": [ -77.013915692345691, 38.90419164723351 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 65, "OBJECTID_2": 39, "OBJECTID": 64.0, "PRECINCT_N": 10.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_64", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Horace Mann Community Center", "ADDRESS": "4430 NEWARK STREET NW", "ADDRESS_ID": 294597 }, "geometry": { "type": "Point", "coordinates": [ -77.087826188256471, 38.934291971694272 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 66, "OBJECTID_2": 40, "OBJECTID": 65.0, "PRECINCT_N": 19.0, "FACILITY_D": "Gym\/Armory", "ACCESSIBLE": "Yes", "GIS_ID": "plp_65", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Dunbar Senior High School", "ADDRESS": "1301 NEW JERSEY AVENUE NW", "ADDRESS_ID": 279021 }, "geometry": { "type": "Point", "coordinates": [ -77.014693855315954, 38.908523216218732 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 67, "OBJECTID_2": 41, "OBJECTID": 66.0, "PRECINCT_N": 20.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_66", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Washington Metropolitan High School", "ADDRESS": "300 BRYANT STREET NW", "ADDRESS_ID": 294475 }, "geometry": { "type": "Point", "coordinates": [ -77.015557008963071, 38.920441293733219 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 68, "OBJECTID_2": 42, "OBJECTID": 67.0, "PRECINCT_N": 21.0, "FACILITY_D": "Fellowship Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_67", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Vermont Avenue Baptist Church", "ADDRESS": "1630 VERMONT AVENUE NW", "ADDRESS_ID": 243277 }, "geometry": { "type": "Point", "coordinates": [ -77.028781227702837, 38.911825717245286 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 69, "OBJECTID_2": 43, "OBJECTID": 68.0, "PRECINCT_N": 22.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes - Accessible entrance located on V Street.", "GIS_ID": "plp_68", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Garnet-Patterson Middle School", "ADDRESS": "2001 10TH STREET NW", "ADDRESS_ID": 294533 }, "geometry": { "type": "Point", "coordinates": [ -77.025748782113368, 38.917544774486181 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 70, "OBJECTID_2": 44, "OBJECTID": 69.0, "PRECINCT_N": 24.0, "FACILITY_D": "Living Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_69", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Marie Reed Learning Center", "ADDRESS": "2200 CHAMPLAIN STREET NW", "ADDRESS_ID": 235577 }, "geometry": { "type": "Point", "coordinates": [ -77.04052994742716, 38.919167306666537 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 71, "OBJECTID_2": 45, "OBJECTID": 71.0, "PRECINCT_N": 27.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_71", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Eaton Elementary School", "ADDRESS": "3301 LOWELL STREET NW", "ADDRESS_ID": 294562 }, "geometry": { "type": "Point", "coordinates": [ -77.065821132685912, 38.932726738826823 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 72, "OBJECTID_2": 46, "OBJECTID": 72.0, "PRECINCT_N": 29.0, "FACILITY_D": "Community Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_72", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "2nd District Police Station", "ADDRESS": "3320 IDAHO AVENUE NW", "ADDRESS_ID": 222229 }, "geometry": { "type": "Point", "coordinates": [ -77.074838057652229, 38.934845831784592 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 73, "OBJECTID_2": 47, "OBJECTID": 73.0, "PRECINCT_N": 30.0, "FACILITY_D": "Multi-Purpose Room (on Albemarle St.)", "ACCESSIBLE": "Yes - Accessible entrance at side of school, nearest to Wisconsin Ave.", "GIS_ID": "plp_73", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Janney Elementary School", "ADDRESS": "4130 ALBEMARLE STREET NW", "ADDRESS_ID": 285713 }, "geometry": { "type": "Point", "coordinates": [ -77.080994819731956, 38.947550087065927 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 74, "OBJECTID_2": 48, "OBJECTID": 74.0, "PRECINCT_N": 33.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes - Use rear entrance on Ellicott St.", "GIS_ID": "plp_74", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Ben Murch Elementary School", "ADDRESS": "4810 36TH STREET NW", "ADDRESS_ID": 294602 }, "geometry": { "type": "Point", "coordinates": [ -77.07007920338755, 38.952933189596607 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 75, "OBJECTID_2": 49, "OBJECTID": 75.0, "PRECINCT_N": 35.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_75", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "H.D. Cooke Elementary School", "ADDRESS": "2525 17TH STREET NW", "ADDRESS_ID": 235863 }, "geometry": { "type": "Point", "coordinates": [ -77.038813828001906, 38.923931654217967 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 76, "OBJECTID_2": 50, "OBJECTID": 76.0, "PRECINCT_N": 37.0, "FACILITY_D": "Community Meeting Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_76", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Banneker Community Recreation Center", "ADDRESS": "2500 GEORGIA AVENUE NW", "ADDRESS_ID": 232292 }, "geometry": { "type": "Point", "coordinates": [ -77.022579801385916, 38.922697600945042 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 77, "OBJECTID_2": 51, "OBJECTID": 77.0, "PRECINCT_N": 38.0, "FACILITY_D": "Meeting Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_77", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Cesar Chavez Prep Charter Middle School", "ADDRESS": "770 KENYON STREET NW", "ADDRESS_ID": 285409 }, "geometry": { "type": "Point", "coordinates": [ -77.025887356034701, 38.929619476288885 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 78, "OBJECTID_2": 52, "OBJECTID": 78.0, "PRECINCT_N": 40.0, "FACILITY_D": "Assembly Hall", "ACCESSIBLE": "Yes - Use entrance on Newton Street.", "GIS_ID": "plp_78", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Bancroft Elementary School", "ADDRESS": "1755 NEWTON STREET NW", "ADDRESS_ID": 294528 }, "geometry": { "type": "Point", "coordinates": [ -77.040553449803028, 38.934318023511061 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 79, "OBJECTID_2": 53, "OBJECTID": 79.0, "PRECINCT_N": 46.0, "FACILITY_D": "Classroom", "ACCESSIBLE": "Yes", "GIS_ID": "plp_79", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "E.L. Haynes Public Charter School @ Clark", "ADDRESS": "4501 KANSAS AVENUE NW", "ADDRESS_ID": 284930 }, "geometry": { "type": "Point", "coordinates": [ -77.022416369914765, 38.94560156110601 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 80, "OBJECTID_2": 54, "OBJECTID": 80.0, "PRECINCT_N": 47.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes - Accessible ramped entrance off of alley.", "GIS_ID": "plp_80", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Powell Elementary School", "ADDRESS": "1350 UPSHUR STREET NW", "ADDRESS_ID": 255302 }, "geometry": { "type": "Point", "coordinates": [ -77.031227415751488, 38.941534009869706 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 81, "OBJECTID_2": 55, "OBJECTID": 81.0, "PRECINCT_N": 48.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes - Use south entrance on 13th St.", "GIS_ID": "plp_81", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Sharpe Health School", "ADDRESS": "4300 13TH STREET NW", "ADDRESS_ID": 255254 }, "geometry": { "type": "Point", "coordinates": [ -77.030468336673792, 38.943474325156487 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 82, "OBJECTID_2": 56, "OBJECTID": 82.0, "PRECINCT_N": 49.0, "FACILITY_D": "Science Room", "ACCESSIBLE": "Yes - Accessible entrance located on Rock Creek Church Road.", "GIS_ID": "plp_82", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Raymond Elementary School", "ADDRESS": "915 SPRING ROAD NW", "ADDRESS_ID": 226682 }, "geometry": { "type": "Point", "coordinates": [ -77.026432654256809, 38.935810871763174 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 83, "OBJECTID_2": 57, "OBJECTID": 83.0, "PRECINCT_N": 51.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes - Use parking lot entrance on Northampton St.", "GIS_ID": "plp_83", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Lafayette Elementary School", "ADDRESS": "5701 BROAD BRANCH ROAD NW", "ADDRESS_ID": 294611 }, "geometry": { "type": "Point", "coordinates": [ -77.06803711636698, 38.966627220648277 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 84, "OBJECTID_2": 58, "OBJECTID": 84.0, "PRECINCT_N": 53.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_84", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Brightwood Elementary School", "ADDRESS": "1300 NICHOLSON STREET NW", "ADDRESS_ID": 294515 }, "geometry": { "type": "Point", "coordinates": [ -77.030688851988643, 38.960535392858461 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 85, "OBJECTID_2": 59, "OBJECTID": 85.0, "PRECINCT_N": 54.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes - Use entrance located at 14th & Farragut Streets.", "GIS_ID": "plp_85", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "West Elementary School", "ADDRESS": "1338 FARRAGUT STREET NW", "ADDRESS_ID": 294517 }, "geometry": { "type": "Point", "coordinates": [ -77.032253049830672, 38.951367080952416 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 86, "OBJECTID_2": 60, "OBJECTID": 86.0, "PRECINCT_N": 55.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_86", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Barnard Elementary School", "ADDRESS": "430 DECATUR STREET NW", "ADDRESS_ID": 248305 }, "geometry": { "type": "Point", "coordinates": [ -77.017777080008301, 38.948230614415095 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 87, "OBJECTID_2": 61, "OBJECTID": 87.0, "PRECINCT_N": 56.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_87", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Truesdell Elementary School", "ADDRESS": "800 INGRAHAM STREET NW", "ADDRESS_ID": 294497 }, "geometry": { "type": "Point", "coordinates": [ -77.025071570135182, 38.953968358095487 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 88, "OBJECTID_2": 62, "OBJECTID": 88.0, "PRECINCT_N": 57.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_88", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Hattie Holmes Wellness Center", "ADDRESS": "324 KENNEDY STREET NW", "ADDRESS_ID": 307575 }, "geometry": { "type": "Point", "coordinates": [ -77.017112348141424, 38.956388773368296 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 89, "OBJECTID_2": 63, "OBJECTID": 90.0, "PRECINCT_N": 59.0, "FACILITY_D": "Armory", "ACCESSIBLE": "Yes", "GIS_ID": "plp_90", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Coolidge Senior High School", "ADDRESS": "6315 5TH STREET NW", "ADDRESS_ID": 294615 }, "geometry": { "type": "Point", "coordinates": [ -77.01957835173927, 38.967284239673525 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 90, "OBJECTID_2": 64, "OBJECTID": 91.0, "PRECINCT_N": 62.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes - Use ramped entrance on 14th Street.", "GIS_ID": "plp_91", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Shepherd Elementary School", "ADDRESS": "7800 14TH STREET NW", "ADDRESS_ID": 256319 }, "geometry": { "type": "Point", "coordinates": [ -77.03399523386544, 38.984602950032162 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 91, "OBJECTID_2": 65, "OBJECTID": 92.0, "PRECINCT_N": 63.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_92", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Takoma Community Center", "ADDRESS": "300 VAN BUREN STREET NW", "ADDRESS_ID": 296168 }, "geometry": { "type": "Point", "coordinates": [ -77.018051676182949, 38.968886691314118 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 92, "OBJECTID_2": 66, "OBJECTID": 93.0, "PRECINCT_N": 64.0, "FACILITY_D": "Recreation Area", "ACCESSIBLE": "Yes - Use rear entrance on 2nd St.", "GIS_ID": "plp_93", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Rabaut - Administrative Building", "ADDRESS": "100 PEABODY STREET NW", "ADDRESS_ID": 277545 }, "geometry": { "type": "Point", "coordinates": [ -77.012867448323647, 38.962164521997181 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 93, "OBJECTID_2": 67, "OBJECTID": 94.0, "PRECINCT_N": 65.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_94", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "LaSalle Elementary School", "ADDRESS": "501 RIGGS ROAD NE", "ADDRESS_ID": 294489 }, "geometry": { "type": "Point", "coordinates": [ -76.999882538481089, 38.959971809983642 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 94, "OBJECTID_2": 68, "OBJECTID": 95.0, "PRECINCT_N": 66.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes - Accessible entrance next to parking lot on Hamilton Street.", "GIS_ID": "plp_95", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "UDC Community College @ Backus", "ADDRESS": "5171 SOUTH DAKOTA AVENUE NE", "ADDRESS_ID": 294607 }, "geometry": { "type": "Point", "coordinates": [ -76.997267383153954, 38.953340525729047 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 95, "OBJECTID_2": 69, "OBJECTID": 96.0, "PRECINCT_N": 67.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes - Accessible entrance next to the parking lot on 14th Street", "GIS_ID": "plp_96", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Bunker Hill Elementary School", "ADDRESS": "1401 MICHIGAN AVENUE NE", "ADDRESS_ID": 286131 }, "geometry": { "type": "Point", "coordinates": [ -76.98499562999821, 38.942012135008142 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 96, "OBJECTID_2": 70, "OBJECTID": 97.0, "PRECINCT_N": 68.0, "FACILITY_D": "Reception Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_97", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "St. Francis Hall", "ADDRESS": "1340 QUINCY STREET NE", "ADDRESS_ID": 66591 }, "geometry": { "type": "Point", "coordinates": [ -76.986529583871643, 38.9375726751204 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 97, "OBJECTID_2": 71, "OBJECTID": 98.0, "PRECINCT_N": 69.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_98", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Hyde Public Charter School @ Taft", "ADDRESS": "1800 PERRY STREET NE", "ADDRESS_ID": 294529 }, "geometry": { "type": "Point", "coordinates": [ -76.978595514953696, 38.936796147384342 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 98, "OBJECTID_2": 72, "OBJECTID": 99.0, "PRECINCT_N": 70.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes - Use entrance on Monroe Street.", "GIS_ID": "plp_99", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Burroughs Elementary School", "ADDRESS": "1820 MONROE STREET NE", "ADDRESS_ID": 294530 }, "geometry": { "type": "Point", "coordinates": [ -76.978456370398874, 38.933502326896445 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 99, "OBJECTID_2": 73, "OBJECTID": 100.0, "PRECINCT_N": 73.0, "FACILITY_D": "Library (Lower Level)", "ACCESSIBLE": "Yes", "GIS_ID": "plp_100", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "M.M. Bethune Day Academy @ Slowe", "ADDRESS": "1404 JACKSON STREET NE", "ADDRESS_ID": 294522 }, "geometry": { "type": "Point", "coordinates": [ -76.986864622728547, 38.929605590082105 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 100, "OBJECTID_2": 74, "OBJECTID": 101.0, "PRECINCT_N": 74.0, "FACILITY_D": "Multipurpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_101", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Shaed Elementary School", "ADDRESS": "301 DOUGLAS STREET NE", "ADDRESS_ID": 294477 }, "geometry": { "type": "Point", "coordinates": [ -77.002538318002209, 38.923654687421774 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 101, "OBJECTID_2": 75, "OBJECTID": 102.0, "PRECINCT_N": 78.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_102", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Trinidad Recreation Center", "ADDRESS": "1310 CHILDRESS STREET NE", "ADDRESS_ID": 68509 }, "geometry": { "type": "Point", "coordinates": [ -76.982734368763062, 38.906442359837776 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 102, "OBJECTID_2": 76, "OBJECTID": 103.0, "PRECINCT_N": 81.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_103", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Miner Elementary School", "ADDRESS": "601 15TH STREET NE", "ADDRESS_ID": 289548 }, "geometry": { "type": "Point", "coordinates": [ -76.982904313087829, 38.897375682182471 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 103, "OBJECTID_2": 77, "OBJECTID": 104.0, "PRECINCT_N": 79.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_104", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Browne Junior High School", "ADDRESS": "850 26TH STREET NE", "ADDRESS_ID": 294501 }, "geometry": { "type": "Point", "coordinates": [ -76.970667052474028, 38.902598549008218 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 104, "OBJECTID_2": 78, "OBJECTID": 105.0, "PRECINCT_N": 83.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes - Use entrance located on 7th Street.", "GIS_ID": "plp_105", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "J.O. Wilson Elementary School", "ADDRESS": "660 K STREET NE", "ADDRESS_ID": 288841 }, "geometry": { "type": "Point", "coordinates": [ -76.996589027486436, 38.90275766582991 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 105, "OBJECTID_2": 79, "OBJECTID": 106.0, "PRECINCT_N": 84.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_106", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Stuart-Hobson Middle School", "ADDRESS": "410 E STREET NE", "ADDRESS_ID": 294483 }, "geometry": { "type": "Point", "coordinates": [ -77.000004386249671, 38.896297370808789 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 106, "OBJECTID_2": 80, "OBJECTID": 107.0, "PRECINCT_N": 85.0, "FACILITY_D": "Auditorium (A-Level)", "ACCESSIBLE": "Yes", "GIS_ID": "plp_107", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "The Specialty Hospital of Washington", "ADDRESS": "700 CONSTITUTION AVENUE NE", "ADDRESS_ID": 295162 }, "geometry": { "type": "Point", "coordinates": [ -76.995356592112472, 38.892321795813096 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 107, "OBJECTID_2": 81, "OBJECTID": 108.0, "PRECINCT_N": 86.0, "FACILITY_D": "Recreation Room (lower level)", "ACCESSIBLE": "Yes - Accessible - side entrance, next to the parking lot.", "GIS_ID": "plp_108", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Eliot Junior High School", "ADDRESS": "1830 CONSTITUTION AVENUE NE", "ADDRESS_ID": 286499 }, "geometry": { "type": "Point", "coordinates": [ -76.978977913437262, 38.892431159766303 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 108, "OBJECTID_2": 82, "OBJECTID": 109.0, "PRECINCT_N": 87.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes = Use entrance at the rear of the school, next to the parking lot.", "GIS_ID": "plp_109", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Payne Elementary School", "ADDRESS": "305 15TH STREET SE", "ADDRESS_ID": 294478 }, "geometry": { "type": "Point", "coordinates": [ -76.98419490800174, 38.885132314488203 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 109, "OBJECTID_2": 83, "OBJECTID": 110.0, "PRECINCT_N": 89.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_110", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "William H. Rumsey Aquatic Center", "ADDRESS": "635 NORTH CAROLINA AVENUE SE", "ADDRESS_ID": 295159 }, "geometry": { "type": "Point", "coordinates": [ -76.997028705938774, 38.886585046654147 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 110, "OBJECTID_2": 84, "OBJECTID": 111.0, "PRECINCT_N": 91.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_111", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Watkins Elementary School", "ADDRESS": "420 12TH STREET SE", "ADDRESS_ID": 294486 }, "geometry": { "type": "Point", "coordinates": [ -76.989996763548163, 38.883466674788586 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 111, "OBJECTID_2": 85, "OBJECTID": 113.0, "PRECINCT_N": 92.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_113", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Kenilworth Elementary School", "ADDRESS": "1300 44TH STREET NE", "ADDRESS_ID": 294516 }, "geometry": { "type": "Point", "coordinates": [ -76.940484939136297, 38.908228732598651 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 112, "OBJECTID_2": 86, "OBJECTID": 114.0, "PRECINCT_N": 93.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes - Accessible entrance at the rear of the school.", "GIS_ID": "plp_114", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Houston Elementary School", "ADDRESS": "1100 50TH PLACE NE", "ADDRESS_ID": 156316 }, "geometry": { "type": "Point", "coordinates": [ -76.9299476407989, 38.905414987198981 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 113, "OBJECTID_2": 87, "OBJECTID": 115.0, "PRECINCT_N": 94.0, "FACILITY_D": "Community Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_115", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Merritt Education Center", "ADDRESS": "5002 HAYES STREET NE", "ADDRESS_ID": 294606 }, "geometry": { "type": "Point", "coordinates": [ -76.930131189589616, 38.900230067255841 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 114, "OBJECTID_2": 88, "OBJECTID": 116.0, "PRECINCT_N": 95.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes -Use entrance located at 57th & Eads Streets.", "GIS_ID": "plp_116", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Drew Elementary School", "ADDRESS": "5500 EADS STREET NE", "ADDRESS_ID": 294609 }, "geometry": { "type": "Point", "coordinates": [ -76.922708043967461, 38.896192887555607 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 115, "OBJECTID_2": 89, "OBJECTID": 117.0, "PRECINCT_N": 100.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_117", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Thomas Elementary School", "ADDRESS": "650 ANACOSTIA AVENUE NE", "ADDRESS_ID": 294493 }, "geometry": { "type": "Point", "coordinates": [ -76.952110905321987, 38.901278637588895 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 116, "OBJECTID_2": 90, "OBJECTID": 118.0, "PRECINCT_N": 98.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes - Use rear entrance of the school.", "GIS_ID": "plp_118", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Smothers Elementary School", "ADDRESS": "4400 BROOKS STREET NE", "ADDRESS_ID": 294596 }, "geometry": { "type": "Point", "coordinates": [ -76.938468638784286, 38.893553701828701 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 117, "OBJECTID_2": 91, "OBJECTID": 120.0, "PRECINCT_N": 103.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes - Use ground level entrance.", "GIS_ID": "plp_120", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Plummer Elementary School", "ADDRESS": "4601 TEXAS AVENUE SE", "ADDRESS_ID": 19536 }, "geometry": { "type": "Point", "coordinates": [ -76.939934669841293, 38.8872398636938 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 118, "OBJECTID_2": 92, "OBJECTID": 121.0, "PRECINCT_N": 104.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes- Use ground level entrance.", "GIS_ID": "plp_121", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Nalle Elementary School", "ADDRESS": "219 50TH STREET SE", "ADDRESS_ID": 294474 }, "geometry": { "type": "Point", "coordinates": [ -76.930796499569979, 38.885954085228562 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 119, "OBJECTID_2": 93, "OBJECTID": 122.0, "PRECINCT_N": 105.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes - Use entrance located on D Street.", "GIS_ID": "plp_122", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "CW Harris Elementary School", "ADDRESS": "301 53RD STREET SE", "ADDRESS_ID": 289801 }, "geometry": { "type": "Point", "coordinates": [ -76.926115493732041, 38.883598497883369 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 120, "OBJECTID_2": 94, "OBJECTID": 123.0, "PRECINCT_N": 106.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes - Accessible rear entrance, next to the parking lot.", "GIS_ID": "plp_123", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Davis Elementary School", "ADDRESS": "4430 H STREET SE", "ADDRESS_ID": 294598 }, "geometry": { "type": "Point", "coordinates": [ -76.937616302328593, 38.879067951063831 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 121, "OBJECTID_2": 95, "OBJECTID": 124.0, "PRECINCT_N": 107.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_124", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Sousa Middle School", "ADDRESS": "3650 ELY PLACE SE", "ADDRESS_ID": 294584 }, "geometry": { "type": "Point", "coordinates": [ -76.953161747717687, 38.883908000174614 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 122, "OBJECTID_2": 96, "OBJECTID": 125.0, "PRECINCT_N": 142.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_125", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Jefferson Junior High School", "ADDRESS": "801 7TH STREET SW", "ADDRESS_ID": 276812 }, "geometry": { "type": "Point", "coordinates": [ -77.022910654604146, 38.879870599424763 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 123, "OBJECTID_2": 97, "OBJECTID": 126.0, "PRECINCT_N": 140.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_126", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Anacostia Senior High School", "ADDRESS": "1601 16TH STREET SE", "ADDRESS_ID": 155922 }, "geometry": { "type": "Point", "coordinates": [ -76.983077248298486, 38.870083725754895 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 124, "OBJECTID_2": 98, "OBJECTID": 127.0, "PRECINCT_N": 139.0, "FACILITY_D": "Community Service Area", "ACCESSIBLE": "Yes", "GIS_ID": "plp_127", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Thurgood Marshall Elementary", "ADDRESS": "3100 FORT LINCOLN DRIVE NE", "ADDRESS_ID": 294553 }, "geometry": { "type": "Point", "coordinates": [ -76.957633696697528, 38.927305943770008 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 1, "OBJECTID_2": 101, "OBJECTID": 130.0, "PRECINCT_N": 131.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_130", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Van Ness Elementary School", "ADDRESS": "1150 5TH STREET SE", "ADDRESS_ID": 294508 }, "geometry": { "type": "Point", "coordinates": [ -76.999244002225964, 38.87679611768769 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 2, "OBJECTID_2": 102, "OBJECTID": 131.0, "PRECINCT_N": 125.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_131", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Hendley Elementary School", "ADDRESS": "425 CHESAPEAKE STREET SE", "ADDRESS_ID": 24445 }, "geometry": { "type": "Point", "coordinates": [ -76.999184840242322, 38.828985580495711 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 3, "OBJECTID_2": 103, "OBJECTID": 132.0, "PRECINCT_N": 126.0, "FACILITY_D": "Library", "ACCESSIBLE": "Yes", "GIS_ID": "plp_132", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "W.B. Patterson Elementary School", "ADDRESS": "4399 SOUTH CAPITOL TERRACE SW", "ADDRESS_ID": 301073 }, "geometry": { "type": "Point", "coordinates": [ -77.008475600194785, 38.826981192201202 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 4, "OBJECTID_2": 104, "OBJECTID": 133.0, "PRECINCT_N": 123.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_133", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Martin Luther King Elementary School", "ADDRESS": "600 ALABAMA AVENUE SE", "ADDRESS_ID": 294492 }, "geometry": { "type": "Point", "coordinates": [ -76.997583187909655, 38.843386565863888 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 5, "OBJECTID_2": 105, "OBJECTID": 135.0, "PRECINCT_N": 121.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_135", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "National Collegiate Prep @ Draper", "ADDRESS": "908 WAHLER PLACE SE", "ADDRESS_ID": 294502 }, "geometry": { "type": "Point", "coordinates": [ -76.992268817990308, 38.834327886510565 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 6, "OBJECTID_2": 106, "OBJECTID": 136.0, "PRECINCT_N": 120.0, "FACILITY_D": "Meeting Room", "ACCESSIBLE": "Yes - Use side Entrance", "GIS_ID": "plp_136", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Malcolm X Elementary School", "ADDRESS": "1351 ALABAMA AVENUE SE", "ADDRESS_ID": 289201 }, "geometry": { "type": "Point", "coordinates": [ -76.986212854490333, 38.844973623092343 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 7, "OBJECTID_2": 107, "OBJECTID": 137.0, "PRECINCT_N": 118.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_137", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Garnet C. Wilkinson Elementary School", "ADDRESS": "2330 POMEROY ROAD SE", "ADDRESS_ID": 294542 }, "geometry": { "type": "Point", "coordinates": [ -76.985550422151263, 38.856844389461791 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 8, "OBJECTID_2": 108, "OBJECTID": 138.0, "PRECINCT_N": 119.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_138", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Excel Academy PCS @ Birney", "ADDRESS": "2501 MARTIN LUTHER KING JR AVENUE SE", "ADDRESS_ID": 278172 }, "geometry": { "type": "Point", "coordinates": [ -76.99535456253949, 38.859761758349642 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 9, "OBJECTID_2": 109, "OBJECTID": 139.0, "PRECINCT_N": 117.0, "FACILITY_D": "Main Lobby", "ACCESSIBLE": "Yes - Use ramped entrance on Stanton Road.", "GIS_ID": "plp_139", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Douglas Community Recreation Center", "ADDRESS": "1898 STANTON TERRACE SE", "ADDRESS_ID": 286513 }, "geometry": { "type": "Point", "coordinates": [ -76.977761548811543, 38.852636229366837 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 10, "OBJECTID_2": 110, "OBJECTID": 140.0, "PRECINCT_N": 114.0, "FACILITY_D": "Church Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_140", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Union Temple Baptist Church", "ADDRESS": "1225 W STREET SE", "ADDRESS_ID": 70732 }, "geometry": { "type": "Point", "coordinates": [ -76.988939737432986, 38.864499675202886 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 11, "OBJECTID_2": 111, "OBJECTID": 141.0, "PRECINCT_N": 113.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_141", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Senior Wellness Center", "ADDRESS": "3001 ALABAMA AVENUE SE", "ADDRESS_ID": 289473 }, "geometry": { "type": "Point", "coordinates": [ -76.964116112055365, 38.860502954486471 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 12, "OBJECTID_2": 112, "OBJECTID": 142.0, "PRECINCT_N": 112.0, "FACILITY_D": "Meeting Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_142", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Anacostia Public Library", "ADDRESS": "1800 GOOD HOPE ROAD SE", "ADDRESS_ID": 53560 }, "geometry": { "type": "Point", "coordinates": [ -76.978485420182579, 38.865896402057949 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 13, "OBJECTID_2": 113, "OBJECTID": 2.0, "PRECINCT_N": 99.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_2", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Smothers Elementary School", "ADDRESS": "4400 BROOKS STREET NE", "ADDRESS_ID": 294596 }, "geometry": { "type": "Point", "coordinates": [ -76.938468638784286, 38.893553701828701 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 14, "OBJECTID_2": 114, "OBJECTID": 3.0, "PRECINCT_N": 97.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_3", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Kelly Miller Middle School", "ADDRESS": "301 49TH STREET NE", "ADDRESS_ID": 294476 }, "geometry": { "type": "Point", "coordinates": [ -76.932456126905393, 38.893314974927328 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 15, "OBJECTID_2": 115, "OBJECTID": 4.0, "PRECINCT_N": 130.0, "FACILITY_D": "Multi-Purpose Room (lower level)", "ACCESSIBLE": "Yes - Use west entrance.", "GIS_ID": "plp_4", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Lutheran Church of the Reformation", "ADDRESS": "212 EAST CAPITOL STREET NE", "ADDRESS_ID": 286648 }, "geometry": { "type": "Point", "coordinates": [ -77.002857667709918, 38.890112459701982 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 16, "OBJECTID_2": 116, "OBJECTID": 112.0, "PRECINCT_N": 90.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_112", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Tyler Elementary School", "ADDRESS": "1001 G STREET SE", "ADDRESS_ID": 294505 }, "geometry": { "type": "Point", "coordinates": [ -76.992041656836633, 38.881084023669693 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 17, "OBJECTID_2": 117, "OBJECTID": 119.0, "PRECINCT_N": 101.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_119", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "River Terrace Elementary School", "ADDRESS": "420 34TH STREET NE", "ADDRESS_ID": 294485 }, "geometry": { "type": "Point", "coordinates": [ -76.957807551091278, 38.895428461353752 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 18, "OBJECTID_2": 118, "OBJECTID": 134.0, "PRECINCT_N": 122.0, "FACILITY_D": "Armory", "ACCESSIBLE": "Yes - Accessible entrance adjacent to parking lot.", "GIS_ID": "plp_134", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Ballou Senior High School", "ADDRESS": "3401 4TH STREET SE", "ADDRESS_ID": 294567 }, "geometry": { "type": "Point", "coordinates": [ -77.000975257588308, 38.839382331531922 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 19, "OBJECTID_2": 119, "OBJECTID": 1.0, "PRECINCT_N": 2.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_1", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "The School Without Walls", "ADDRESS": "2130 G STREET NW", "ADDRESS_ID": 242528 }, "geometry": { "type": "Point", "coordinates": [ -77.048186465638153, 38.898123787570832 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 20, "OBJECTID_2": 120, "OBJECTID": 40.0, "PRECINCT_N": 72.0, "FACILITY_D": "Community Room (1st floor)", "ACCESSIBLE": "Yes", "GIS_ID": "plp_40", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Langdon Park Recreation Center", "ADDRESS": "2901 20TH STREET NE", "ADDRESS_ID": 287283 }, "geometry": { "type": "Point", "coordinates": [ -76.975788486876453, 38.926822413922125 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 21, "OBJECTID_2": 121, "OBJECTID": 29.0, "PRECINCT_N": 34.0, "FACILITY_D": "Gymnasium (lower level)", "ACCESSIBLE": "Yes - Use ramped entrance.", "GIS_ID": "plp_29", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Edmund Burke School", "ADDRESS": "2955 UPTON STREET NW", "ADDRESS_ID": 284536 }, "geometry": { "type": "Point", "coordinates": [ -77.061628156880005, 38.942361327729408 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 22, "OBJECTID_2": 122, "OBJECTID": 30.0, "PRECINCT_N": 45.0, "FACILITY_D": "Community Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_30", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "MPD - Regional Operation Command (North)", "ADDRESS": "801 SHEPHERD STREET NW", "ADDRESS_ID": 252510 }, "geometry": { "type": "Point", "coordinates": [ -77.023810447712307, 38.940088934414405 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 23, "OBJECTID_2": 123, "OBJECTID": 31.0, "PRECINCT_N": 8.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_31", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Palisades Recreation Center", "ADDRESS": "5100 SHERIER PLACE NW", "ADDRESS_ID": 268352 }, "geometry": { "type": "Point", "coordinates": [ -77.102634605747866, 38.924441924850953 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 24, "OBJECTID_2": 124, "OBJECTID": 32.0, "PRECINCT_N": 41.0, "FACILITY_D": "Great Hall", "ACCESSIBLE": "Yes - Use entrance on Oak Street.", "GIS_ID": "plp_32", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Trinity AME Zion Church", "ADDRESS": "3505 16TH STREET NW", "ADDRESS_ID": 234593 }, "geometry": { "type": "Point", "coordinates": [ -77.036080424552495, 38.934550552844456 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 25, "OBJECTID_2": 125, "OBJECTID": 33.0, "PRECINCT_N": 43.0, "FACILITY_D": "Recreation Area", "ACCESSIBLE": "Yes", "GIS_ID": "plp_33", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Park View Recreation Center", "ADDRESS": "693 OTIS PLACE NW", "ADDRESS_ID": 295160 }, "geometry": { "type": "Point", "coordinates": [ -77.021350314279189, 38.935002875205896 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 26, "OBJECTID_2": 126, "OBJECTID": 34.0, "PRECINCT_N": 42.0, "FACILITY_D": "Dining Room (lower level)", "ACCESSIBLE": "Yes", "GIS_ID": "plp_34", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Mt. Rona Baptist Church", "ADDRESS": "3431 13TH STREET NW", "ADDRESS_ID": 230950 }, "geometry": { "type": "Point", "coordinates": [ -77.029452852579396, 38.932240970226857 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 27, "OBJECTID_2": 1, "OBJECTID": 5.0, "PRECINCT_N": 80.0, "FACILITY_D": "Quander Room", "ACCESSIBLE": "Yes - Accessible entrance rear of Church.", "GIS_ID": "plp_5", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "St. Benedict the Moor Church", "ADDRESS": "320 21ST STREET NE", "ADDRESS_ID": 287504 }, "geometry": { "type": "Point", "coordinates": [ -76.975457535682949, 38.894225931293576 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 28, "OBJECTID_2": 2, "OBJECTID": 6.0, "PRECINCT_N": 102.0, "FACILITY_D": "Meeting Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_6", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Benning Public Library", "ADDRESS": "3935 BENNING ROAD NE", "ADDRESS_ID": 295144 }, "geometry": { "type": "Point", "coordinates": [ -76.947759549614048, 38.89419424144954 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 29, "OBJECTID_2": 3, "OBJECTID": 7.0, "PRECINCT_N": 96.0, "FACILITY_D": "Fellowship Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_7", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Hughes Memorial United Methodist Church", "ADDRESS": "25 53RD STREET NE", "ADDRESS_ID": 287077 }, "geometry": { "type": "Point", "coordinates": [ -76.925776919030255, 38.890534557241999 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 30, "OBJECTID_2": 4, "OBJECTID": 8.0, "PRECINCT_N": 88.0, "FACILITY_D": "Church Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_8", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Thankful Baptist Church", "ADDRESS": "1401 INDEPENDENCE AVENUE SE", "ADDRESS_ID": 65107 }, "geometry": { "type": "Point", "coordinates": [ -76.98528389471295, 38.887379306202888 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 31, "OBJECTID_2": 5, "OBJECTID": 9.0, "PRECINCT_N": 132.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_9", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "DC Center for Therapeutic Recreation", "ADDRESS": "3030 G STREET SE", "ADDRESS_ID": 288770 }, "geometry": { "type": "Point", "coordinates": [ -76.963203222616286, 38.880871575493281 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 32, "OBJECTID_2": 6, "OBJECTID": 10.0, "PRECINCT_N": 128.0, "FACILITY_D": "Junior Church Hall", "ACCESSIBLE": "Yes - Accessible entrance adjacent to parking lot.", "GIS_ID": "plp_10", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Friendship Baptist Church", "ADDRESS": "900 DELAWARE AVENUE SW", "ADDRESS_ID": 276854 }, "geometry": { "type": "Point", "coordinates": [ -77.012497934269035, 38.878918819849204 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 33, "OBJECTID_2": 7, "OBJECTID": 11.0, "PRECINCT_N": 111.0, "FACILITY_D": "John Bailey Room", "ACCESSIBLE": "Yes - Use the Center for Employment Training entrance for ground level access (2815", "GIS_ID": "plp_11", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "St. Francis Xavier Church", "ADDRESS": "2800 PENNSYLVANIA AVENUE SE", "ADDRESS_ID": 44697 }, "geometry": { "type": "Point", "coordinates": [ -76.967509922797618, 38.872519727803635 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 34, "OBJECTID_2": 8, "OBJECTID": 12.0, "PRECINCT_N": 108.0, "FACILITY_D": "Community Room", "ACCESSIBLE": "Yes - Accessible - rear entrance, near parking lot.", "GIS_ID": "plp_12", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Pennsylvania Avenue Baptist Church", "ADDRESS": "3000 PENNSYLVANIA AVENUE SE", "ADDRESS_ID": 42549 }, "geometry": { "type": "Point", "coordinates": [ -76.963813000815662, 38.871129274649782 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 35, "OBJECTID_2": 9, "OBJECTID": 13.0, "PRECINCT_N": 127.0, "FACILITY_D": "Meeting Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_13", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "King Greenleaf Recreation Center", "ADDRESS": "201 N STREET SW", "ADDRESS_ID": 52917 }, "geometry": { "type": "Point", "coordinates": [ -77.012792499594184, 38.875015810745062 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 36, "OBJECTID_2": 10, "OBJECTID": 14.0, "PRECINCT_N": 109.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_14", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Randle-Highlands Elementary School", "ADDRESS": "1650 30TH STREET SE", "ADDRESS_ID": 156337 }, "geometry": { "type": "Point", "coordinates": [ -76.964356281775736, 38.870091403187843 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 37, "OBJECTID_2": 11, "OBJECTID": 16.0, "PRECINCT_N": 134.0, "FACILITY_D": "Multipurpose Room", "ACCESSIBLE": "Yes - Use rear entrance, adjacent to parking lot.", "GIS_ID": "plp_16", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Allen AME Church", "ADDRESS": "2498 ALABAMA AVENUE SE", "ADDRESS_ID": 46843 }, "geometry": { "type": "Point", "coordinates": [ -76.970282941213242, 38.856884832198325 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 38, "OBJECTID_2": 12, "OBJECTID": 17.0, "PRECINCT_N": 115.0, "FACILITY_D": "Community Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_17", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Seventh District Police Station", "ADDRESS": "2455 ALABAMA AVENUE SE", "ADDRESS_ID": 278162 }, "geometry": { "type": "Point", "coordinates": [ -76.969521397067084, 38.853355764139451 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 39, "OBJECTID_2": 13, "OBJECTID": 18.0, "PRECINCT_N": 116.0, "FACILITY_D": "Fellowship Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_18", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "New Image Community Baptist Church", "ADDRESS": "1839 ALABAMA AVENUE SE", "ADDRESS_ID": 54816 }, "geometry": { "type": "Point", "coordinates": [ -76.977839930327974, 38.847658633098888 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 40, "OBJECTID_2": 14, "OBJECTID": 19.0, "PRECINCT_N": 124.0, "FACILITY_D": "Church Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_19", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Convenant Baptist Church", "ADDRESS": "3845 SOUTH CAPITOL STREET SW", "ADDRESS_ID": 301907 }, "geometry": { "type": "Point", "coordinates": [ -77.00866130403007, 38.83401036254331 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 41, "OBJECTID_2": 15, "OBJECTID": 20.0, "PRECINCT_N": 61.0, "FACILITY_D": "Multi-purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_20", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Fort Stevens Recreation Center", "ADDRESS": "1327 VAN BUREN STREET NW", "ADDRESS_ID": 290152 }, "geometry": { "type": "Point", "coordinates": [ -77.031090800845547, 38.970269148593538 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 42, "OBJECTID_2": 16, "OBJECTID": 21.0, "PRECINCT_N": 50.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes - Accessible rear entrance next to the parking lot.", "GIS_ID": "plp_21", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Chevy Chase Community Center", "ADDRESS": "5601 CONNECTICUT AVENUE NW", "ADDRESS_ID": 263959 }, "geometry": { "type": "Point", "coordinates": [ -77.075108613262955, 38.965158421273387 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 43, "OBJECTID_2": 17, "OBJECTID": 22.0, "PRECINCT_N": 52.0, "FACILITY_D": "Roth Gymnasium Bldg.", "ACCESSIBLE": "Yes - Access from parking lot.", "GIS_ID": "plp_22", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "St. John's College High School", "ADDRESS": "2607 MILITARY ROAD NW", "ADDRESS_ID": 259840 }, "geometry": { "type": "Point", "coordinates": [ -77.055204940372292, 38.962417220863394 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 44, "OBJECTID_2": 18, "OBJECTID": 24.0, "PRECINCT_N": 60.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_24", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Church of the Nativity Youth Center", "ADDRESS": "6000 GEORGIA AVENUE NW", "ADDRESS_ID": 253197 }, "geometry": { "type": "Point", "coordinates": [ -77.028226985088239, 38.962848161689173 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 45, "OBJECTID_2": 19, "OBJECTID": 25.0, "PRECINCT_N": 138.0, "FACILITY_D": "Fellowship Hall", "ACCESSIBLE": "Yes - Accessible entrance adjacent to parking lot.", "GIS_ID": "plp_25", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Capital Memorial Adventist Church", "ADDRESS": "3150 CHESAPEAKE STREET NW", "ADDRESS_ID": 284592 }, "geometry": { "type": "Point", "coordinates": [ -77.06396319555985, 38.950203225069913 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 46, "OBJECTID_2": 20, "OBJECTID": 26.0, "PRECINCT_N": 31.0, "FACILITY_D": "Church Hall", "ACCESSIBLE": "Yes - Accessible entrance located on 42nd St.", "GIS_ID": "plp_26", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "St. Columba's Episcopal Church", "ADDRESS": "4201 ALBEMARLE STREET NW", "ADDRESS_ID": 301545 }, "geometry": { "type": "Point", "coordinates": [ -77.08244680641738, 38.948217666726201 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 47, "OBJECTID_2": 21, "OBJECTID": 27.0, "PRECINCT_N": 44.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_27", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "North Capitol at Plymouth", "ADDRESS": "5233 NORTH CAPTIOL STREET NE", "ADDRESS_ID": 298101 }, "geometry": { "type": "Point", "coordinates": [ -77.00866515707142, 38.954067744263412 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 48, "OBJECTID_2": 22, "OBJECTID": 28.0, "PRECINCT_N": 9.0, "FACILITY_D": "Vestry Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_28", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Metropolitan Memorial United Methodist Church", "ADDRESS": "3401 NEBRASKA AVENUE NW", "ADDRESS_ID": 298676 }, "geometry": { "type": "Point", "coordinates": [ -77.087799340484636, 38.934959237025218 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 49, "OBJECTID_2": 23, "OBJECTID": 47.0, "PRECINCT_N": 75.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_47", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "McKinley Technology Senior High School", "ADDRESS": "151 T STREET NE", "ADDRESS_ID": 296345 }, "geometry": { "type": "Point", "coordinates": [ -77.004122439059401, 38.915219785761813 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 50, "OBJECTID_2": 24, "OBJECTID": 48.0, "PRECINCT_N": 141.0, "FACILITY_D": "North Lobby", "ACCESSIBLE": "Yes", "GIS_ID": "plp_48", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Frank D. Reeves Municipal Center", "ADDRESS": "2000 14TH STREET NW", "ADDRESS_ID": 239976 }, "geometry": { "type": "Point", "coordinates": [ -77.032403524076486, 38.917444026973975 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 125, "OBJECTID_2": 99, "OBJECTID": 128.0, "PRECINCT_N": 137.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes - Accessible entrance adjacent to parking lot.", "GIS_ID": "plp_128", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Garrison Elementary School", "ADDRESS": "1200 S STREET NW", "ADDRESS_ID": 294509 }, "geometry": { "type": "Point", "coordinates": [ -77.028612550392012, 38.913900958245385 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 126, "OBJECTID_2": 100, "OBJECTID": 129.0, "PRECINCT_N": 133.0, "FACILITY_D": "Library", "ACCESSIBLE": "Yes - Accessible entrance rear of school", "GIS_ID": "plp_129", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Orr Elementary School", "ADDRESS": "2200 MINNESOTA AVENUE SE", "ADDRESS_ID": 294539 }, "geometry": { "type": "Point", "coordinates": [ -76.974484011563916, 38.871796823975465 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 127, "OBJECTID_2": 127, "OBJECTID": 35.0, "PRECINCT_N": 71.0, "FACILITY_D": "Upper Fellowship Hall", "ACCESSIBLE": "Yes - Accessible entrance on Bladensburg Road", "GIS_ID": "plp_35", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Mt. Horeb Baptist Church", "ADDRESS": "3015 EARL PLACE NE", "ADDRESS_ID": 287380 }, "geometry": { "type": "Point", "coordinates": [ -76.962575827800578, 38.928281639524052 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 128, "OBJECTID_2": 128, "OBJECTID": 36.0, "PRECINCT_N": 28.0, "FACILITY_D": "Parish Center (near Klingle Place)", "ACCESSIBLE": "Yes", "GIS_ID": "plp_36", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Church of the Annunciation Parish", "ADDRESS": "3810 MASSACHUSETTS AVENUE NW", "ADDRESS_ID": 263608 }, "geometry": { "type": "Point", "coordinates": [ -77.075817469590191, 38.930148719361682 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 129, "OBJECTID_2": 129, "OBJECTID": 37.0, "PRECINCT_N": 136.0, "FACILITY_D": "Conference Room", "ACCESSIBLE": "Yes - Use side entrance from parking lot", "GIS_ID": "plp_37", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Leading Age", "ADDRESS": "2519 CONNECTICUT AVENUE NW", "ADDRESS_ID": 284405 }, "geometry": { "type": "Point", "coordinates": [ -77.050817099689468, 38.923171900472795 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 130, "OBJECTID_2": 130, "OBJECTID": 38.0, "PRECINCT_N": 12.0, "FACILITY_D": "Church Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_38", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "St Sophia's Greek Orthodox Cathederal Church", "ADDRESS": "3600 MASSACHUSETTS AVENUE NW", "ADDRESS_ID": 262638 }, "geometry": { "type": "Point", "coordinates": [ -77.071174182052317, 38.926724696389051 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 131, "OBJECTID_2": 131, "OBJECTID": 39.0, "PRECINCT_N": 39.0, "FACILITY_D": "Auditorium", "ACCESSIBLE": "Yes", "GIS_ID": "plp_39", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Bell Multicultural High School", "ADDRESS": "3101 16th Street NW", "ADDRESS_ID": 234375 }, "geometry": { "type": "Point", "coordinates": [ -77.035851518793763, 38.929540334081075 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 132, "OBJECTID_2": 132, "OBJECTID": 41.0, "PRECINCT_N": 36.0, "FACILITY_D": "Community Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_41", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Latin American Youth Center", "ADDRESS": "1419 COLUMBIA ROAD NW", "ADDRESS_ID": 234363 }, "geometry": { "type": "Point", "coordinates": [ -77.033357815907635, 38.927766394492799 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 133, "OBJECTID_2": 133, "OBJECTID": 42.0, "PRECINCT_N": 135.0, "FACILITY_D": "Church Hall", "ACCESSIBLE": "Yes - Use ramped entrance on Rhode Island Avenue.", "GIS_ID": "plp_42", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Mt. Bethel Baptist Church", "ADDRESS": "1901 1ST STREET NW", "ADDRESS_ID": 227421 }, "geometry": { "type": "Point", "coordinates": [ -77.01182725241577, 38.916136758622002 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 134, "OBJECTID_2": 134, "OBJECTID": 43.0, "PRECINCT_N": 11.0, "FACILITY_D": "Union Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_43", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "International Union of Operating Engineer", "ADDRESS": "2461 WISCONSIN AVENUE NW", "ADDRESS_ID": 284395 }, "geometry": { "type": "Point", "coordinates": [ -77.072501975359245, 38.92234916933058 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 135, "OBJECTID_2": 135, "OBJECTID": 44.0, "PRECINCT_N": 23.0, "FACILITY_D": "Library and Computer Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_44", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Loughran Community Center", "ADDRESS": "2500 14TH STREET NW", "ADDRESS_ID": 234200 }, "geometry": { "type": "Point", "coordinates": [ -77.032362118987933, 38.921998738498395 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 136, "OBJECTID_2": 136, "OBJECTID": 45.0, "PRECINCT_N": 25.0, "FACILITY_D": "Fellowship Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_45", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Goodwill Baptist Church", "ADDRESS": "1862 KALORAMA ROAD NW", "ADDRESS_ID": 235475 }, "geometry": { "type": "Point", "coordinates": [ -77.043826034297922, 38.919316646134163 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 137, "OBJECTID_2": 137, "OBJECTID": 46.0, "PRECINCT_N": 13.0, "FACILITY_D": "Fellowship Hall", "ACCESSIBLE": "Yes", "GIS_ID": "plp_46", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Goodwill Baptist Church", "ADDRESS": "1862 KALORAMA ROAD NW", "ADDRESS_ID": 235475 }, "geometry": { "type": "Point", "coordinates": [ -77.043826034297922, 38.919316646134163 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 138, "OBJECTID_2": 138, "OBJECTID": 143.0, "PRECINCT_N": 143.0, "FACILITY_D": "Church Hall\/Meeting Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_143", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Chinese Community Church", "ADDRESS": "500 I STREET NW", "ADDRESS_ID": 238945 }, "geometry": { "type": "Point", "coordinates": [ -77.019133548822794, 38.900621429714505 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 139, "OBJECTID_2": 139, "OBJECTID": 15.0, "PRECINCT_N": 110.0, "FACILITY_D": "Multi-Purpose Room", "ACCESSIBLE": "Yes", "GIS_ID": "plp_15", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "St. Timothy's Episcopal Church", "ADDRESS": "3601 ALABAMA AVENUE SE", "ADDRESS_ID": 33104 }, "geometry": { "type": "Point", "coordinates": [ -76.956092288786962, 38.862989239014041 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 140, "OBJECTID_2": 140, "OBJECTID": 23.0, "PRECINCT_N": 32.0, "FACILITY_D": "Fellowship Hall (1st Floor)", "ACCESSIBLE": "Yes - Use Connecticut Ave. entrance", "GIS_ID": "plp_23", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Wesley Methodist Church", "ADDRESS": "5312 CONNECTICUT AVENUE NW", "ADDRESS_ID": 301282 }, "geometry": { "type": "Point", "coordinates": [ -77.07264987664179, 38.959324066446086 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 141, "OBJECTID_2": 141, "OBJECTID": 63.0, "PRECINCT_N": 6.0, "FACILITY_D": "Gallery", "ACCESSIBLE": "Yes", "GIS_ID": "plp_63", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Duke Ellington School of the Arts", "ADDRESS": "3500 R STREET NW", "ADDRESS_ID": 294569 }, "geometry": { "type": "Point", "coordinates": [ -77.070307562295099, 38.913446044424617 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 142, "OBJECTID_2": 142, "OBJECTID": 70.0, "PRECINCT_N": 26.0, "FACILITY_D": "Gymnasium", "ACCESSIBLE": "Yes - Use ramped entrance on 27th Street", "GIS_ID": "plp_70", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Oyster Elementary School", "ADDRESS": "2801 CALVERT STREET NW", "ADDRESS_ID": 275944 }, "geometry": { "type": "Point", "coordinates": [ -77.057203378566399, 38.923595492962626 ] } }, +{ "type": "Feature", "properties": { "OBJECTID_1": 143, "OBJECTID_2": 143, "OBJECTID": 89.0, "PRECINCT_N": 58.0, "FACILITY_D": "Community Room.", "ACCESSIBLE": "Yes - Ground level at Georgia. Avenue & Quackenbos Street.", "GIS_ID": "plp_89", "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", "NAME": "Fourth District Police Station", "ADDRESS": "6001 GEORGIA AVENUE NW", "ADDRESS_ID": 243485 }, "geometry": { "type": "Point", "coordinates": [ -77.027410983594336, 38.963125449653411 ] } } +] +} \ No newline at end of file diff --git a/packages/turf-concave/test/out/pts1.geojson b/packages/turf-concave/test/fixtures/out/pts1_out.geojson similarity index 99% rename from packages/turf-concave/test/out/pts1.geojson rename to packages/turf-concave/test/fixtures/out/pts1_out.geojson index 4bc5bec05b..c0bacd50c7 100644 --- a/packages/turf-concave/test/out/pts1.geojson +++ b/packages/turf-concave/test/fixtures/out/pts1_out.geojson @@ -185,7 +185,6 @@ }, { "type": "Feature", - "properties": {}, "geometry": { "type": "MultiPolygon", "coordinates": [ @@ -258,7 +257,8 @@ ] ] ] - } + }, + "properties": {} } ] } \ No newline at end of file diff --git a/packages/turf-concave/test/out/pts2.geojson b/packages/turf-concave/test/fixtures/out/pts2_out.geojson similarity index 99% rename from packages/turf-concave/test/out/pts2.geojson rename to packages/turf-concave/test/fixtures/out/pts2_out.geojson index 6557762c3e..6f34b78727 100644 --- a/packages/turf-concave/test/out/pts2.geojson +++ b/packages/turf-concave/test/fixtures/out/pts2_out.geojson @@ -1,5 +1,11 @@ { "type": "FeatureCollection", + "crs": { + "type": "name", + "properties": { + "name": "urn:ogc:def:crs:OGC:1.3:CRS84" + } + }, "features": [ { "type": "Feature", diff --git a/packages/turf-concave/test/in/issue-333.geojson b/packages/turf-concave/test/in/issue-333.geojson deleted file mode 100644 index 4c8c79859b..0000000000 --- a/packages/turf-concave/test/in/issue-333.geojson +++ /dev/null @@ -1,1296 +0,0 @@ -{ - "type": "FeatureCollection", - "properties": { - "maxEdge": 3, - "units": "kilometers" - }, - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723426, - 14.6479128 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5201483, - 14.615014 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.51424745714287, - 14.612971957142857 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5132231, - 14.6165441 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48973311666667, - 14.6495531 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4735275, - 14.6465985 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723723, - 14.6485518 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47247347499998, - 14.6477638 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47238633157896, - 14.648176778947366 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48551095454544, - 14.644347027272726 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48639698333333, - 14.607210466666666 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5019386, - 14.6511386 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5269321, - 14.6573653 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5148751, - 14.5823441 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.49990055555557, - 14.600796044444443 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.494049, - 14.5869676 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47337224999998, - 14.646883625000001 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724361, - 14.6486341 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4850658857143, - 14.644084114285714 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.51289270000001, - 14.618719666666667 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4735528, - 14.6467951 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723841, - 14.6480488 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4732471, - 14.6471636 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4722805, - 14.6479045 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5201343, - 14.6150696 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.49114352000001, - 14.66722966 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.472421, - 14.648614 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47381937499999, - 14.646442443749999 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5170675, - 14.604278 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.55477304537037, - 14.62646318703704 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5564985, - 14.627035 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5820498, - 14.6369336 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.60474186153844, - 14.614272646153846 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5156173, - 14.6304 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.51274230000001, - 14.639448640000001 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.50523385, - 14.651190725000001 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.494068, - 14.6524481 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4815628, - 14.6482253 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4804793, - 14.6461901 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.495238, - 14.6457041 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4734271, - 14.6466975 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724963, - 14.64851 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723928, - 14.6478788 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47250081000001, - 14.647835989999999 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.520111, - 14.6150598 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5155081, - 14.6274348 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.51233063333332, - 14.635753766666667 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.50694795, - 14.64236045 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.50368926666665, - 14.645259533333332 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47352167142857, - 14.646744814285712 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724291, - 14.6485725 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47394456363636, - 14.646360845454545 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48284538181816, - 14.644143345454546 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5170826, - 14.623364 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.55518267142857, - 14.628796907142858 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5612823875, - 14.6354786625 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5544466, - 14.6730593 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5713858, - 14.6338483 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.49277926666667, - 14.649214383333335 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47338355, - 14.6469332 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724373, - 14.6484558 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4733026, - 14.6471671 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723626, - 14.6479208 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5201275, - 14.6150038 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5167131875, - 14.61330465 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.473430925, - 14.646790600000001 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724253, - 14.6485335 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47381234375001, - 14.646451625000001 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4814805, - 14.6483101 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48557200000002, - 14.644329030769231 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5171176, - 14.6233125 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.54256017980768, - 14.62663586923077 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5269091, - 14.6573203 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5564916, - 14.6270911 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5713228, - 14.6338651 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5621048, - 14.590847633333332 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.56126696666666, - 14.590278533333332 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5705346, - 14.5772148 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47337158333334, - 14.646920666666668 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724626, - 14.6485841 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723723, - 14.6478811 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4722628, - 14.6479208 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47250489090911, - 14.647854472727271 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.520098, - 14.615 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.50365512500001, - 14.6452732 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.49116085, - 14.667282275 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48990055, - 14.65017205 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47347362, - 14.646725746666664 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724285, - 14.6485766 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47248388571428, - 14.647815600000001 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5169941, - 14.604693 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.53797681111112, - 14.629561677777777 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.49985591428572, - 14.600705557142857 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4940656, - 14.586968 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4878766, - 14.6688766 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4875626, - 14.6704823 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48763687142856, - 14.668962442857141 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4895363, - 14.6683016 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47322072, - 14.646995100000001 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4722951, - 14.6482883 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47311286666667, - 14.647139766666667 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724025, - 14.6485518 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723355, - 14.6478488 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4732443, - 14.6471278 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723105, - 14.6478846 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47244180625, - 14.64800523125 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5200513, - 14.6150821 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5039411, - 14.644767 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.50140640000001, - 14.65061405 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47698511818181, - 14.654281172727275 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47332180000001, - 14.6469442 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723918, - 14.6485571 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47337318571428, - 14.646881257142856 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5015093, - 14.65032405 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.54214180000001, - 14.624207466666666 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5478511, - 14.6249898 - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4734413, - 14.6466325 - ] - } - } - ] -} \ No newline at end of file diff --git a/packages/turf-concave/test/in/pts2.geojson b/packages/turf-concave/test/in/pts2.geojson deleted file mode 100644 index 5b65f2447c..0000000000 --- a/packages/turf-concave/test/in/pts2.geojson +++ /dev/null @@ -1,3304 +0,0 @@ -{ - "type": "FeatureCollection", - "properties": { - "maxEdge": 2, - "units": "miles" - }, - "crs": { - "type": "name", - "properties": { - "name": "urn:ogc:def:crs:OGC:1.3:CRS84" - } - }, - "features": [ - { - "type": "Feature", - "properties": { - "OBJECTID_1": 51, - "OBJECTID_2": 25, - "OBJECTID": 49.0, - "PRECINCT_N": 7.0, - "FACILITY_D": "Recreation Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_49", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Hardy Recreation Center", - "ADDRESS": "4500 Q STREET NW", - "ADDRESS_ID": 284929 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.084981183092964, - 38.909915833213795 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 52, - "OBJECTID_2": 26, - "OBJECTID": 50.0, - "PRECINCT_N": 5.0, - "FACILITY_D": "Large Meeting Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_50", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Georgetown Community Library", - "ADDRESS": "3260 R STREET NW", - "ADDRESS_ID": 295142 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.066007305842078, - 38.913434229544386 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 53, - "OBJECTID_2": 27, - "OBJECTID": 51.0, - "PRECINCT_N": 76.0, - "FACILITY_D": "Community Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_51", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Bethesda Baptist Church", - "ADDRESS": "1808 CAPITOL AVENUE NE", - "ADDRESS_ID": 155925 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.98614224512842, - 38.911020521048734 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 54, - "OBJECTID_2": 28, - "OBJECTID": 52.0, - "PRECINCT_N": 15.0, - "FACILITY_D": "Community Room (Lower Level)", - "ACCESSIBLE": "Yes - Use side entrance on P Street", - "GIS_ID": "plp_52", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Foundry United Methodist Church", - "ADDRESS": "1500 16TH STREET NW", - "ADDRESS_ID": 243309 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.036879490722725, - 38.910033613313317 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 55, - "OBJECTID_2": 29, - "OBJECTID": 53.0, - "PRECINCT_N": 14.0, - "FACILITY_D": "Guild Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_53", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "St. Thomas' Episcopal Parish", - "ADDRESS": "1772 CHURCH STREET NW", - "ADDRESS_ID": 225918 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.041041176671854, - 38.910212212295264 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 56, - "OBJECTID_2": 30, - "OBJECTID": 54.0, - "PRECINCT_N": 16.0, - "FACILITY_D": "Fellowship Hall", - "ACCESSIBLE": "Yes - Accessible entrance at the rear of the church. Use entrance on R St. side of church.", - "GIS_ID": "plp_54", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "15th Street Presbyterian Church", - "ADDRESS": "1701 15TH STREET NW", - "ADDRESS_ID": 240136 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.03417962817295, - 38.912811255258127 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 57, - "OBJECTID_2": 31, - "OBJECTID": 55.0, - "PRECINCT_N": 18.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_55", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Kennedy Recreation Center", - "ADDRESS": "1401 7TH STREET NW", - "ADDRESS_ID": 279127 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.021536456247759, - 38.908989778469483 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 58, - "OBJECTID_2": 32, - "OBJECTID": 56.0, - "PRECINCT_N": 17.0, - "FACILITY_D": "Exhibit Rooms", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_56", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "The Charles Sumner School Museum and Archives", - "ADDRESS": "1201 17th STREET NW\r\n1201 17TH STREET NW", - "ADDRESS_ID": 301200 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.038222905521806, - 38.905977334681452 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 59, - "OBJECTID_2": 33, - "OBJECTID": 57.0, - "PRECINCT_N": 4.0, - "FACILITY_D": "Large Meeting Room (2nd Floor)", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_57", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "West End Public Library", - "ADDRESS": "1101 24TH STREET NW", - "ADDRESS_ID": 218248 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.05109790160472, - 38.904019151364736 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 60, - "OBJECTID_2": 34, - "OBJECTID": 58.0, - "PRECINCT_N": 77.0, - "FACILITY_D": "Community Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_58", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Delta Towers Apartments", - "ADDRESS": "1400 FLORIDA AVENUE NE", - "ADDRESS_ID": 65280 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.984331916380768, - 38.900557364972023 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 61, - "OBJECTID_2": 35, - "OBJECTID": 59.0, - "PRECINCT_N": 129.0, - "FACILITY_D": "Main Lobby", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_59", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Martin Luther King Library", - "ADDRESS": "901 G STREET NW", - "ADDRESS_ID": 239815 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.02476626008324, - 38.898691330337449 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 62, - "OBJECTID_2": 36, - "OBJECTID": 60.0, - "PRECINCT_N": 82.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_60", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Sherwood Recreation Center", - "ADDRESS": "640 10TH STREET NE", - "ADDRESS_ID": 301075 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.993016818542159, - 38.898545289067677 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 63, - "OBJECTID_2": 37, - "OBJECTID": 61.0, - "PRECINCT_N": 3.0, - "FACILITY_D": "Dining Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_61", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "St. Mary's Court", - "ADDRESS": "725 24TH STREET NW", - "ADDRESS_ID": 242350 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.051147709627202, - 38.898862835793516 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 64, - "OBJECTID_2": 38, - "OBJECTID": 62.0, - "PRECINCT_N": 1.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_62", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Walker-Jones EC", - "ADDRESS": "1125 NEW JERSEY AVENUE NW", - "ADDRESS_ID": 307735 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.013915692345691, - 38.90419164723351 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 65, - "OBJECTID_2": 39, - "OBJECTID": 64.0, - "PRECINCT_N": 10.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_64", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Horace Mann Community Center", - "ADDRESS": "4430 NEWARK STREET NW", - "ADDRESS_ID": 294597 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.087826188256471, - 38.934291971694272 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 66, - "OBJECTID_2": 40, - "OBJECTID": 65.0, - "PRECINCT_N": 19.0, - "FACILITY_D": "Gym\/Armory", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_65", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Dunbar Senior High School", - "ADDRESS": "1301 NEW JERSEY AVENUE NW", - "ADDRESS_ID": 279021 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.014693855315954, - 38.908523216218732 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 67, - "OBJECTID_2": 41, - "OBJECTID": 66.0, - "PRECINCT_N": 20.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_66", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Washington Metropolitan High School", - "ADDRESS": "300 BRYANT STREET NW", - "ADDRESS_ID": 294475 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.015557008963071, - 38.920441293733219 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 68, - "OBJECTID_2": 42, - "OBJECTID": 67.0, - "PRECINCT_N": 21.0, - "FACILITY_D": "Fellowship Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_67", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Vermont Avenue Baptist Church", - "ADDRESS": "1630 VERMONT AVENUE NW", - "ADDRESS_ID": 243277 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.028781227702837, - 38.911825717245286 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 69, - "OBJECTID_2": 43, - "OBJECTID": 68.0, - "PRECINCT_N": 22.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes - Accessible entrance located on V Street.", - "GIS_ID": "plp_68", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Garnet-Patterson Middle School", - "ADDRESS": "2001 10TH STREET NW", - "ADDRESS_ID": 294533 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.025748782113368, - 38.917544774486181 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 70, - "OBJECTID_2": 44, - "OBJECTID": 69.0, - "PRECINCT_N": 24.0, - "FACILITY_D": "Living Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_69", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Marie Reed Learning Center", - "ADDRESS": "2200 CHAMPLAIN STREET NW", - "ADDRESS_ID": 235577 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.04052994742716, - 38.919167306666537 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 71, - "OBJECTID_2": 45, - "OBJECTID": 71.0, - "PRECINCT_N": 27.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_71", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Eaton Elementary School", - "ADDRESS": "3301 LOWELL STREET NW", - "ADDRESS_ID": 294562 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.065821132685912, - 38.932726738826823 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 72, - "OBJECTID_2": 46, - "OBJECTID": 72.0, - "PRECINCT_N": 29.0, - "FACILITY_D": "Community Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_72", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "2nd District Police Station", - "ADDRESS": "3320 IDAHO AVENUE NW", - "ADDRESS_ID": 222229 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.074838057652229, - 38.934845831784592 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 73, - "OBJECTID_2": 47, - "OBJECTID": 73.0, - "PRECINCT_N": 30.0, - "FACILITY_D": "Multi-Purpose Room (on Albemarle St.)", - "ACCESSIBLE": "Yes - Accessible entrance at side of school, nearest to Wisconsin Ave.", - "GIS_ID": "plp_73", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Janney Elementary School", - "ADDRESS": "4130 ALBEMARLE STREET NW", - "ADDRESS_ID": 285713 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.080994819731956, - 38.947550087065927 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 74, - "OBJECTID_2": 48, - "OBJECTID": 74.0, - "PRECINCT_N": 33.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes - Use rear entrance on Ellicott St.", - "GIS_ID": "plp_74", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Ben Murch Elementary School", - "ADDRESS": "4810 36TH STREET NW", - "ADDRESS_ID": 294602 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.07007920338755, - 38.952933189596607 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 75, - "OBJECTID_2": 49, - "OBJECTID": 75.0, - "PRECINCT_N": 35.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_75", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "H.D. Cooke Elementary School", - "ADDRESS": "2525 17TH STREET NW", - "ADDRESS_ID": 235863 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.038813828001906, - 38.923931654217967 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 76, - "OBJECTID_2": 50, - "OBJECTID": 76.0, - "PRECINCT_N": 37.0, - "FACILITY_D": "Community Meeting Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_76", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Banneker Community Recreation Center", - "ADDRESS": "2500 GEORGIA AVENUE NW", - "ADDRESS_ID": 232292 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.022579801385916, - 38.922697600945042 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 77, - "OBJECTID_2": 51, - "OBJECTID": 77.0, - "PRECINCT_N": 38.0, - "FACILITY_D": "Meeting Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_77", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Cesar Chavez Prep Charter Middle School", - "ADDRESS": "770 KENYON STREET NW", - "ADDRESS_ID": 285409 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.025887356034701, - 38.929619476288885 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 78, - "OBJECTID_2": 52, - "OBJECTID": 78.0, - "PRECINCT_N": 40.0, - "FACILITY_D": "Assembly Hall", - "ACCESSIBLE": "Yes - Use entrance on Newton Street.", - "GIS_ID": "plp_78", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Bancroft Elementary School", - "ADDRESS": "1755 NEWTON STREET NW", - "ADDRESS_ID": 294528 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.040553449803028, - 38.934318023511061 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 79, - "OBJECTID_2": 53, - "OBJECTID": 79.0, - "PRECINCT_N": 46.0, - "FACILITY_D": "Classroom", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_79", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "E.L. Haynes Public Charter School @ Clark", - "ADDRESS": "4501 KANSAS AVENUE NW", - "ADDRESS_ID": 284930 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.022416369914765, - 38.94560156110601 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 80, - "OBJECTID_2": 54, - "OBJECTID": 80.0, - "PRECINCT_N": 47.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes - Accessible ramped entrance off of alley.", - "GIS_ID": "plp_80", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Powell Elementary School", - "ADDRESS": "1350 UPSHUR STREET NW", - "ADDRESS_ID": 255302 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.031227415751488, - 38.941534009869706 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 81, - "OBJECTID_2": 55, - "OBJECTID": 81.0, - "PRECINCT_N": 48.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes - Use south entrance on 13th St.", - "GIS_ID": "plp_81", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Sharpe Health School", - "ADDRESS": "4300 13TH STREET NW", - "ADDRESS_ID": 255254 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.030468336673792, - 38.943474325156487 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 82, - "OBJECTID_2": 56, - "OBJECTID": 82.0, - "PRECINCT_N": 49.0, - "FACILITY_D": "Science Room", - "ACCESSIBLE": "Yes - Accessible entrance located on Rock Creek Church Road.", - "GIS_ID": "plp_82", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Raymond Elementary School", - "ADDRESS": "915 SPRING ROAD NW", - "ADDRESS_ID": 226682 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.026432654256809, - 38.935810871763174 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 83, - "OBJECTID_2": 57, - "OBJECTID": 83.0, - "PRECINCT_N": 51.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes - Use parking lot entrance on Northampton St.", - "GIS_ID": "plp_83", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Lafayette Elementary School", - "ADDRESS": "5701 BROAD BRANCH ROAD NW", - "ADDRESS_ID": 294611 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.06803711636698, - 38.966627220648277 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 84, - "OBJECTID_2": 58, - "OBJECTID": 84.0, - "PRECINCT_N": 53.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_84", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Brightwood Elementary School", - "ADDRESS": "1300 NICHOLSON STREET NW", - "ADDRESS_ID": 294515 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.030688851988643, - 38.960535392858461 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 85, - "OBJECTID_2": 59, - "OBJECTID": 85.0, - "PRECINCT_N": 54.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes - Use entrance located at 14th & Farragut Streets.", - "GIS_ID": "plp_85", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "West Elementary School", - "ADDRESS": "1338 FARRAGUT STREET NW", - "ADDRESS_ID": 294517 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.032253049830672, - 38.951367080952416 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 86, - "OBJECTID_2": 60, - "OBJECTID": 86.0, - "PRECINCT_N": 55.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_86", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Barnard Elementary School", - "ADDRESS": "430 DECATUR STREET NW", - "ADDRESS_ID": 248305 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.017777080008301, - 38.948230614415095 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 87, - "OBJECTID_2": 61, - "OBJECTID": 87.0, - "PRECINCT_N": 56.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_87", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Truesdell Elementary School", - "ADDRESS": "800 INGRAHAM STREET NW", - "ADDRESS_ID": 294497 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.025071570135182, - 38.953968358095487 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 88, - "OBJECTID_2": 62, - "OBJECTID": 88.0, - "PRECINCT_N": 57.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_88", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Hattie Holmes Wellness Center", - "ADDRESS": "324 KENNEDY STREET NW", - "ADDRESS_ID": 307575 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.017112348141424, - 38.956388773368296 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 89, - "OBJECTID_2": 63, - "OBJECTID": 90.0, - "PRECINCT_N": 59.0, - "FACILITY_D": "Armory", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_90", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Coolidge Senior High School", - "ADDRESS": "6315 5TH STREET NW", - "ADDRESS_ID": 294615 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.01957835173927, - 38.967284239673525 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 90, - "OBJECTID_2": 64, - "OBJECTID": 91.0, - "PRECINCT_N": 62.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes - Use ramped entrance on 14th Street.", - "GIS_ID": "plp_91", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Shepherd Elementary School", - "ADDRESS": "7800 14TH STREET NW", - "ADDRESS_ID": 256319 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.03399523386544, - 38.984602950032162 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 91, - "OBJECTID_2": 65, - "OBJECTID": 92.0, - "PRECINCT_N": 63.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_92", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Takoma Community Center", - "ADDRESS": "300 VAN BUREN STREET NW", - "ADDRESS_ID": 296168 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.018051676182949, - 38.968886691314118 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 92, - "OBJECTID_2": 66, - "OBJECTID": 93.0, - "PRECINCT_N": 64.0, - "FACILITY_D": "Recreation Area", - "ACCESSIBLE": "Yes - Use rear entrance on 2nd St.", - "GIS_ID": "plp_93", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Rabaut - Administrative Building", - "ADDRESS": "100 PEABODY STREET NW", - "ADDRESS_ID": 277545 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.012867448323647, - 38.962164521997181 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 93, - "OBJECTID_2": 67, - "OBJECTID": 94.0, - "PRECINCT_N": 65.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_94", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "LaSalle Elementary School", - "ADDRESS": "501 RIGGS ROAD NE", - "ADDRESS_ID": 294489 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.999882538481089, - 38.959971809983642 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 94, - "OBJECTID_2": 68, - "OBJECTID": 95.0, - "PRECINCT_N": 66.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes - Accessible entrance next to parking lot on Hamilton Street.", - "GIS_ID": "plp_95", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "UDC Community College @ Backus", - "ADDRESS": "5171 SOUTH DAKOTA AVENUE NE", - "ADDRESS_ID": 294607 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.997267383153954, - 38.953340525729047 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 95, - "OBJECTID_2": 69, - "OBJECTID": 96.0, - "PRECINCT_N": 67.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes - Accessible entrance next to the parking lot on 14th Street", - "GIS_ID": "plp_96", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Bunker Hill Elementary School", - "ADDRESS": "1401 MICHIGAN AVENUE NE", - "ADDRESS_ID": 286131 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.98499562999821, - 38.942012135008142 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 96, - "OBJECTID_2": 70, - "OBJECTID": 97.0, - "PRECINCT_N": 68.0, - "FACILITY_D": "Reception Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_97", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "St. Francis Hall", - "ADDRESS": "1340 QUINCY STREET NE", - "ADDRESS_ID": 66591 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.986529583871643, - 38.9375726751204 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 97, - "OBJECTID_2": 71, - "OBJECTID": 98.0, - "PRECINCT_N": 69.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_98", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Hyde Public Charter School @ Taft", - "ADDRESS": "1800 PERRY STREET NE", - "ADDRESS_ID": 294529 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.978595514953696, - 38.936796147384342 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 98, - "OBJECTID_2": 72, - "OBJECTID": 99.0, - "PRECINCT_N": 70.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes - Use entrance on Monroe Street.", - "GIS_ID": "plp_99", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Burroughs Elementary School", - "ADDRESS": "1820 MONROE STREET NE", - "ADDRESS_ID": 294530 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.978456370398874, - 38.933502326896445 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 99, - "OBJECTID_2": 73, - "OBJECTID": 100.0, - "PRECINCT_N": 73.0, - "FACILITY_D": "Library (Lower Level)", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_100", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "M.M. Bethune Day Academy @ Slowe", - "ADDRESS": "1404 JACKSON STREET NE", - "ADDRESS_ID": 294522 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.986864622728547, - 38.929605590082105 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 100, - "OBJECTID_2": 74, - "OBJECTID": 101.0, - "PRECINCT_N": 74.0, - "FACILITY_D": "Multipurpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_101", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Shaed Elementary School", - "ADDRESS": "301 DOUGLAS STREET NE", - "ADDRESS_ID": 294477 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.002538318002209, - 38.923654687421774 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 101, - "OBJECTID_2": 75, - "OBJECTID": 102.0, - "PRECINCT_N": 78.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_102", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Trinidad Recreation Center", - "ADDRESS": "1310 CHILDRESS STREET NE", - "ADDRESS_ID": 68509 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.982734368763062, - 38.906442359837776 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 102, - "OBJECTID_2": 76, - "OBJECTID": 103.0, - "PRECINCT_N": 81.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_103", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Miner Elementary School", - "ADDRESS": "601 15TH STREET NE", - "ADDRESS_ID": 289548 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.982904313087829, - 38.897375682182471 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 103, - "OBJECTID_2": 77, - "OBJECTID": 104.0, - "PRECINCT_N": 79.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_104", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Browne Junior High School", - "ADDRESS": "850 26TH STREET NE", - "ADDRESS_ID": 294501 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.970667052474028, - 38.902598549008218 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 104, - "OBJECTID_2": 78, - "OBJECTID": 105.0, - "PRECINCT_N": 83.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes - Use entrance located on 7th Street.", - "GIS_ID": "plp_105", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "J.O. Wilson Elementary School", - "ADDRESS": "660 K STREET NE", - "ADDRESS_ID": 288841 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.996589027486436, - 38.90275766582991 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 105, - "OBJECTID_2": 79, - "OBJECTID": 106.0, - "PRECINCT_N": 84.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_106", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Stuart-Hobson Middle School", - "ADDRESS": "410 E STREET NE", - "ADDRESS_ID": 294483 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.000004386249671, - 38.896297370808789 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 106, - "OBJECTID_2": 80, - "OBJECTID": 107.0, - "PRECINCT_N": 85.0, - "FACILITY_D": "Auditorium (A-Level)", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_107", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "The Specialty Hospital of Washington", - "ADDRESS": "700 CONSTITUTION AVENUE NE", - "ADDRESS_ID": 295162 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.995356592112472, - 38.892321795813096 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 107, - "OBJECTID_2": 81, - "OBJECTID": 108.0, - "PRECINCT_N": 86.0, - "FACILITY_D": "Recreation Room (lower level)", - "ACCESSIBLE": "Yes - Accessible - side entrance, next to the parking lot.", - "GIS_ID": "plp_108", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Eliot Junior High School", - "ADDRESS": "1830 CONSTITUTION AVENUE NE", - "ADDRESS_ID": 286499 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.978977913437262, - 38.892431159766303 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 108, - "OBJECTID_2": 82, - "OBJECTID": 109.0, - "PRECINCT_N": 87.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes = Use entrance at the rear of the school, next to the parking lot.", - "GIS_ID": "plp_109", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Payne Elementary School", - "ADDRESS": "305 15TH STREET SE", - "ADDRESS_ID": 294478 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.98419490800174, - 38.885132314488203 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 109, - "OBJECTID_2": 83, - "OBJECTID": 110.0, - "PRECINCT_N": 89.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_110", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "William H. Rumsey Aquatic Center", - "ADDRESS": "635 NORTH CAROLINA AVENUE SE", - "ADDRESS_ID": 295159 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.997028705938774, - 38.886585046654147 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 110, - "OBJECTID_2": 84, - "OBJECTID": 111.0, - "PRECINCT_N": 91.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_111", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Watkins Elementary School", - "ADDRESS": "420 12TH STREET SE", - "ADDRESS_ID": 294486 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.989996763548163, - 38.883466674788586 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 111, - "OBJECTID_2": 85, - "OBJECTID": 113.0, - "PRECINCT_N": 92.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_113", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Kenilworth Elementary School", - "ADDRESS": "1300 44TH STREET NE", - "ADDRESS_ID": 294516 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.940484939136297, - 38.908228732598651 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 112, - "OBJECTID_2": 86, - "OBJECTID": 114.0, - "PRECINCT_N": 93.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes - Accessible entrance at the rear of the school.", - "GIS_ID": "plp_114", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Houston Elementary School", - "ADDRESS": "1100 50TH PLACE NE", - "ADDRESS_ID": 156316 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.9299476407989, - 38.905414987198981 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 113, - "OBJECTID_2": 87, - "OBJECTID": 115.0, - "PRECINCT_N": 94.0, - "FACILITY_D": "Community Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_115", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Merritt Education Center", - "ADDRESS": "5002 HAYES STREET NE", - "ADDRESS_ID": 294606 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.930131189589616, - 38.900230067255841 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 114, - "OBJECTID_2": 88, - "OBJECTID": 116.0, - "PRECINCT_N": 95.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes -Use entrance located at 57th & Eads Streets.", - "GIS_ID": "plp_116", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Drew Elementary School", - "ADDRESS": "5500 EADS STREET NE", - "ADDRESS_ID": 294609 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.922708043967461, - 38.896192887555607 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 115, - "OBJECTID_2": 89, - "OBJECTID": 117.0, - "PRECINCT_N": 100.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_117", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Thomas Elementary School", - "ADDRESS": "650 ANACOSTIA AVENUE NE", - "ADDRESS_ID": 294493 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.952110905321987, - 38.901278637588895 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 116, - "OBJECTID_2": 90, - "OBJECTID": 118.0, - "PRECINCT_N": 98.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes - Use rear entrance of the school.", - "GIS_ID": "plp_118", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Smothers Elementary School", - "ADDRESS": "4400 BROOKS STREET NE", - "ADDRESS_ID": 294596 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.938468638784286, - 38.893553701828701 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 117, - "OBJECTID_2": 91, - "OBJECTID": 120.0, - "PRECINCT_N": 103.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes - Use ground level entrance.", - "GIS_ID": "plp_120", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Plummer Elementary School", - "ADDRESS": "4601 TEXAS AVENUE SE", - "ADDRESS_ID": 19536 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.939934669841293, - 38.8872398636938 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 118, - "OBJECTID_2": 92, - "OBJECTID": 121.0, - "PRECINCT_N": 104.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes- Use ground level entrance.", - "GIS_ID": "plp_121", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Nalle Elementary School", - "ADDRESS": "219 50TH STREET SE", - "ADDRESS_ID": 294474 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.930796499569979, - 38.885954085228562 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 119, - "OBJECTID_2": 93, - "OBJECTID": 122.0, - "PRECINCT_N": 105.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes - Use entrance located on D Street.", - "GIS_ID": "plp_122", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "CW Harris Elementary School", - "ADDRESS": "301 53RD STREET SE", - "ADDRESS_ID": 289801 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.926115493732041, - 38.883598497883369 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 120, - "OBJECTID_2": 94, - "OBJECTID": 123.0, - "PRECINCT_N": 106.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes - Accessible rear entrance, next to the parking lot.", - "GIS_ID": "plp_123", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Davis Elementary School", - "ADDRESS": "4430 H STREET SE", - "ADDRESS_ID": 294598 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.937616302328593, - 38.879067951063831 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 121, - "OBJECTID_2": 95, - "OBJECTID": 124.0, - "PRECINCT_N": 107.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_124", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Sousa Middle School", - "ADDRESS": "3650 ELY PLACE SE", - "ADDRESS_ID": 294584 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.953161747717687, - 38.883908000174614 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 122, - "OBJECTID_2": 96, - "OBJECTID": 125.0, - "PRECINCT_N": 142.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_125", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Jefferson Junior High School", - "ADDRESS": "801 7TH STREET SW", - "ADDRESS_ID": 276812 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.022910654604146, - 38.879870599424763 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 123, - "OBJECTID_2": 97, - "OBJECTID": 126.0, - "PRECINCT_N": 140.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_126", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Anacostia Senior High School", - "ADDRESS": "1601 16TH STREET SE", - "ADDRESS_ID": 155922 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.983077248298486, - 38.870083725754895 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 124, - "OBJECTID_2": 98, - "OBJECTID": 127.0, - "PRECINCT_N": 139.0, - "FACILITY_D": "Community Service Area", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_127", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Thurgood Marshall Elementary", - "ADDRESS": "3100 FORT LINCOLN DRIVE NE", - "ADDRESS_ID": 294553 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.957633696697528, - 38.927305943770008 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 1, - "OBJECTID_2": 101, - "OBJECTID": 130.0, - "PRECINCT_N": 131.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_130", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Van Ness Elementary School", - "ADDRESS": "1150 5TH STREET SE", - "ADDRESS_ID": 294508 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.999244002225964, - 38.87679611768769 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 2, - "OBJECTID_2": 102, - "OBJECTID": 131.0, - "PRECINCT_N": 125.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_131", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Hendley Elementary School", - "ADDRESS": "425 CHESAPEAKE STREET SE", - "ADDRESS_ID": 24445 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.999184840242322, - 38.828985580495711 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 3, - "OBJECTID_2": 103, - "OBJECTID": 132.0, - "PRECINCT_N": 126.0, - "FACILITY_D": "Library", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_132", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "W.B. Patterson Elementary School", - "ADDRESS": "4399 SOUTH CAPITOL TERRACE SW", - "ADDRESS_ID": 301073 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.008475600194785, - 38.826981192201202 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 4, - "OBJECTID_2": 104, - "OBJECTID": 133.0, - "PRECINCT_N": 123.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_133", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Martin Luther King Elementary School", - "ADDRESS": "600 ALABAMA AVENUE SE", - "ADDRESS_ID": 294492 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.997583187909655, - 38.843386565863888 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 5, - "OBJECTID_2": 105, - "OBJECTID": 135.0, - "PRECINCT_N": 121.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_135", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "National Collegiate Prep @ Draper", - "ADDRESS": "908 WAHLER PLACE SE", - "ADDRESS_ID": 294502 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.992268817990308, - 38.834327886510565 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 6, - "OBJECTID_2": 106, - "OBJECTID": 136.0, - "PRECINCT_N": 120.0, - "FACILITY_D": "Meeting Room", - "ACCESSIBLE": "Yes - Use side Entrance", - "GIS_ID": "plp_136", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Malcolm X Elementary School", - "ADDRESS": "1351 ALABAMA AVENUE SE", - "ADDRESS_ID": 289201 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.986212854490333, - 38.844973623092343 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 7, - "OBJECTID_2": 107, - "OBJECTID": 137.0, - "PRECINCT_N": 118.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_137", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Garnet C. Wilkinson Elementary School", - "ADDRESS": "2330 POMEROY ROAD SE", - "ADDRESS_ID": 294542 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.985550422151263, - 38.856844389461791 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 8, - "OBJECTID_2": 108, - "OBJECTID": 138.0, - "PRECINCT_N": 119.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_138", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Excel Academy PCS @ Birney", - "ADDRESS": "2501 MARTIN LUTHER KING JR AVENUE SE", - "ADDRESS_ID": 278172 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.99535456253949, - 38.859761758349642 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 9, - "OBJECTID_2": 109, - "OBJECTID": 139.0, - "PRECINCT_N": 117.0, - "FACILITY_D": "Main Lobby", - "ACCESSIBLE": "Yes - Use ramped entrance on Stanton Road.", - "GIS_ID": "plp_139", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Douglas Community Recreation Center", - "ADDRESS": "1898 STANTON TERRACE SE", - "ADDRESS_ID": 286513 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.977761548811543, - 38.852636229366837 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 10, - "OBJECTID_2": 110, - "OBJECTID": 140.0, - "PRECINCT_N": 114.0, - "FACILITY_D": "Church Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_140", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Union Temple Baptist Church", - "ADDRESS": "1225 W STREET SE", - "ADDRESS_ID": 70732 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.988939737432986, - 38.864499675202886 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 11, - "OBJECTID_2": 111, - "OBJECTID": 141.0, - "PRECINCT_N": 113.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_141", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Senior Wellness Center", - "ADDRESS": "3001 ALABAMA AVENUE SE", - "ADDRESS_ID": 289473 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.964116112055365, - 38.860502954486471 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 12, - "OBJECTID_2": 112, - "OBJECTID": 142.0, - "PRECINCT_N": 112.0, - "FACILITY_D": "Meeting Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_142", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Anacostia Public Library", - "ADDRESS": "1800 GOOD HOPE ROAD SE", - "ADDRESS_ID": 53560 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.978485420182579, - 38.865896402057949 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 13, - "OBJECTID_2": 113, - "OBJECTID": 2.0, - "PRECINCT_N": 99.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_2", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Smothers Elementary School", - "ADDRESS": "4400 BROOKS STREET NE", - "ADDRESS_ID": 294596 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.938468638784286, - 38.893553701828701 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 14, - "OBJECTID_2": 114, - "OBJECTID": 3.0, - "PRECINCT_N": 97.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_3", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Kelly Miller Middle School", - "ADDRESS": "301 49TH STREET NE", - "ADDRESS_ID": 294476 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.932456126905393, - 38.893314974927328 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 15, - "OBJECTID_2": 115, - "OBJECTID": 4.0, - "PRECINCT_N": 130.0, - "FACILITY_D": "Multi-Purpose Room (lower level)", - "ACCESSIBLE": "Yes - Use west entrance.", - "GIS_ID": "plp_4", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Lutheran Church of the Reformation", - "ADDRESS": "212 EAST CAPITOL STREET NE", - "ADDRESS_ID": 286648 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.002857667709918, - 38.890112459701982 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 16, - "OBJECTID_2": 116, - "OBJECTID": 112.0, - "PRECINCT_N": 90.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_112", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Tyler Elementary School", - "ADDRESS": "1001 G STREET SE", - "ADDRESS_ID": 294505 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.992041656836633, - 38.881084023669693 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 17, - "OBJECTID_2": 117, - "OBJECTID": 119.0, - "PRECINCT_N": 101.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_119", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "River Terrace Elementary School", - "ADDRESS": "420 34TH STREET NE", - "ADDRESS_ID": 294485 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.957807551091278, - 38.895428461353752 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 18, - "OBJECTID_2": 118, - "OBJECTID": 134.0, - "PRECINCT_N": 122.0, - "FACILITY_D": "Armory", - "ACCESSIBLE": "Yes - Accessible entrance adjacent to parking lot.", - "GIS_ID": "plp_134", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Ballou Senior High School", - "ADDRESS": "3401 4TH STREET SE", - "ADDRESS_ID": 294567 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.000975257588308, - 38.839382331531922 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 19, - "OBJECTID_2": 119, - "OBJECTID": 1.0, - "PRECINCT_N": 2.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_1", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "The School Without Walls", - "ADDRESS": "2130 G STREET NW", - "ADDRESS_ID": 242528 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.048186465638153, - 38.898123787570832 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 20, - "OBJECTID_2": 120, - "OBJECTID": 40.0, - "PRECINCT_N": 72.0, - "FACILITY_D": "Community Room (1st floor)", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_40", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Langdon Park Recreation Center", - "ADDRESS": "2901 20TH STREET NE", - "ADDRESS_ID": 287283 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.975788486876453, - 38.926822413922125 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 21, - "OBJECTID_2": 121, - "OBJECTID": 29.0, - "PRECINCT_N": 34.0, - "FACILITY_D": "Gymnasium (lower level)", - "ACCESSIBLE": "Yes - Use ramped entrance.", - "GIS_ID": "plp_29", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Edmund Burke School", - "ADDRESS": "2955 UPTON STREET NW", - "ADDRESS_ID": 284536 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.061628156880005, - 38.942361327729408 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 22, - "OBJECTID_2": 122, - "OBJECTID": 30.0, - "PRECINCT_N": 45.0, - "FACILITY_D": "Community Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_30", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "MPD - Regional Operation Command (North)", - "ADDRESS": "801 SHEPHERD STREET NW", - "ADDRESS_ID": 252510 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.023810447712307, - 38.940088934414405 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 23, - "OBJECTID_2": 123, - "OBJECTID": 31.0, - "PRECINCT_N": 8.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_31", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Palisades Recreation Center", - "ADDRESS": "5100 SHERIER PLACE NW", - "ADDRESS_ID": 268352 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.102634605747866, - 38.924441924850953 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 24, - "OBJECTID_2": 124, - "OBJECTID": 32.0, - "PRECINCT_N": 41.0, - "FACILITY_D": "Great Hall", - "ACCESSIBLE": "Yes - Use entrance on Oak Street.", - "GIS_ID": "plp_32", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Trinity AME Zion Church", - "ADDRESS": "3505 16TH STREET NW", - "ADDRESS_ID": 234593 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.036080424552495, - 38.934550552844456 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 25, - "OBJECTID_2": 125, - "OBJECTID": 33.0, - "PRECINCT_N": 43.0, - "FACILITY_D": "Recreation Area", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_33", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Park View Recreation Center", - "ADDRESS": "693 OTIS PLACE NW", - "ADDRESS_ID": 295160 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.021350314279189, - 38.935002875205896 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 26, - "OBJECTID_2": 126, - "OBJECTID": 34.0, - "PRECINCT_N": 42.0, - "FACILITY_D": "Dining Room (lower level)", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_34", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Mt. Rona Baptist Church", - "ADDRESS": "3431 13TH STREET NW", - "ADDRESS_ID": 230950 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.029452852579396, - 38.932240970226857 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 27, - "OBJECTID_2": 1, - "OBJECTID": 5.0, - "PRECINCT_N": 80.0, - "FACILITY_D": "Quander Room", - "ACCESSIBLE": "Yes - Accessible entrance rear of Church.", - "GIS_ID": "plp_5", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "St. Benedict the Moor Church", - "ADDRESS": "320 21ST STREET NE", - "ADDRESS_ID": 287504 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.975457535682949, - 38.894225931293576 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 28, - "OBJECTID_2": 2, - "OBJECTID": 6.0, - "PRECINCT_N": 102.0, - "FACILITY_D": "Meeting Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_6", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Benning Public Library", - "ADDRESS": "3935 BENNING ROAD NE", - "ADDRESS_ID": 295144 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.947759549614048, - 38.89419424144954 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 29, - "OBJECTID_2": 3, - "OBJECTID": 7.0, - "PRECINCT_N": 96.0, - "FACILITY_D": "Fellowship Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_7", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Hughes Memorial United Methodist Church", - "ADDRESS": "25 53RD STREET NE", - "ADDRESS_ID": 287077 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.925776919030255, - 38.890534557241999 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 30, - "OBJECTID_2": 4, - "OBJECTID": 8.0, - "PRECINCT_N": 88.0, - "FACILITY_D": "Church Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_8", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Thankful Baptist Church", - "ADDRESS": "1401 INDEPENDENCE AVENUE SE", - "ADDRESS_ID": 65107 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.98528389471295, - 38.887379306202888 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 31, - "OBJECTID_2": 5, - "OBJECTID": 9.0, - "PRECINCT_N": 132.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_9", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "DC Center for Therapeutic Recreation", - "ADDRESS": "3030 G STREET SE", - "ADDRESS_ID": 288770 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.963203222616286, - 38.880871575493281 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 32, - "OBJECTID_2": 6, - "OBJECTID": 10.0, - "PRECINCT_N": 128.0, - "FACILITY_D": "Junior Church Hall", - "ACCESSIBLE": "Yes - Accessible entrance adjacent to parking lot.", - "GIS_ID": "plp_10", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Friendship Baptist Church", - "ADDRESS": "900 DELAWARE AVENUE SW", - "ADDRESS_ID": 276854 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.012497934269035, - 38.878918819849204 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 33, - "OBJECTID_2": 7, - "OBJECTID": 11.0, - "PRECINCT_N": 111.0, - "FACILITY_D": "John Bailey Room", - "ACCESSIBLE": "Yes - Use the Center for Employment Training entrance for ground level access (2815", - "GIS_ID": "plp_11", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "St. Francis Xavier Church", - "ADDRESS": "2800 PENNSYLVANIA AVENUE SE", - "ADDRESS_ID": 44697 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.967509922797618, - 38.872519727803635 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 34, - "OBJECTID_2": 8, - "OBJECTID": 12.0, - "PRECINCT_N": 108.0, - "FACILITY_D": "Community Room", - "ACCESSIBLE": "Yes - Accessible - rear entrance, near parking lot.", - "GIS_ID": "plp_12", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Pennsylvania Avenue Baptist Church", - "ADDRESS": "3000 PENNSYLVANIA AVENUE SE", - "ADDRESS_ID": 42549 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.963813000815662, - 38.871129274649782 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 35, - "OBJECTID_2": 9, - "OBJECTID": 13.0, - "PRECINCT_N": 127.0, - "FACILITY_D": "Meeting Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_13", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "King Greenleaf Recreation Center", - "ADDRESS": "201 N STREET SW", - "ADDRESS_ID": 52917 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.012792499594184, - 38.875015810745062 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 36, - "OBJECTID_2": 10, - "OBJECTID": 14.0, - "PRECINCT_N": 109.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_14", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Randle-Highlands Elementary School", - "ADDRESS": "1650 30TH STREET SE", - "ADDRESS_ID": 156337 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.964356281775736, - 38.870091403187843 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 37, - "OBJECTID_2": 11, - "OBJECTID": 16.0, - "PRECINCT_N": 134.0, - "FACILITY_D": "Multipurpose Room", - "ACCESSIBLE": "Yes - Use rear entrance, adjacent to parking lot.", - "GIS_ID": "plp_16", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Allen AME Church", - "ADDRESS": "2498 ALABAMA AVENUE SE", - "ADDRESS_ID": 46843 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.970282941213242, - 38.856884832198325 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 38, - "OBJECTID_2": 12, - "OBJECTID": 17.0, - "PRECINCT_N": 115.0, - "FACILITY_D": "Community Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_17", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Seventh District Police Station", - "ADDRESS": "2455 ALABAMA AVENUE SE", - "ADDRESS_ID": 278162 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.969521397067084, - 38.853355764139451 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 39, - "OBJECTID_2": 13, - "OBJECTID": 18.0, - "PRECINCT_N": 116.0, - "FACILITY_D": "Fellowship Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_18", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "New Image Community Baptist Church", - "ADDRESS": "1839 ALABAMA AVENUE SE", - "ADDRESS_ID": 54816 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.977839930327974, - 38.847658633098888 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 40, - "OBJECTID_2": 14, - "OBJECTID": 19.0, - "PRECINCT_N": 124.0, - "FACILITY_D": "Church Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_19", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Convenant Baptist Church", - "ADDRESS": "3845 SOUTH CAPITOL STREET SW", - "ADDRESS_ID": 301907 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.00866130403007, - 38.83401036254331 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 41, - "OBJECTID_2": 15, - "OBJECTID": 20.0, - "PRECINCT_N": 61.0, - "FACILITY_D": "Multi-purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_20", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Fort Stevens Recreation Center", - "ADDRESS": "1327 VAN BUREN STREET NW", - "ADDRESS_ID": 290152 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.031090800845547, - 38.970269148593538 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 42, - "OBJECTID_2": 16, - "OBJECTID": 21.0, - "PRECINCT_N": 50.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes - Accessible rear entrance next to the parking lot.", - "GIS_ID": "plp_21", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Chevy Chase Community Center", - "ADDRESS": "5601 CONNECTICUT AVENUE NW", - "ADDRESS_ID": 263959 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.075108613262955, - 38.965158421273387 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 43, - "OBJECTID_2": 17, - "OBJECTID": 22.0, - "PRECINCT_N": 52.0, - "FACILITY_D": "Roth Gymnasium Bldg.", - "ACCESSIBLE": "Yes - Access from parking lot.", - "GIS_ID": "plp_22", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "St. John's College High School", - "ADDRESS": "2607 MILITARY ROAD NW", - "ADDRESS_ID": 259840 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.055204940372292, - 38.962417220863394 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 44, - "OBJECTID_2": 18, - "OBJECTID": 24.0, - "PRECINCT_N": 60.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_24", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Church of the Nativity Youth Center", - "ADDRESS": "6000 GEORGIA AVENUE NW", - "ADDRESS_ID": 253197 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.028226985088239, - 38.962848161689173 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 45, - "OBJECTID_2": 19, - "OBJECTID": 25.0, - "PRECINCT_N": 138.0, - "FACILITY_D": "Fellowship Hall", - "ACCESSIBLE": "Yes - Accessible entrance adjacent to parking lot.", - "GIS_ID": "plp_25", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Capital Memorial Adventist Church", - "ADDRESS": "3150 CHESAPEAKE STREET NW", - "ADDRESS_ID": 284592 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.06396319555985, - 38.950203225069913 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 46, - "OBJECTID_2": 20, - "OBJECTID": 26.0, - "PRECINCT_N": 31.0, - "FACILITY_D": "Church Hall", - "ACCESSIBLE": "Yes - Accessible entrance located on 42nd St.", - "GIS_ID": "plp_26", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "St. Columba's Episcopal Church", - "ADDRESS": "4201 ALBEMARLE STREET NW", - "ADDRESS_ID": 301545 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.08244680641738, - 38.948217666726201 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 47, - "OBJECTID_2": 21, - "OBJECTID": 27.0, - "PRECINCT_N": 44.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_27", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "North Capitol at Plymouth", - "ADDRESS": "5233 NORTH CAPTIOL STREET NE", - "ADDRESS_ID": 298101 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.00866515707142, - 38.954067744263412 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 48, - "OBJECTID_2": 22, - "OBJECTID": 28.0, - "PRECINCT_N": 9.0, - "FACILITY_D": "Vestry Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_28", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Metropolitan Memorial United Methodist Church", - "ADDRESS": "3401 NEBRASKA AVENUE NW", - "ADDRESS_ID": 298676 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.087799340484636, - 38.934959237025218 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 49, - "OBJECTID_2": 23, - "OBJECTID": 47.0, - "PRECINCT_N": 75.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_47", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "McKinley Technology Senior High School", - "ADDRESS": "151 T STREET NE", - "ADDRESS_ID": 296345 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.004122439059401, - 38.915219785761813 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 50, - "OBJECTID_2": 24, - "OBJECTID": 48.0, - "PRECINCT_N": 141.0, - "FACILITY_D": "North Lobby", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_48", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Frank D. Reeves Municipal Center", - "ADDRESS": "2000 14TH STREET NW", - "ADDRESS_ID": 239976 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.032403524076486, - 38.917444026973975 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 125, - "OBJECTID_2": 99, - "OBJECTID": 128.0, - "PRECINCT_N": 137.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes - Accessible entrance adjacent to parking lot.", - "GIS_ID": "plp_128", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Garrison Elementary School", - "ADDRESS": "1200 S STREET NW", - "ADDRESS_ID": 294509 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.028612550392012, - 38.913900958245385 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 126, - "OBJECTID_2": 100, - "OBJECTID": 129.0, - "PRECINCT_N": 133.0, - "FACILITY_D": "Library", - "ACCESSIBLE": "Yes - Accessible entrance rear of school", - "GIS_ID": "plp_129", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Orr Elementary School", - "ADDRESS": "2200 MINNESOTA AVENUE SE", - "ADDRESS_ID": 294539 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.974484011563916, - 38.871796823975465 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 127, - "OBJECTID_2": 127, - "OBJECTID": 35.0, - "PRECINCT_N": 71.0, - "FACILITY_D": "Upper Fellowship Hall", - "ACCESSIBLE": "Yes - Accessible entrance on Bladensburg Road", - "GIS_ID": "plp_35", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Mt. Horeb Baptist Church", - "ADDRESS": "3015 EARL PLACE NE", - "ADDRESS_ID": 287380 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.962575827800578, - 38.928281639524052 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 128, - "OBJECTID_2": 128, - "OBJECTID": 36.0, - "PRECINCT_N": 28.0, - "FACILITY_D": "Parish Center (near Klingle Place)", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_36", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Church of the Annunciation Parish", - "ADDRESS": "3810 MASSACHUSETTS AVENUE NW", - "ADDRESS_ID": 263608 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.075817469590191, - 38.930148719361682 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 129, - "OBJECTID_2": 129, - "OBJECTID": 37.0, - "PRECINCT_N": 136.0, - "FACILITY_D": "Conference Room", - "ACCESSIBLE": "Yes - Use side entrance from parking lot", - "GIS_ID": "plp_37", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Leading Age", - "ADDRESS": "2519 CONNECTICUT AVENUE NW", - "ADDRESS_ID": 284405 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.050817099689468, - 38.923171900472795 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 130, - "OBJECTID_2": 130, - "OBJECTID": 38.0, - "PRECINCT_N": 12.0, - "FACILITY_D": "Church Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_38", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "St Sophia's Greek Orthodox Cathederal Church", - "ADDRESS": "3600 MASSACHUSETTS AVENUE NW", - "ADDRESS_ID": 262638 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.071174182052317, - 38.926724696389051 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 131, - "OBJECTID_2": 131, - "OBJECTID": 39.0, - "PRECINCT_N": 39.0, - "FACILITY_D": "Auditorium", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_39", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Bell Multicultural High School", - "ADDRESS": "3101 16th Street NW", - "ADDRESS_ID": 234375 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.035851518793763, - 38.929540334081075 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 132, - "OBJECTID_2": 132, - "OBJECTID": 41.0, - "PRECINCT_N": 36.0, - "FACILITY_D": "Community Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_41", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Latin American Youth Center", - "ADDRESS": "1419 COLUMBIA ROAD NW", - "ADDRESS_ID": 234363 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.033357815907635, - 38.927766394492799 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 133, - "OBJECTID_2": 133, - "OBJECTID": 42.0, - "PRECINCT_N": 135.0, - "FACILITY_D": "Church Hall", - "ACCESSIBLE": "Yes - Use ramped entrance on Rhode Island Avenue.", - "GIS_ID": "plp_42", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Mt. Bethel Baptist Church", - "ADDRESS": "1901 1ST STREET NW", - "ADDRESS_ID": 227421 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.01182725241577, - 38.916136758622002 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 134, - "OBJECTID_2": 134, - "OBJECTID": 43.0, - "PRECINCT_N": 11.0, - "FACILITY_D": "Union Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_43", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "International Union of Operating Engineer", - "ADDRESS": "2461 WISCONSIN AVENUE NW", - "ADDRESS_ID": 284395 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.072501975359245, - 38.92234916933058 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 135, - "OBJECTID_2": 135, - "OBJECTID": 44.0, - "PRECINCT_N": 23.0, - "FACILITY_D": "Library and Computer Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_44", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Loughran Community Center", - "ADDRESS": "2500 14TH STREET NW", - "ADDRESS_ID": 234200 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.032362118987933, - 38.921998738498395 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 136, - "OBJECTID_2": 136, - "OBJECTID": 45.0, - "PRECINCT_N": 25.0, - "FACILITY_D": "Fellowship Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_45", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Goodwill Baptist Church", - "ADDRESS": "1862 KALORAMA ROAD NW", - "ADDRESS_ID": 235475 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.043826034297922, - 38.919316646134163 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 137, - "OBJECTID_2": 137, - "OBJECTID": 46.0, - "PRECINCT_N": 13.0, - "FACILITY_D": "Fellowship Hall", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_46", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Goodwill Baptist Church", - "ADDRESS": "1862 KALORAMA ROAD NW", - "ADDRESS_ID": 235475 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.043826034297922, - 38.919316646134163 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 138, - "OBJECTID_2": 138, - "OBJECTID": 143.0, - "PRECINCT_N": 143.0, - "FACILITY_D": "Church Hall\/Meeting Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_143", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Chinese Community Church", - "ADDRESS": "500 I STREET NW", - "ADDRESS_ID": 238945 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.019133548822794, - 38.900621429714505 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 139, - "OBJECTID_2": 139, - "OBJECTID": 15.0, - "PRECINCT_N": 110.0, - "FACILITY_D": "Multi-Purpose Room", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_15", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "St. Timothy's Episcopal Church", - "ADDRESS": "3601 ALABAMA AVENUE SE", - "ADDRESS_ID": 33104 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -76.956092288786962, - 38.862989239014041 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 140, - "OBJECTID_2": 140, - "OBJECTID": 23.0, - "PRECINCT_N": 32.0, - "FACILITY_D": "Fellowship Hall (1st Floor)", - "ACCESSIBLE": "Yes - Use Connecticut Ave. entrance", - "GIS_ID": "plp_23", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Wesley Methodist Church", - "ADDRESS": "5312 CONNECTICUT AVENUE NW", - "ADDRESS_ID": 301282 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.07264987664179, - 38.959324066446086 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 141, - "OBJECTID_2": 141, - "OBJECTID": 63.0, - "PRECINCT_N": 6.0, - "FACILITY_D": "Gallery", - "ACCESSIBLE": "Yes", - "GIS_ID": "plp_63", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Duke Ellington School of the Arts", - "ADDRESS": "3500 R STREET NW", - "ADDRESS_ID": 294569 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.070307562295099, - 38.913446044424617 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 142, - "OBJECTID_2": 142, - "OBJECTID": 70.0, - "PRECINCT_N": 26.0, - "FACILITY_D": "Gymnasium", - "ACCESSIBLE": "Yes - Use ramped entrance on 27th Street", - "GIS_ID": "plp_70", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Oyster Elementary School", - "ADDRESS": "2801 CALVERT STREET NW", - "ADDRESS_ID": 275944 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.057203378566399, - 38.923595492962626 - ] - } - }, - { - "type": "Feature", - "properties": { - "OBJECTID_1": 143, - "OBJECTID_2": 143, - "OBJECTID": 89.0, - "PRECINCT_N": 58.0, - "FACILITY_D": "Community Room.", - "ACCESSIBLE": "Yes - Ground level at Georgia. Avenue & Quackenbos Street.", - "GIS_ID": "plp_89", - "WEB_URL": "http:\/\/www.dcboee.org\/election_info\/pollplaces\/", - "NAME": "Fourth District Police Station", - "ADDRESS": "6001 GEORGIA AVENUE NW", - "ADDRESS_ID": 243485 - }, - "geometry": { - "type": "Point", - "coordinates": [ - -77.027410983594336, - 38.963125449653411 - ] - } - } - ] -} \ No newline at end of file diff --git a/packages/turf-concave/test/out/issue-333.geojson b/packages/turf-concave/test/out/issue-333.geojson deleted file mode 100644 index 52e26819fc..0000000000 --- a/packages/turf-concave/test/out/issue-333.geojson +++ /dev/null @@ -1,1808 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723426, - 14.6479128 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5201483, - 14.615014 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.51424745714287, - 14.612971957142857 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5132231, - 14.6165441 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48973311666667, - 14.6495531 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4735275, - 14.6465985 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723723, - 14.6485518 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47247347499999, - 14.6477638 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47238633157896, - 14.648176778947366 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48551095454545, - 14.644347027272726 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48639698333334, - 14.607210466666666 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5019386, - 14.6511386 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5269321, - 14.6573653 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5148751, - 14.5823441 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.49990055555557, - 14.600796044444444 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.494049, - 14.5869676 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47337224999998, - 14.646883625000001 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724361, - 14.6486341 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4850658857143, - 14.644084114285715 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.51289270000001, - 14.618719666666667 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4735528, - 14.6467951 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723841, - 14.6480488 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4732471, - 14.6471636 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4722805, - 14.6479045 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5201343, - 14.6150696 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.49114352000001, - 14.66722966 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.472421, - 14.648614 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47381937499999, - 14.646442443749999 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5170675, - 14.604278 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.55477304537037, - 14.62646318703704 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5564985, - 14.627035 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5820498, - 14.6369336 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.60474186153844, - 14.614272646153847 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5156173, - 14.6304 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.51274230000001, - 14.639448640000001 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.50523385, - 14.651190725000001 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.494068, - 14.6524481 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4815628, - 14.6482253 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4804793, - 14.6461901 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.495238, - 14.6457041 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4734271, - 14.6466975 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724963, - 14.64851 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723928, - 14.6478788 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47250081000001, - 14.647835989999999 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.520111, - 14.6150598 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5155081, - 14.6274348 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.51233063333332, - 14.635753766666667 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.50694795, - 14.64236045 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.50368926666665, - 14.645259533333332 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47352167142857, - 14.646744814285713 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724291, - 14.6485725 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47394456363637, - 14.646360845454545 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48284538181817, - 14.644143345454546 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5170826, - 14.623364 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.55518267142857, - 14.628796907142858 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5612823875, - 14.6354786625 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5544466, - 14.6730593 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5713858, - 14.6338483 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.49277926666667, - 14.649214383333335 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47338355, - 14.6469332 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724373, - 14.6484558 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4733026, - 14.6471671 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723626, - 14.6479208 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5201275, - 14.6150038 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5167131875, - 14.61330465 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.473430925, - 14.646790600000001 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724253, - 14.6485335 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47381234375001, - 14.646451625000001 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4814805, - 14.6483101 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48557200000002, - 14.644329030769232 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5171176, - 14.6233125 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.54256017980768, - 14.62663586923077 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5269091, - 14.6573203 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5564916, - 14.6270911 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5713228, - 14.6338651 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5621048, - 14.590847633333333 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.56126696666666, - 14.590278533333333 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5705346, - 14.5772148 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47337158333335, - 14.646920666666668 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724626, - 14.6485841 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723723, - 14.6478811 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4722628, - 14.6479208 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47250489090911, - 14.647854472727271 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.520098, - 14.615 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.50365512500001, - 14.6452732 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.49116085, - 14.667282275 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48990055, - 14.65017205 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47347362, - 14.646725746666664 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724285, - 14.6485766 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47248388571428, - 14.647815600000001 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5169941, - 14.604693 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.53797681111112, - 14.629561677777778 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.49985591428572, - 14.600705557142858 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4940656, - 14.586968 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4878766, - 14.6688766 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4875626, - 14.6704823 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.48763687142856, - 14.668962442857142 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4895363, - 14.6683016 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47322072, - 14.646995100000002 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4722951, - 14.6482883 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47311286666667, - 14.647139766666667 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4724025, - 14.6485518 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723355, - 14.6478488 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4732443, - 14.6471278 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723105, - 14.6478846 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47244180625, - 14.64800523125 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5200513, - 14.6150821 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5039411, - 14.644767 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.50140640000001, - 14.65061405 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47698511818182, - 14.654281172727275 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47332180000001, - 14.6469442 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4723918, - 14.6485571 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.47337318571428, - 14.646881257142857 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5015093, - 14.65032405 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.54214180000001, - 14.624207466666666 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.5478511, - 14.6249898 - ] - } - }, - { - "type": "Feature", - "properties": { - "marker-color": "#f0f", - "marker-size": "small" - }, - "geometry": { - "type": "Point", - "coordinates": [ - -90.4734413, - 14.6466325 - ] - } - }, - { - "type": "Feature", - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - -90.47394456363637, - 14.646360845454545 - ], - [ - -90.48284538181817, - 14.644143345454546 - ], - [ - -90.4850658857143, - 14.644084114285715 - ], - [ - -90.495238, - 14.6457041 - ], - [ - -90.51233063333332, - 14.635753766666667 - ], - [ - -90.51289270000001, - 14.618719666666667 - ], - [ - -90.5132231, - 14.6165441 - ], - [ - -90.49990055555557, - 14.600796044444444 - ], - [ - -90.48639698333334, - 14.607210466666666 - ], - [ - -90.494049, - 14.5869676 - ], - [ - -90.5148751, - 14.5823441 - ], - [ - -90.5170675, - 14.604278 - ], - [ - -90.5201483, - 14.615014 - ], - [ - -90.54214180000001, - 14.624207466666666 - ], - [ - -90.5478511, - 14.6249898 - ], - [ - -90.55477304537037, - 14.62646318703704 - ], - [ - -90.5564985, - 14.627035 - ], - [ - -90.5713858, - 14.6338483 - ], - [ - -90.5820498, - 14.6369336 - ], - [ - -90.5713228, - 14.6338651 - ], - [ - -90.5612823875, - 14.6354786625 - ], - [ - -90.53797681111112, - 14.629561677777778 - ], - [ - -90.51274230000001, - 14.639448640000001 - ], - [ - -90.5269091, - 14.6573203 - ], - [ - -90.5269321, - 14.6573653 - ], - [ - -90.50523385, - 14.651190725000001 - ], - [ - -90.49116085, - 14.667282275 - ], - [ - -90.4875626, - 14.6704823 - ], - [ - -90.4723723, - 14.6485518 - ], - [ - -90.4722951, - 14.6482883 - ], - [ - -90.4722628, - 14.6479208 - ], - [ - -90.4734413, - 14.6466325 - ], - [ - -90.47394456363637, - 14.646360845454545 - ] - ] - ], - [ - [ - [ - -90.5705346, - 14.5772148 - ], - [ - -90.5621048, - 14.590847633333333 - ], - [ - -90.56126696666666, - 14.590278533333333 - ], - [ - -90.5705346, - 14.5772148 - ] - ] - ] - ] - }, - "properties": {} - } - ] -} \ No newline at end of file diff --git a/packages/turf-concave/yarn.lock b/packages/turf-concave/yarn.lock index 4468d73e82..79c914b44d 100644 --- a/packages/turf-concave/yarn.lock +++ b/packages/turf-concave/yarn.lock @@ -2,41 +2,6 @@ # yarn lockfile v1 -"@turf/clone@^4.6.0": - version "4.6.1" - resolved "https://registry.yarnpkg.com/@turf/clone/-/clone-4.6.1.tgz#e4136d9dca48a7065a61454009275c63a9f68121" - -"@turf/distance@^4.6.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@turf/distance/-/distance-4.6.0.tgz#6410b9b4ea7e44e4a99be33018d9daab031946e0" - dependencies: - "@turf/helpers" "^4.6.0" - "@turf/invariant" "^4.6.0" - -"@turf/helpers@^4.6.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@turf/helpers/-/helpers-4.6.0.tgz#12398733b8ae28420df6166fa44c7ee8ffd6414c" - -"@turf/invariant@^4.6.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@turf/invariant/-/invariant-4.6.0.tgz#ba61401d537543f81ccfc588e12bb0d8e653dd80" - -"@turf/meta@^4.6.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@turf/meta/-/meta-4.6.0.tgz#0d3f9a218e58d1c5e5deedf467c3321dd61203f3" - -"@turf/tin@^4.6.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@turf/tin/-/tin-4.6.0.tgz#c7f43a60065a642c5cc7c6d01c678449c667c8e6" - dependencies: - "@turf/helpers" "^4.6.0" - -"@turf/union@^4.6.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@turf/union/-/union-4.6.0.tgz#3b861e35f6ce317e86b33ba2768e5d3f625417b3" - dependencies: - jsts "1.3.0" - balanced-match@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" @@ -48,7 +13,7 @@ benchmark@^2.1.4: lodash "^4.17.4" platform "^1.3.3" -brace-expansion@^1.1.7: +brace-expansion@^1.0.0, brace-expansion@^1.1.7: version "1.1.8" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" dependencies: @@ -74,16 +39,6 @@ defined@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" -detect-indent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" - -error-ex@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" - dependencies: - is-arrayish "^0.2.1" - es-abstract@^1.5.0: version "1.7.0" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.7.0.tgz#dfade774e01bfcd97f96180298c449c8623fb94c" @@ -119,6 +74,15 @@ function-bind@^1.0.2, function-bind@^1.1.0, function-bind@~1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771" +glob@~4.3.5: + version "4.3.5" + resolved "https://registry.yarnpkg.com/glob/-/glob-4.3.5.tgz#80fbb08ca540f238acce5d11d1e9bc41e75173d3" + dependencies: + inflight "^1.0.4" + inherits "2" + minimatch "^2.0.1" + once "^1.3.0" + glob@~7.1.2: version "7.1.2" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" @@ -130,20 +94,12 @@ glob@~7.1.2: once "^1.3.0" path-is-absolute "^1.0.0" -graceful-fs@^4.1.11, graceful-fs@^4.1.2: - version "4.1.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" - has@^1.0.1, has@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" dependencies: function-bind "^1.0.2" -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -155,10 +111,6 @@ inherits@2, inherits@~2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - is-callable@^1.1.1, is-callable@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" @@ -171,10 +123,6 @@ is-function@~1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.1.tgz#12cfb98b65b57dd3d193a3121f5f6e2f437602b5" -is-plain-obj@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - is-regex@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" @@ -185,28 +133,15 @@ is-symbol@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" -jsts@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/jsts/-/jsts-1.3.0.tgz#e93a76f97ac9bda7d4625d9d6470f0d60ac80e45" - -load-json-file@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" - dependencies: - graceful-fs "^4.1.2" - parse-json "^2.2.0" - pify "^2.0.0" - strip-bom "^3.0.0" - lodash@^4.17.4: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" -make-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.0.0.tgz#97a011751e91dd87cfadef58832ebb04936de978" +minimatch@^2.0.1: + version "2.0.10" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-2.0.10.tgz#8d087c39c6b38c001b97fca7ce6d0e1e80afbac7" dependencies: - pify "^2.3.0" + brace-expansion "^1.0.0" minimatch@^3.0.4: version "3.0.4" @@ -232,12 +167,6 @@ once@^1.3.0: dependencies: wrappy "1" -parse-json@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" - dependencies: - error-ex "^1.2.0" - path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" @@ -246,10 +175,6 @@ path-parse@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" -pify@^2.0.0, pify@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - platform@^1.3.3: version "1.3.4" resolved "https://registry.yarnpkg.com/platform/-/platform-1.3.4.tgz#6f0fb17edaaa48f21442b3a975c063130f1c3ebd" @@ -266,16 +191,6 @@ resumer@~0.0.0: dependencies: through "~2.3.4" -slide@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" - -sort-keys@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-1.1.2.tgz#441b6d4d346798f1b4e49e8920adfba0e543f9ad" - dependencies: - is-plain-obj "^1.0.0" - string.prototype.trim@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea" @@ -284,10 +199,6 @@ string.prototype.trim@~1.1.2: es-abstract "^1.5.0" function-bind "^1.0.2" -strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - tape@^4.6.3: version "4.8.0" resolved "https://registry.yarnpkg.com/tape/-/tape-4.8.0.tgz#f6a9fec41cc50a1de50fa33603ab580991f6068e" @@ -313,22 +224,3 @@ through@~2.3.4, through@~2.3.8: wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - -write-file-atomic@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.1.0.tgz#1769f4b551eedce419f0505deae2e26763542d37" - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - slide "^1.1.5" - -write-json-file@^2.1.4: - version "2.2.0" - resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-2.2.0.tgz#51862506bbb3b619eefab7859f1fd6c6d0530876" - dependencies: - detect-indent "^5.0.0" - graceful-fs "^4.1.2" - make-dir "^1.0.0" - pify "^2.0.0" - sort-keys "^1.1.1" - write-file-atomic "^2.0.0" diff --git a/packages/turf-intersect/index.js b/packages/turf-intersect/index.js index d8d8da86d3..9a53b94663 100644 --- a/packages/turf-intersect/index.js +++ b/packages/turf-intersect/index.js @@ -1,6 +1,5 @@ // depend on jsts for now http://bjornharrtell.github.io/jsts/ var jsts = require('jsts'); -var truncate = require('@turf/truncate'); /** * Takes two {@link Polygon|polygons} and finds their intersection. If they share a border, returns the border; if they don't intersect, returns undefined. @@ -35,21 +34,22 @@ var truncate = require('@turf/truncate'); * var addToMap = [poly1, poly2, intersection]; */ module.exports = function (poly1, poly2) { - var geom1 = (poly1.type === 'Feature') ? poly1.geometry : poly1; - var geom2 = (poly2.type === 'Feature') ? poly2.geometry : poly2; - + var geom1, geom2; + if (poly1.type === 'Feature') geom1 = poly1.geometry; + else geom1 = poly1; + if (poly2.type === 'Feature') geom2 = poly2.geometry; + else geom2 = poly2; var reader = new jsts.io.GeoJSONReader(); - var a = reader.read(truncate(geom1)); - var b = reader.read(truncate(geom2)); + var a = reader.read(JSON.stringify(geom1)); + var b = reader.read(JSON.stringify(geom2)); var intersection = a.intersection(b); - if (intersection.isEmpty()) return { - type: 'Feature', - properties: {}, - geometry: null - }; + if (intersection.isEmpty()) { + return undefined; + } var writer = new jsts.io.GeoJSONWriter(); + var geojsonGeometry = writer.write(intersection); return { type: 'Feature', diff --git a/packages/turf-intersect/package.json b/packages/turf-intersect/package.json index f2aa84c298..b9fc0fc2f6 100644 --- a/packages/turf-intersect/package.json +++ b/packages/turf-intersect/package.json @@ -34,7 +34,6 @@ "write-json-file": "^2.0.0" }, "dependencies": { - "@turf/truncate": "^4.6.0", "jsts": "1.3.0" } } diff --git a/packages/turf-intersect/test.js b/packages/turf-intersect/test.js index 42a89b6a4c..5cc0eb3d9a 100644 --- a/packages/turf-intersect/test.js +++ b/packages/turf-intersect/test.js @@ -23,8 +23,10 @@ test('intersect', t => { const features = geojson.features; const result = intersect(features[0], features[1]); - if (process.env.REGEN) write.sync(directories.out + filename, result); - t.deepEqual(result, load.sync(directories.out + filename), name); + if (result) { + if (process.env.REGEN) write.sync(directories.out + filename, result); + t.deepEqual(result, load.sync(directories.out + filename), name); + } } t.end(); }); diff --git a/packages/turf-intersect/test/in/issue-820.geojson b/packages/turf-intersect/test/in/issue-820.geojson deleted file mode 100644 index 17aad6cc26..0000000000 --- a/packages/turf-intersect/test/in/issue-820.geojson +++ /dev/null @@ -1,123 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 43.741513133300735, - 56.20222135938059 - ], - [ - 43.74237144018551, - 56.18856400988486 - ], - [ - 43.77756202246089, - 56.187608768581725 - ], - [ - 43.77927863623042, - 56.19639609165836 - ], - [ - 43.763142466796836, - 56.20212587032091 - ], - [ - 43.741513133300735, - 56.20222135938059 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 43.970066430113974, - 56.332893840607994 - ], - [ - 43.970066430115764, - 56.33289386305967 - ], - [ - 43.96907396330773, - 56.33216050512385 - ], - [ - 43.96712784882449, - 56.3329676824026 - ], - [ - 43.9675997442062, - 56.33331243182769 - ], - [ - 43.96955706305079, - 56.33351088302814 - ], - [ - 43.96958194836136, - 56.33343379993835 - ], - [ - 43.969613521760365, - 56.3333626110674 - ], - [ - 43.96964739754773, - 56.3333044427381 - ], - [ - 43.96968537953426, - 56.3332457040905 - ], - [ - 43.96973157401614, - 56.333186395086614 - ], - [ - 43.969791873109784, - 56.333117882577056 - ], - [ - 43.96983217547703, - 56.3330786121781 - ], - [ - 43.969883502771644, - 56.3330312788475 - ], - [ - 43.969928670817815, - 56.332993640236595 - ], - [ - 43.96997589197615, - 56.33295771241299 - ], - [ - 43.97002822123187, - 56.332919492368774 - ], - [ - 43.970066430113974, - 56.332893840607994 - ] - ] - ] - } - } - ] -} \ No newline at end of file diff --git a/packages/turf-intersect/test/out/Intersect1.geojson b/packages/turf-intersect/test/out/Intersect1.geojson index c3b6bdc9bd..aa44fa0f60 100644 --- a/packages/turf-intersect/test/out/Intersect1.geojson +++ b/packages/turf-intersect/test/out/Intersect1.geojson @@ -6,40 +6,40 @@ "coordinates": [ [ [ - -79.94623485028362, - 32.89900648336843 + -79.94623496447946, + 32.89900638172028 ], [ - -79.885712, - 32.88766 + -79.88571166992188, + 32.887659962078956 ], [ - -79.893951, - 32.75552 + -79.89395141601562, + 32.75551989829049 ], [ - -79.92322798892725, - 32.739099979427955 + -79.92322780260464, + 32.73910022106017 ], [ - -79.937897, - 32.741082 + -79.93789672851562, + 32.74108223150125 ], [ - -79.930344, - 32.764759 + -79.93034362792969, + 32.76475877693074 ], [ - -79.973602, - 32.760717 + -79.97360229492188, + 32.76071688548088 ], [ - -79.974289, - 32.836905 + -79.97428894042969, + 32.83690450361482 ], [ - -79.94623485028362, - 32.89900648336843 + -79.94623496447946, + 32.89900638172028 ] ] ] diff --git a/packages/turf-intersect/test/out/Intersect2.geojson b/packages/turf-intersect/test/out/Intersect2.geojson index a679305063..cc13840a35 100644 --- a/packages/turf-intersect/test/out/Intersect2.geojson +++ b/packages/turf-intersect/test/out/Intersect2.geojson @@ -6,32 +6,32 @@ "coordinates": [ [ [ - -80.00662505026214, - 32.84617737765197 + -80.0066252126598, + 32.84617770697059 ], [ - -80.016861, - 32.872667 + -80.01686096191406, + 32.87266705436184 ], [ - -80.068359, - 32.881894 + -80.068359375, + 32.88189375925038 ], [ - -80.0050161842375, - 32.91295285230695 + -80.0050160405751, + 32.91295307720083 ], [ - -79.981842, - 32.904956 + -79.98184204101562, + 32.90495631913751 ], [ - -79.993515, - 32.844404 + -79.99351501464844, + 32.84440429734253 ], [ - -80.00662505026214, - 32.84617737765197 + -80.0066252126598, + 32.84617770697059 ] ] ] diff --git a/packages/turf-intersect/test/out/issue-412.geojson b/packages/turf-intersect/test/out/issue-412.geojson index f7bb5c0178..9965d97db6 100644 --- a/packages/turf-intersect/test/out/issue-412.geojson +++ b/packages/turf-intersect/test/out/issue-412.geojson @@ -6,28 +6,28 @@ "coordinates": [ [ [ - 11.076137, - 9.85627 + 11.076136797048882, + 9.856269774244707 ], [ - 11.16873572210611, - 9.855073127840765 + 11.1687361088318, + 9.855073034114678 ], [ - 11.16752475470916, - 9.853863 + 11.167525294018606, + 9.85386305739084 ], [ - 11.102599666666666, - 9.853863 + 11.102599853580063, + 9.85386305739084 ], [ - 11.076138743097555, - 9.856269454758179 + 11.076136797048884, + 9.856269774244707 ], [ - 11.076137, - 9.85627 + 11.076136797048882, + 9.856269774244707 ] ] ] diff --git a/packages/turf-intersect/test/out/issue-820.geojson b/packages/turf-intersect/test/out/issue-820.geojson deleted file mode 100644 index d18182872c..0000000000 --- a/packages/turf-intersect/test/out/issue-820.geojson +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": null -} diff --git a/packages/turf-intersect/test/out/linestring.geojson b/packages/turf-intersect/test/out/linestring.geojson index da4c25c7d1..b1a93b137b 100644 --- a/packages/turf-intersect/test/out/linestring.geojson +++ b/packages/turf-intersect/test/out/linestring.geojson @@ -5,12 +5,12 @@ "type": "LineString", "coordinates": [ [ - 4.865441, - 45.784345 + 4.86544132232666, + 45.78434474634739 ], [ - 4.882178, - 45.787457 + 4.88217830657959, + 45.78745711798122 ] ] } diff --git a/packages/turf-intersect/test/out/multilinestring.geojson b/packages/turf-intersect/test/out/multilinestring.geojson index c53540a84d..26277ced2d 100644 --- a/packages/turf-intersect/test/out/multilinestring.geojson +++ b/packages/turf-intersect/test/out/multilinestring.geojson @@ -6,22 +6,22 @@ "coordinates": [ [ [ - 4.865441, - 45.784345 + 4.86544132232666, + 45.78434474634739 ], [ - 4.882178, - 45.787457 + 4.88217830657959, + 45.78745711798122 ] ], [ [ - 4.860034, - 45.78213 + 4.860033988952637, + 45.78213006841216 ], [ - 4.861836, - 45.784405 + 4.8618364334106445, + 45.784404601286774 ] ] ] diff --git a/packages/turf-intersect/test/out/multipoint.geojson b/packages/turf-intersect/test/out/multipoint.geojson index f2c6612cd0..6901c49514 100644 --- a/packages/turf-intersect/test/out/multipoint.geojson +++ b/packages/turf-intersect/test/out/multipoint.geojson @@ -5,12 +5,12 @@ "type": "MultiPoint", "coordinates": [ [ - 4.845099, - 45.77794 + 4.845099449157715, + 45.77793989651294 ], [ - 4.854155, - 45.772492 + 4.854154586791992, + 45.77249220227275 ] ] } diff --git a/packages/turf-intersect/test/out/no-overlap.geojson b/packages/turf-intersect/test/out/no-overlap.geojson deleted file mode 100644 index d18182872c..0000000000 --- a/packages/turf-intersect/test/out/no-overlap.geojson +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": null -} diff --git a/packages/turf-intersect/test/out/point.geojson b/packages/turf-intersect/test/out/point.geojson index 01f92ae67c..a228f8a6dd 100644 --- a/packages/turf-intersect/test/out/point.geojson +++ b/packages/turf-intersect/test/out/point.geojson @@ -4,8 +4,8 @@ "geometry": { "type": "Point", "coordinates": [ - 4.859991, - 45.784614 + 4.859991073608398, + 45.784614093068555 ] } } diff --git a/packages/turf-intersect/yarn.lock b/packages/turf-intersect/yarn.lock index 506251e4e6..39bbf716c0 100644 --- a/packages/turf-intersect/yarn.lock +++ b/packages/turf-intersect/yarn.lock @@ -2,16 +2,6 @@ # yarn lockfile v1 -"@turf/meta@^4.6.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@turf/meta/-/meta-4.6.0.tgz#0d3f9a218e58d1c5e5deedf467c3321dd61203f3" - -"@turf/truncate@^4.6.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@turf/truncate/-/truncate-4.6.0.tgz#903ad5ed34c0b851b93529975eb8e2eb769a561f" - dependencies: - "@turf/meta" "^4.6.0" - balanced-match@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"