4 ms·
Re-posting what I said in r/javascript. I'm digging the modularity. My only complaint would be that some of those modules do not really need to be "turf" speci
by mattdesl 12y ago
Re-posting what I said in r/javascript. I'm digging the modularity.
My only complaint would be that some of those modules do not really need to be "turf" specific. For example, "turf-is-clockwise" would be more Unixy if it was just "is-clockwise" or "is-polygon-clockwise". This would help improve discoverability and make them nicer to use alongside other generic npm modules, like:
simplify-path, delaunay-triangulate, triangulate-contours, chaikin-smooth, convex-hull
etc.
I also think the turf modules would appeal to other uses than just GIS. They are generic enough to be useful in games, interactive apps, etc. :)