Turfjs / turf

A modular geospatial engine written in JavaScript and TypeScript
https://turfjs.org/
MIT License
9.22k stars 935 forks source link

turf-regular-grid #213

Closed morganherlocker closed 9 years ago

morganherlocker commented 9 years ago

polygon regular grid - I think this would more specifically be a cartesian grid, but that name might be overloaded in geo-land. http://en.wikipedia.org/wiki/Regular_grid http://en.wikipedia.org/wiki/Cartesian_coordinate_system

The idea here though is turf-hex, but for squares. This should attempt to be geodesic, but we will see how the algorithm shapes up.

vlasvlasvlas commented 9 years ago

geohash36 may help here:

http://www.pubnub.com/blog/wp-content/uploads/2014/05/ProximityChat1.jpg

http://en.wikipedia.org/wiki/Geohash-36

morganherlocker commented 9 years ago

https://github.com/Turfjs/turf-square-grid

vlasvlasvlas commented 9 years ago

great!

tcql commented 9 years ago

@morganherlocker I'm closing this, since turfjs/turf-square-grid exists now. Let me know if there's anything more you think we should capture here.