All Versions
44
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History
Page 4

  • v0.13.0 Changes

    2020-04-13

    • โœ‚ Removes the Line type. This was done in order to better align simplefeatures with the OGC Simple Feature Access specification, and allows ๐Ÿšš many edge cases in the code to be removed. Users previously using the Line type should use the LineString type instead.

    • โž• Adds an explicit GeometryType type, which represents one of the 7 types of geometry (Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection). The Type method now returns a GeometryType rather than a string.

  • v0.12.0 Changes

    2020-04-11

    • โœ‚ Removes redundant PostGIS reference implementation tests, improving CI speed.

    • Overhauls WKB and WKT interfaces. These now return []byte and string respectively, rather than writing to a supplied io.Writer.

    • โœ‚ Removes the IsValid method. If users want to know if a geometry is valid or not, they should check for an error when geometries are constructed.

    • Unexports the partially implemented Intersection method. It will be reexported once the feature is complete.

    • ๐Ÿ›  Fixes a memory related bug in the github.com/peterstace/simplefeatures/geos package.

    • โž• Adds a wrapper for the GEOS simplify function.

    • ๐Ÿ“ฆ Simplifies the github.com/peterstace/simplefeatures/geos package by not exporting the 'handle' concept. The package now just exposes standalone functions.

  • v0.11.0 Changes

    2020-04-05

    • โž• Adds a new package github.com/peterstace/simplefeatures/geos that wraps the GEOS library. The following functions are wrapped: Equals, Disjoint, Touches, Contains, Covers, Intersects, Within, CoveredBy, Crosses, Overlaps, Union, Intersection, and Buffer.
  • v0.10.1 Changes

    2020-03-24

    • โž• Adds documentation comments to all exported symbols.
  • v0.10.0 Changes

    2020-03-20

    • โž• Adds support to geometries for Z (3D) and M (Measure) values. This includes many breaking changes, primarily around geometry constructor functions.
  • v0.9.0 Changes

    2020-03-03

    ๐Ÿš€ Special thanks to Frank Sun and Peter Jones for contributing to this release.

    • ๐Ÿ›  Fixes a bug in the intersects predicate between MultiLineString and MultiPolygon.

    • โœ‚ Removes the EmptySet type. The Point, LineString, and Polygon types can now represent empty geometries.

    • โž• Adds the GeometryType method, which returns a string representation of the geometry type (e.g. returns "LineString" for the LineString geometries).

    • โž• Adds support to store empty Point geometries within MultiPoint geometries.

    • Simplifies geometry constructor options by removing the DisableExpensiveValidations option.

    • โœ‚ Removes the Equals predicate (which was only implemented for a small proportion of geometry type pairs).

    • Modifies the TransformXY methods to return their own concrete geometry type.

  • v0.8.0 Changes

    2020-02-20

    ๐Ÿš€ Special thanks to Lachlan Patrick for contributing to this release.

    • โž• Adds a Length implementation for the Geometry type.

    • Modifies the Boundary for concrete geometry types to return a concrete geometry type (rather than the generic Geometry type).

    • โœ… Modifies the Fuzz Tests to use batching.

    • ๐Ÿ›  Fixes a bug in the IsSimple method for MultiLineString.

    • โž• Adds Centroid implementations for all geometry types.

    • โž• Adds a new suite of reference implementation tests using libgeos.

  • v0.7.0 Changes

    2020-01-24

    • ๐Ÿ›  Fixes a deficiency where LineString would not retain coincident adjacent points.

    • โž• Adds two new methods to LineString. NumLines gives the number of Line segments making up the LineString, and LineN allows access to those Line segments.

    • โฌ‡๏ธ Reduces the memory required to store a LineString.

  • v0.6.0 Changes

    2020-01-21

    ๐Ÿš€ Special thanks to Lachlan Patrick for contributing to this release.

    • โž• Adds Reverse methods, which reverses the order of each geometry's control points.

    • โž• Adds SignedArea methods, which calculate the signed area of geometries. The signed area takes into consideration winding order, and produces either a negative or positive result for non-empty areal geometries.

  • v0.5.0 Changes

    2020-01-17

    • ๐Ÿ›  Fixes a bug where polygons with nested rings would erroneously be reported as valid.

    • ๐ŸŽ Performance improvements have been made to Polygon and MultiPolygon validation. The algorithms used now have sub-quadratic time complexity, and memory allocations have been significantly reduced.