Skip to content

Releases: jillesvangurp/geogeometry

correctness fixes

30 May 10:18
Compare
Choose a tag to compare

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

21 May 08:53
Compare
Choose a tag to compare
  • improve expand polygon
  • add Geometry.intersects algorithm and improve polygonContains to better handle edge cases

3.4.18

15 May 14:28
Compare
Choose a tag to compare

less buggy urlEncode implementation

3.4.17: add regex based coordinate parsing and validation

03 Apr 13:28
Compare
Choose a tag to compare

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

18 Mar 11:21
Compare
Choose a tag to compare
  • improved polygon overlap algorithm
  • misc Tile improvements

3.4.12

03 Feb 09:45
Compare
Choose a tag to compare

add Tile.fromPath(string)

Full Changelog: 3.4.11...3.4.12

3.4.11

30 Jan 13:37
Compare
Choose a tag to compare

adds Tile quad tree keys (string and long) functions.

3.4.10: deal with some edge cases for tile bounding boxes

28 Jan 10:41
Compare
Choose a tag to compare

A few more edge cases with Tile bbox calculations; add more tests.

3.4.9

27 Jan 14:34
Compare
Choose a tag to compare

Fix bug with tile bbox

3.4.8

23 Jan 15:09
Compare
Choose a tag to compare

Improve Tile functionality