dartclub / turf_dart

A turf.js-like geospatial analysis library working with GeoJSON, written in pure Dart.
https://pub.dev/packages/turf
MIT License
63 stars 29 forks source link

How to calculate the polygon area #90

Closed yinxh2016 closed 1 year ago

yinxh2016 commented 2 years ago

The distance can be obtained from latlong2,but how to calculate the polygon area?

lukas-h commented 2 years ago

Hi, this package is still WIP, polygon area is not yet implemented here. If you want to help us with the library, you could port the functionality from Turf.js https://github.com/Turfjs/turf/blob/master/packages/turf-area/index.ts

And take a look at our contributors guide

https://github.com/dartclub/turf_dart/blob/main/CONTRIBUTING.md

lukas-h commented 1 year ago

scheduled for implementation #136, closed therefore