Stefano Borghi

Results 46 comments of Stefano Borghi

Hey guys, just to make clear, would this be an issue on `@turf/concave` or `@turf/convex`? The title of the issue and the example say two different things. Regardless, I don't...

Still, I don't see the reported error. @braco can you please post a code snippet reproducing the error?

@Armindou it seems your "notWorking" coordinates need to be cleaned with [`@turf/clean-coords`](https://github.com/Turfjs/turf/tree/master/packages/turf-clean-coords) (I noticed there are few duplicated points); [this](https://gist.github.com/anonymous/e1c8b02b0e24c2b54f2e6794a3f8e594) the result. ```js var line = turf.cleanCoords(turf.lineString([...coordinates...]); var offsetLine =...

@vahid18u please provide a snippet of the code generating the unexpected result; it is impossible to debug/test a picture 😄

@vahid18u your gist contains MultiPolygons, which are not supported by `booleanContains`, however once converted to Polygons the package does indeed return the wrong result: ```js const yellow = { 'type':...

Is this geojson validator still of interest @morganherlocker ? I know `jsts` is a goner, so we might want to implement this with [geojsonhint](https://github.com/mapbox/geojsonhint) instead. @DenisCarriere @rowanwins is this material...

@rowanwins although you wouldn't be able to use a clean ```js if (turf.valid(geojson) { // ... } ``` I think throwing an error would be the best way to have...

Thanks @twelch for the update. My 2c: I think a boolean validator is not very useful if it does not help you understanding why the feature is not valid (so...

Hi @bulutkartal, I agree with you this module should perform better. Currently it uses the A* algorithm (see [here](https://github.com/Turfjs/turf/pull/956#issuecomment-331345288) for some more details), which was a quick (because already [implemented](http://github.com/bgrins/javascript-astar))...

I was just looking at this and I believe it's mainly due to the WGS84 projection. Also in this case, [like for grids](https://github.com/Turfjs/turf/pull/1029#issuecomment-337482857), we should probably work with Mercator. Why...