mapbox-java icon indicating copy to clipboard operation
mapbox-java copied to clipboard

Port Turf boolean point-on-line method

Open msaleh97 opened this issue 4 years ago • 1 comments

Hi,

I was wondering if there’s a timeline on when the boolean functions will be ported to Java. I tried a lot of other libraries and it looks like turf.js is one of best/most accurate lib. I’m mainly looking for the boolean point on line function to be ported to Java. Thank you!

msaleh97 avatar May 13 '20 04:05 msaleh97

Hi @msaleh97 , thanks for your interest in this.

Unfortunately, none of the boolean methods have been ported to the Java SDK: https://github.com/mapbox/mapbox-java/blob/master/docs/turf-port.md#booleans.

The Mapbox Android team is working on some larger pieces of work right now, so there's no current timeline for us getting around to porting this method 😕. We do accept pull requests from the community, so please feel free to open one if you'd like to do the porting yourself.

I've re-named this ticket's title to be specific to http://turfjs.org/docs/#booleanPointOnLine so that we can track this more easily

Related:

  • https://github.com/Turfjs/turf/tree/master/packages/turf-boolean-point-on-line
  • https://github.com/Turfjs/turf/blob/master/packages/turf-boolean-point-on-line/index.ts

langsmith avatar May 13 '20 22:05 langsmith