Denis 80e5c9b45b Define Turf 3.5.2 definition (#11123)
* Define Turf 3.5.2 definition
Update all methods with newest JSDocs & tests based on the latest TurfJS library.

AGGREGATION
- [x] collect
MEASUREMENT
- [ ] along
- [ ] area
- [ ] bboxPolygon
- [ ] bearing
- [ ] center
- [ ] centroid
- [ ] destination
- [ ] distance
- [ ] envelope
- [ ] lineDistance
- [ ] midpoint
- [ ] pointOnSurface
- [ ] square
TRANSFORMATION
- [ ] bezier
- [ ] buffer
- [ ] concave
- [ ] convex
- [ ] difference
- [ ] intersect
- [ ] simplify
- [ ] union
MISC
- [ ] combine
- [ ] explode
- [ ] flip
- [ ] kinks
- [ ] lineSlice
- [ ] pointOnLine
HELPER
- [x] featureCollection
- [x] feature
- [x] lineString
- [x] multiLineString
- [x] point
- [x] multiPoint
- [x] polygon
- [x] multiPolygon
- [x] geometryCollection
DATA
- [x] random
- [x] sample
INTERPOLATION
- [ ] isolines
- [ ] planepoint
- [ ] tin
JOINS
- [ ] inside
- [ ] tag
GRIDS
- [ ] hexGrid
- [ ] pointGrid
- [ ] squareGrid
- [ ] triangleGrid
- [ ] within
CLASSIFICATION
- [ ] nearest
META
- [ ] propEach
- [ ] coordEach
- [ ] coordReduce
- [ ] featureEach
- [ ] getCoord
ASSERTIONS
- [ ] featureOf
- [ ] collectionOf
- [ ] bbox
- [ ] circle
- [ ] geojsonType
- [ ] propReduce
- [ ] coordAll
- [ ] tesselate

* Added Turf Grids functions
- Added more variables to data initialisation.
- Remove excess feature points.
- Add URL in `@name` in function JSDocs

GRIDS
- [x] hexGrid
- [x] pointGrid
- [x] squareGrid
- [x] triangleGrid

* Use the latest Turf import
- Added in test case how to import individal functions
npm install in Node.js
```
npm install @turf/turf
```
https://github.com/Turfjs/turf

* Change Turf functions into interfaces

* Added Turf typeof units
`units` is an optional parameter for all Turf functions with the following options `'miles' | 'nauticalmiles' | 'degrees' | 'radians' | 'inches' | 'yards' | 'meters' | 'metres' | 'kilometers' | 'kilometres'`

* Update Turf `inside` & `tag`
Add JSDocs & validate both methods

* Add imports to Turf submodules

* Add Author to Turf
@vvakame followed the same syntax as Lodash

* Simplify Turf `intersect` interface
Turf only officially supports `poly,poly`, all other geometry input/outputs are valid, however can't control the outputs.
https://github.com/Turfjs/turf/pull/479

* Comment Turf export default module
Next release of Turf will have this implemented

* Remove default export turf
Was meant to be a comment instead, removed it for now to be safe, it will become available next release

* Added Turf.bbox function
2016-09-19 15:50:52 +09:00
2016-07-26 14:59:34 +09:00
…
2016-08-11 13:13:12 +02:00
2016-08-07 10:24:54 +08:00
2016-08-07 02:10:38 -04:00
2016-09-09 18:43:00 +07:00
…
2016-07-23 23:01:10 -07:00
2016-06-30 17:29:16 +02:00
…
…
2016-08-11 13:13:12 +02:00
2016-08-04 13:33:11 +02:00
2016-06-25 20:17:08 +02:00
2016-09-14 21:45:16 +09:00
…
2016-08-16 19:46:02 -05:00
2016-09-08 19:29:39 +03:00
2016-07-06 06:19:20 -04:00
2016-09-06 23:11:58 +09:00
2016-09-14 21:45:38 +09:00
2016-06-21 21:58:37 +00:00
2016-08-14 12:10:50 +03:00
…
2016-08-06 23:16:44 -03:00
2016-07-24 17:13:33 +07:00
2016-08-30 16:19:45 +08:00
2016-07-28 20:06:22 +03:00
2016-06-20 23:12:04 +00:00
…
…
…
2016-09-15 22:24:40 +09:00
…
…
2016-08-06 15:33:57 -04:00
2016-07-06 01:01:17 +02:00
2016-09-14 22:20:28 +09:00
2016-06-19 12:42:22 +09:00
2016-07-14 10:42:17 +02:00
…
…
2016-08-23 13:36:04 +02:00
2016-08-02 22:12:56 +07:00
…
…
…
2016-07-04 11:46:19 +09:00
…
2016-09-06 17:57:44 -07:00
2016-06-19 11:59:36 +09:00
…
…
…
2016-08-12 17:26:20 +03:00
…
…
2016-08-12 15:46:44 +03:00
…
…
2016-09-08 13:17:47 +08:00
…
…
2016-09-07 20:44:37 +09:00
…
2016-07-09 06:15:40 +02:00
2016-08-10 16:20:48 +02:00
…
2016-06-20 23:58:06 +00:00
2016-08-08 14:08:07 +02:00
2016-06-29 09:49:20 +08:00
…
…
2016-08-30 17:28:00 -05:00
…
2016-06-23 09:32:47 +02:00
…
…
…
2016-09-07 19:52:11 +09:00
…
…
…
2016-06-19 12:43:23 +09:00
2016-08-09 19:33:33 +08:00
2016-06-22 12:41:01 +09:00
…
…
…
2016-08-19 11:26:34 -04:00
…
2016-08-26 11:09:07 +09:00
2016-08-18 22:03:03 +05:30
…
…
2016-08-06 21:24:36 +05:30
2016-07-24 00:08:10 -07:00
2016-08-30 17:28:00 -05:00
2016-09-09 23:26:34 +09:00
…
2016-09-07 21:27:40 -07:00
…
…
…
…
2016-08-11 13:13:12 +02:00
…
…
…
2016-08-01 10:46:31 +09:30
2016-09-08 15:32:39 -05:00
2016-07-23 20:02:53 -07:00
2016-08-04 14:09:56 -04:00
2016-09-06 22:53:07 +09:00
…
2016-09-06 14:09:21 -04:00
…
…
2016-08-20 19:00:18 +09:00
2016-08-11 15:58:47 +02:00
…
2016-08-15 18:56:27 +02:00
2016-09-07 20:43:24 +09:00
…
2016-08-11 13:13:12 +02:00
2016-08-18 10:44:23 +05:30
…
…
2016-08-11 13:13:12 +02:00
…
2016-08-30 23:54:22 +09:00
…
…
2016-08-12 15:42:17 -07:00
…
…
2016-07-29 19:00:42 -07:00
2016-08-03 00:28:53 -07:00
2016-08-26 14:15:36 -07:00
2016-09-14 21:44:48 +09:00
2016-06-28 12:13:03 +08:00
2016-08-30 20:20:41 +10:00
…
…
…
…
2016-08-30 17:41:58 -06:00
2016-07-19 17:33:53 -07:00
2016-08-18 09:50:21 -05:00
…
…
…
…
2016-09-06 12:50:56 +02:00
2016-08-11 13:13:12 +02:00
2016-08-30 03:06:28 +09:00
…
2016-08-12 14:13:19 +02:00
2016-08-30 03:08:32 +09:00
2016-07-01 14:58:13 -07:00
2016-09-19 15:30:32 +09:00
2016-09-08 09:33:34 +02:00
…
2016-09-07 19:57:32 +09:00
…
…
…
…
…
2016-08-30 17:28:00 -05:00
2016-06-20 11:49:21 -07:00
…
…
2016-08-11 13:13:12 +02:00
…
2016-08-18 21:03:32 +01:00
2016-08-29 13:28:16 +02:00
2016-09-09 22:15:34 +02:00
2016-06-28 09:30:33 +02:00
2016-08-11 13:13:12 +02:00
2016-08-12 14:14:21 +02:00
2016-09-07 10:06:58 -04:00
2016-08-12 00:41:00 +03:00
2016-07-23 23:27:14 -07:00
2016-08-13 19:55:05 +02:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
…
…
…
2016-07-06 21:00:53 -04:00
2016-08-24 16:26:52 +02:00
…
2016-06-21 09:41:34 +01:00
2016-09-07 20:43:01 +09:00
2016-07-08 12:26:48 +09:00
2016-08-06 16:24:14 +09:00
2016-08-15 21:12:56 +01:00
2016-08-16 20:11:47 +09:00
2016-07-07 09:51:22 +02:00
2016-07-05 21:32:26 +02:00
2016-07-07 09:54:14 +02:00
2016-07-07 10:04:22 +02:00
2016-07-08 12:23:48 +02:00
…
2016-08-18 13:00:30 +02:00
2016-08-11 13:13:12 +02:00
2016-07-06 21:01:33 +02:00
…
2016-07-11 09:28:08 -04:00
2016-07-26 09:09:08 +07:00
2016-06-20 23:29:04 +02:00
…
2016-06-22 10:10:16 +01:00
2016-09-14 20:41:52 +09:00
…
…
2016-07-04 11:39:46 +09:00
…
…
2016-07-19 23:31:29 -07:00
2016-08-19 12:36:24 -07:00
…
…
2016-07-29 00:23:13 +09:00
2016-06-19 12:32:02 +09:00
…
…
2016-08-11 23:30:59 +02:00
2016-06-19 12:21:54 +09:00
…
…
2016-09-06 22:42:05 +09:00
…
…
…
…
2016-07-04 23:30:36 +09:00
2016-06-19 11:44:49 +09:00
…
…
…
…
2016-06-22 08:28:53 +02:00
2016-08-11 13:13:12 +02:00
…
2016-07-29 00:26:00 +09:00
2016-07-23 23:36:29 -07:00
2016-06-27 11:21:03 +02:00
…
…
2016-07-19 23:35:10 -07:00
2016-09-14 21:56:56 +09:00
2016-07-20 19:12:45 +09:00
2016-08-01 16:54:46 +02:00
…
2016-06-21 22:28:32 +00:00
2016-07-24 04:24:10 -07:00
2016-08-03 00:16:35 +09:00
2016-06-19 12:21:39 +09:00
…
…
2016-08-01 21:15:43 +04:30
2016-08-05 11:37:14 -05:00
2016-06-22 23:15:53 +03:00
…
2016-08-11 22:51:52 +03:00
…
2016-06-22 10:44:06 +02:00
…

DefinitelyTyped Build Status

Join the chat at https://gitter.im/borisyankov/DefinitelyTyped

The repository for high quality TypeScript type definitions.

For more information see the definitelytyped.org website.

Usage

Include a line like this:

/// <reference path="jquery.d.ts" />

Contributions

DefinitelyTyped only works because of contributions by users like you!

Please see the contribution guide on how to contribute to DefinitelyTyped.

How to get the definitions

List of definitions

Requested definitions

Here are the currently requested definitions.

License

This project is licensed under the MIT license.

Copyrights on the definition files are respective of each contributor listed at the beginning of each definition file.

Analytics

S
Description
No description provided
Readme MIT
395 MiB
Languages
TypeScript 100%