geogeometry
geogeometry copied to clipboard
GeoGeometry is a set of algorithms and functions for manipulating geo hashes and geometric shapes with geo coordinates.
Looks like lon/lat are getting confused somewhere Review algorithm or remove it
Going to be painful to do but need to do this at some point.
The current algorithm has a potential to blow up on edgecases.
- polygons need to be closed - coordinates need to be within their boundaries
- basic models are there already - needs tests to verify we can parse any geojson
I'd noted that following comment in the geoHashesForPolygon method. * Note, the algorithm 'fills' the polygon from the inside with hashes. So, if a geohash partially falls outside the polygon,...