Types and utilities for working with 2d geometry in Golang
Full Changelog: https://github.com/paulmach/orb/compare/v0.4.0...v0.5.0
Full Changelog: https://github.com/paulmach/orb/compare/v0.3.0...v0.4.0
Full Changelog: https://github.com/paulmach/orb/compare/v0.2.2...v0.3.0
Fixed issue with dependency resolution in some cases, issue https://github.com/paulmach/orb/issues/65, pr https://github.com/paulmach/orb/pull/66
update some dependencies
This release has breaking changes involving some GeoJSON edge cases.
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.
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
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
See https://github.com/paulmach/orb/issues/36 and https://github.com/paulmach/orb/pull/37 for details