Polygon ?
kdubuc opened this issue · 3 comments
kdubuc commented
How about a polygon instance ? Should be great to calculate if a Coordinate is / isn't in it, like the Bound instance. Actually, the Bound instance will be a special case of the Polygon.
I seen it in league/geotools (https://github.com/thephpleague/geotools/blob/master/src/Polygon/Polygon.php), but your lib is great for domain model integration (no batch geocode, no cli ...)
jsor commented
Yes, i agree, a Polygon/Polyline instance would be a good addition. My time is very limited at the moment though, but i'll keep this issue open as a reminder. I'm open for PR's in the meantime :)
kdubuc commented
Wow, thanks !! Much appreciated and very useful for my projects, thanks again ! 😉