All notable changes to this project will be documented in this file.
v0.7.1 - 2022-05-16
No changes
The v0.7.0 tag was updated since it initially pointed to the wrong commit. This is causing caching issues.
v0.7.0 - 2022-05-10
This tag is broken, please use v0.7.1 instead.
-
tilecover now returns an error (vs. panicing) on non-closed 2d geometry by @paulmach in paulmach#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) }
v0.6.0 - 2022-05-04
- geo: add correctly spelled LengthHaversine by @paulmach in paulmach#97
- geojson: add support for "external" json encoders/decoders by @paulmach in paulmach#98
- Add ewkb encoding/decoding support by @paulmach in paulmach#88
v0.5.0 - 2022-04-06
- encoding/mvt: stable marshalling by @travisgrigsby in paulmach#93
- encoding/mvt: support mvt marshal for GeometryCollection by @dadadamarine in paulmach#89
- quadtree: fix cleanup of nodes during removal by @paulmach in paulmach#94
- encoding/wkt: various code improvements by @paulmach in paulmach#95
- update protoscan to 0.2.1 by @paulmach in paulmach#83
v0.4.0 - 2021-11-11
- geo: Add functions to calculate points based on distance and bearing by @thzinc in paulmach#76
- encoding/mvt: avoid reflect nil value by @nicklasaven in paulmach#78
v0.3.0 - 2021-10-16
- quadtree: sort KNearest results closest first by @paulmach in paulmach#75
- ring: require >=4 points to return true when calling Closed() by @missinglink in paulmach#70
- encoding/mvt: verify tile coord does not overflow for z > 20 by @paulmach in paulmach#74
- quadtree: Address panic-ing quadtree.Matching(…) method when finding no closest node by @willsalz in paulmach#73
v0.2.2 - 2021-06-05
- Dependency resolution problems in some cases, issue paulmach#65, pr paulmach#66
v0.2.1 - 2021-01-16
- encoding/mvt: upgrade protoscan v0.1 -> v0.2
ad31566
- encoding/mvt: remove github.com/pkg/errors as a dependency
d2e235
-
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 liketype MyFeatureCollection struct { geojson.FeatureCollection Title string `json:"title"` }
The above will no longer work in this release and it never supported marshalling. See paulmach#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 paulmach#38 and paulmach#58 for more details.
- encoding/mvt: faster unmarshalling for Mapbox Vector Tiles (MVT) see paulmach#57