Stefano Borghi

Results 50 comments of Stefano Borghi
trafficstars

> we don't really have a module for this ['finding the distance between a point and a line'] currently @rowanwins `@turf/point-on-line` does actually calculate that distance (probably not in the...

Yep, `mask` would definitely work 👍 Now that I look at it we should also rename `cellSize` to `cellSide` as we did in the grid modules Also, I was wondering...

@shongololo it seems actually that `d2` and `d3` are equals in your example because `e1` and `e2` are both "enveloping" `b`. `@turf/circle` doesn't seem to have issues. ![screen shot 2017-08-14...

@tomorrowcheng would you mind posting some code showing compared results? That way it's easier to see what's actually going on

@tomorrowcheng I don't think there is a solution right now. [This](https://github.com/Turfjs/turf/issues/110) issue should give you some context and explain it's due to [mercator projection distortion](https://en.wikipedia.org/wiki/Mercator_projection) on the map. A new...

@hally9k maybe you can find something inspirational [here](https://github.com/Turfjs/turf/pull/771) and [here](https://macwright.com/2016/09/26/the-180th-meridian.html). If you came up with a nice function to safely display any GeoJSON feature on the map we could maybe...

Just as an update note, [`@turf/boolean-clockwise`](https://github.com/Turfjs/turf/tree/master/packages/turf-boolean-clockwise) is now integrated as TurfJS module

@atdx-lim why do you say result is wrong? In other words, what do you consider correct? To me it actually seems like the buffer does not keep constant distance from...

@jpoynton this is an interesting case, indeed it seems the MarchingSquare algorithm is failing to map the correct intermediate contours. I know it might have some issue sometime but this...