Skip to content

Releases: paulmach/orb

v0.5.0

06 Apr 23:20
215f32c
Compare
Choose a tag to compare

What's Changed

  • update protoscan to 0.2.1 by @paulmach in #83
  • encoding/mvt: stable marshalling by @travisgrigsby in #93
  • encoding/mvt: support mvt marshal for GeometryCollection by @dadadamarine in #89
  • quadtree: fix cleanup of nodes during removal by @paulmach in #94
  • encoding/wkt: various code improvements by @paulmach in #95

New Contributors

  • @travisgrigsby made their first contribution in #93
  • @dadadamarine made their first contribution in #89

Full Changelog: v0.4.0...v0.5.0

v0.4.0

12 Nov 04:05
151ae31
Compare
Choose a tag to compare

What's Changed

  • avoid reflect nil value by @nicklasaven in #78
  • Add functions to calculate points based on distance and bearing by @thzinc in #76

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

16 Oct 19:52
59d7b22
Compare
Choose a tag to compare

What's Changed

  • ring: require >=4 points to return true when calling Closed() by @missinglink in #70
  • Address panic-ing quadtree.Matching(…) method when finding no closest node by @willsalz in #73
  • encoding/mvt: verify tile coord does not overflow for z > 20 by @paulmach in #74
  • quadtree: sort KNearest results closest first by @paulmach in #75

New Contributors

Full Changelog: v0.2.2...v0.3.0

v0.2.2

06 Jun 02:53
ba1cf20
Compare
Choose a tag to compare

Fixed issue with dependency resolution in some cases, issue #65, pr #66

v0.2.1

17 Jan 00:10
d2e2352
Compare
Choose a tag to compare

update some dependencies

  • encoding/mvt: upgrade protoscan v0.1 -> v0.2 ad31566
  • encoding/mvt: remove github.com/pkg/errors as a dependency d2e2352

v0.2

16 Jan 23:34
c6d2869
Compare
Choose a tag to compare

This release has breaking changes involving some GeoJSON edge cases.

  1. Foreign Members in Feature Collections

    Extra attributes in a feature collection object will now be put into featureCollection.ExtraMembers. Similarly, stuff in `ExtraMembers will be marshalled into the feature collection base. The break happens if you were decoding these foreign members using something like

    type MyFeatureCollection struct {
        geojson.FeatureCollection
        Title string `json:"title"`
    }

    The above will no longer work in this release and it never supported marshalling. See #56 for more details.

  2. Features with nil/missing geometry will no longer return an errors

    Previously missing or invalid geometry in a feature collection would return a ErrInvalidGeometry error. However missing geometry is compliant with section 3.2 of the spec. See #38 and #58 for more details.

This release also includes faster unmarshalling for Mapbox Vector Tiles (MVT) see #57

9 commits v0.1.7...v0.2

Release v0.1.7

05 Nov 17:49
bc42fc7
Compare
Choose a tag to compare

A few bug fixes along with major improvements to WKB scanning speed. Highlights:

  • 23fc488 - wkb: new fast path for scan/unmarshal, bypass reader interface overhead.
  • 9d82907 - wkb: support mysql data prefixed by 4 byte srid
  • 5e61823 - fix panics in geojson decoding
  • and more...

14 commits v0.1.6...v0.1.7

Fix UnmarshalFeature GeometryCollection cannot unmarshal

05 Apr 17:38
Compare
Choose a tag to compare
- GeometryCollection cannot unmarshal

Fix wkb scanner when using go-pg

24 Sep 05:21
Compare
Choose a tag to compare

add go.mod and go.sum files

16 Sep 02:30
Compare
Choose a tag to compare
v0.1.4

add go.mod