hudsonb / turf.kt Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Implement measurement:rhumbDestination as an extension function on Position
, Point
, and Feature<Point>
Implement conversion:polygonize as an extension function on LineString
, MultiLineString
, Feature<LineString>
, Feature<MultiLineString>
, and List<LineString>
.
This issue depends on #25
Implement misc:lineArc
Implement conversion:explode as an extension function on all GeoJSON classes.
Implement measurement:midpoint as an extension function on Position
, Point
, Feature
.
Implement transformation:circle as a top-level function.
Implement Measurement:bbox as an extension function/method on Geometry
(or possibly all but Point
) and Feature<Point>
.
Add BBox
data class.
Implement misc:lineSegment as extensions on the following classes:
LineString
Polygon
MultiLineString
MultiPolygon
Implement measurement:rhumbBearing as an extension function on Position
, Point
and Feature<Point>
.
Implement Measurement:area as an extension function on Geometry
and Feature
.
Implement measurement:pointToLineDistance.
Add the following extensions to Position
, Point
, and Feature<Point>
:
distanceTo(LineString)
distanceTo(Feature<LineString>)
Add the following extensions to Array<Position>
, LineString
, and Feature<LineString>
:
distanceFrom(Position)
distanceFrom(Point)
distanceFrom(Feature<Point>)
Add these to Distance.kt
Implement measurement:pointOnFeature as an extension function on Polygon
, Feature<Polygon>
FeatureCollection
.
Maybe there's a better name than pointOnFeature.
Implement Measurement:bearing as an extension function on Position
, Point
and Feature<Point>
Implement conversion:polygonToLine
Implement conversion:lineToPolygon as toPolygon
, an extension function on FeatureCollection
, Feature<LineString>
, Feature<MultiLineString>
, LineString
, Polygon
, List<LineString>
.
Implement mutation:cleanCoords as an extension function on Geometry
and Feature
.
Implement conversion:flatten
Implement Measurement:centerOfMass as an extension function on Feature
and FeatureCollection
.
Implement conversion:combine as an extension function on FeatureCollection<Point>
, FeatureCollection<LineString>
, FeatureCollection<Polygon>
.
Additionally, we may want to add it as an extension function on List<Point>
, List<LineString>
and List<Polygon>
.
Implement measurement:length as an extension function on Geometry
.
Implement mutation:flip as an extension function on Geometry
and Feature
.
Implement Measurement:centroid as an extension function on Feature
and FeatureCollection
Implement convex as an extension function on Feature and FeatureCollections
Implement measurement:envelope as an extension function on Geometry
, perhaps excluding Point
Additionally, add the following top-level function: fun envelope(vararg g: GeoJson): Polygon
Implement in Envelope.kt
Implement measurement:rhumbDistance as an extension function on Position
, Point
, and Feature<Point>
.
Implement Measurement:center as an extension function on Feature
, FeatureCollection
.
Implement earcut: https://github.com/mapbox/earcut This is used by turfjs for some methods such as tesselate
.
Implement Measurement:bboxPolygon as an extension function on Geometry
(or possibly on everything but Point
) and Feature
.
Implement Measurement:along as an extension method on LineString
and Feature<LineString>
Implement measurement:polygonTangents as an extension function on Polygon
, Feature<Polygon>
, MultiPolygon
and Feature<MultiPolygon>
.
Modify gradle and project structure to support Kotlin multi-platform
Implement mutation:truncate on all GeoJSON types.
Implement measurement:greatCircle as an extension function on Position
, Point
, and Feature<Point>
.
Implement mutation:rewind as an extension function on LineString
, Polygon
, MultiLineString
, MultiPolygon
, Feature<LineString>
, Feature<Polygon>
, Feature<MultiLineString>
, and Feature<MultiPolygon>
.
Implement measurement:square as an extension function on BBox
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.