Releases: jillesvangurp/geogeometry
Releases · jillesvangurp/geogeometry
correctness fixes
This release and the previous one tweaks a few of the algorithms for edge cases related to polygon containment and intersection:
- intersects now handles fully contained shapes (whoops)
- polygonContains now correctly handles points that are on the lines of the outer polygon, this is an edge case but a nice one
- Geometry.contains now respects holes. This was never implemented
Other changes:
- new randomPoints extension function on Geometry that may be used for testing. It produces a sequence of points.
- equirectangular distance for when haversine is too slow. Fine over short distances but don't use over larger distances
- one of the distance functions has been renamed to make it clear it measures distance to a line
3.4.20
- improve expand polygon
- add Geometry.intersects algorithm and improve polygonContains to better handle edge cases
3.4.18
less buggy urlEncode implementation
3.4.17: add regex based coordinate parsing and validation
Adds parse and validation functions for lat, lon combinations in strings using a non trivial regex that should be bullet proof against all the common edge cases.
3.4.16: improve overlaps algorithm for polygons
- improved polygon overlap algorithm
- misc Tile improvements
3.4.12
add Tile.fromPath(string)
Full Changelog: 3.4.11...3.4.12
3.4.11
adds Tile quad tree keys (string and long) functions.
3.4.10: deal with some edge cases for tile bounding boxes
A few more edge cases with Tile bbox calculations; add more tests.
3.4.9
Fix bug with tile bbox
3.4.8
Improve Tile functionality