Giter Club home page Giter Club logo

turf.kt's People

Contributors

hudsonb avatar ixw123 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

ixw123

turf.kt's Issues

Implement conversion:polygonize

Implement conversion:polygonize as an extension function on LineString, MultiLineString, Feature<LineString>, Feature<MultiLineString>, and List<LineString>.

This issue depends on #25

Implement Measurement:bbox

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

Implement misc:lineSegment as extensions on the following classes:

  • LineString
  • Polygon
  • MultiLineString
  • MultiPolygon

Implement measurement:pointToLineDistance

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

Implement measurement:pointOnFeature as an extension function on Polygon, Feature<Polygon> FeatureCollection.

Maybe there's a better name than pointOnFeature.

Implement conversion:lineToPolygon

Implement conversion:lineToPolygon as toPolygon, an extension function on FeatureCollection, Feature<LineString>, Feature<MultiLineString>, LineString, Polygon, List<LineString>.

Implement conversion:combine

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:envelope

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 mutation:rewind

Implement mutation:rewind as an extension function on LineString, Polygon, MultiLineString, MultiPolygon, Feature<LineString>, Feature<Polygon>, Feature<MultiLineString>, and Feature<MultiPolygon>.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.