orb

Types and utilities for working with 2d geometry in Golang

MIT License

Stars
902
Committers
24
orb - v0.11.1 Latest Release

Published by paulmach 9 months ago

What's Changed

Full Changelog: https://github.com/paulmach/orb/compare/v0.11.0...v0.11.1

orb - v0.11.0

Published by paulmach 10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/paulmach/orb/compare/v0.10.0...v0.11.0

orb - v0.10.0

Published by paulmach over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/paulmach/orb/compare/v0.9.2...v0.10.0

orb - v0.9.2

Published by paulmach over 1 year ago

What's Changed

Full Changelog: https://github.com/paulmach/orb/compare/v0.9.1...v0.9.2

orb - v0.9.1

Published by paulmach over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/paulmach/orb/compare/v0.9.0...v0.9.1

orb - v0.9.0

Published by paulmach over 1 year ago

What's Changed

Full Changelog: https://github.com/paulmach/orb/compare/v0.8.0...v0.9.0

orb - v0.8.0

Published by paulmach almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/paulmach/orb/compare/v0.7.1...v0.8.0

orb - v0.7.1

Published by paulmach over 2 years ago

v0.7.0 initially pointed to the wrong commit. After moving the tag there are some caching issues in GitHub actions. I hope this clears up the issue.

orb - v0.7.0

Published by paulmach over 2 years ago

Breaking Change

  • tilecover now returns an error (vs. panicing) on non-closed 2d geometry by @paulmach in https://github.com/paulmach/orb/pull/87

    This changes the signature of many of the methods in the maptile/tilecover package.
    To emulate the old behavior replace:

    tiles := tilecover.Geometry(poly, zoom)
    

    with

    tiles, err := tilecover.Geometry(poly, zoom)
    if err != nil {
    	panic(err)
    }
    

Full Changelog: https://github.com/paulmach/orb/compare/v0.6.0...v0.7.0

orb - v0.6.0

Published by paulmach over 2 years ago

What's Changed

Full Changelog: https://github.com/paulmach/orb/compare/v0.5.0...v0.6.0

orb - v0.5.0

Published by paulmach over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/paulmach/orb/compare/v0.4.0...v0.5.0

orb - v0.4.0

Published by paulmach almost 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/paulmach/orb/compare/v0.3.0...v0.4.0

orb - v0.3.0

Published by paulmach about 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/paulmach/orb/compare/v0.2.2...v0.3.0

orb - v0.2.2

Published by paulmach over 3 years ago

Fixed issue with dependency resolution in some cases, issue https://github.com/paulmach/orb/issues/65, pr https://github.com/paulmach/orb/pull/66

orb -

Published by paulmach almost 4 years ago

update some dependencies

orb - v0.2

Published by paulmach almost 4 years ago

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 https://github.com/paulmach/orb/pull/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 https://github.com/paulmach/orb/issues/38 and https://github.com/paulmach/orb/pull/58 for more details.

This release also includes faster unmarshalling for Mapbox Vector Tiles (MVT) see https://github.com/paulmach/orb/pull/57

9 commits https://github.com/paulmach/orb/compare/v0.1.7...v0.2

orb - Release v0.1.7

Published by paulmach almost 4 years ago

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

14 commits https://github.com/paulmach/orb/compare/v0.1.6...v0.1.7

orb - Fix UnmarshalFeature GeometryCollection cannot unmarshal

Published by paulmach over 4 years ago

orb - add go.mod and go.sum files

Published by paulmach about 5 years ago