Skip to content

Commit

Permalink
Merge pull request #1111 from Turfjs/new-release
Browse files Browse the repository at this point in the history
Publish @turf/center-mean & @turf/ellipse
  • Loading branch information
DenisCarriere authored Nov 21, 2017
2 parents 75c9904 + 6e3e0b9 commit dd44d85
Show file tree
Hide file tree
Showing 9 changed files with 729 additions and 60 deletions.
2 changes: 1 addition & 1 deletion packages/turf-center-mean/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@turf/center-mean",
"version": "5.0.0",
"version": "5.0.1",
"description": "turf center-mean module",
"main": "main",
"module": "index",
Expand Down
2 changes: 1 addition & 1 deletion packages/turf-ellipse/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@turf/ellipse",
"version": "5.0.0",
"version": "5.0.1",
"description": "turf ellipse module",
"main": "main",
"module": "index",
Expand Down
47 changes: 33 additions & 14 deletions packages/turf-ellipse/test/out/nyc4.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,35 @@
{
"type": "Feature",
"properties": {
"xSemiAxis": 5,
"ySemiAxis": 1,
"steps": 4
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[ -73.9975, 40.6967585019948 ], [ -73.98563222257178, 40.730833 ], [ -73.9975, 40.76490749800519 ], [ -74.00936777742822, 40.730833 ], [ -73.9975, 40.6967585019948 ]
]
]
}
"type": "Feature",
"properties": {
"xSemiAxis": 5,
"ySemiAxis": 1,
"steps": 4
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-73.9975,
40.6967585019948
],
[
-73.98563222257178,
40.730833
],
[
-73.9975,
40.76490749800519
],
[
-74.00936777742822,
40.730833
],
[
-73.9975,
40.6967585019948
]
]
]
}
}
39 changes: 29 additions & 10 deletions packages/turf-ellipse/test/out/nyc_bare.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,31 @@
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[ -73.9975, 40.6967585019948 ], [ -73.98563222257178, 40.730833 ], [ -73.9975, 40.76490749800519 ], [ -74.00936777742822, 40.730833 ], [ -73.9975, 40.6967585019948 ]
]
]
}
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-73.9975,
40.6967585019948
],
[
-73.98563222257178,
40.730833
],
[
-73.9975,
40.76490749800519
],
[
-74.00936777742822,
40.730833
],
[
-73.9975,
40.6967585019948
]
]
]
}
}
Loading

0 comments on commit dd44d85

Please sign in to comment.