diff --git a/.travis.yml b/.travis.yml index ad3e52f..e299e6a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ go: - 'tip' install: - - go get -v github.com/paulmach/orb/... + - go get -v github.com/planetfederal/orb/... - go install -v - go test -i ./... diff --git a/README.md b/README.md index 05b0d5b..d8c7861 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -orb [![Build Status](https://travis-ci.org/paulmach/orb.svg?branch=master)](https://travis-ci.org/paulmach/orb) [![Coverage Status](https://coveralls.io/repos/github/paulmach/orb/badge.svg?branch=master)](https://coveralls.io/github/paulmach/orb?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/paulmach/orb)](https://goreportcard.com/report/github.com/paulmach/orb) [![Godoc Reference](https://godoc.org/github.com/paulmach/orb?status.svg)](https://godoc.org/github.com/paulmach/orb) +orb [![Build Status](https://travis-ci.org/paulmach/orb.svg?branch=master)](https://travis-ci.org/paulmach/orb) [![Coverage Status](https://coveralls.io/repos/github/paulmach/orb/badge.svg?branch=master)](https://coveralls.io/github/paulmach/orb?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/planetfederal/orb)](https://goreportcard.com/report/github.com/planetfederal/orb) [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb?status.svg)](https://godoc.org/github.com/planetfederal/orb) ====== Package `orb` defines a set of types for working with 2d geo and planar/projected geometric data in Golang. diff --git a/clip/README.md b/clip/README.md index e5421a3..15f5e4e 100644 --- a/clip/README.md +++ b/clip/README.md @@ -1,4 +1,4 @@ -orb/clip [![Godoc Reference](https://godoc.org/github.com/paulmach/orb/clip?status.svg)](https://godoc.org/github.com/paulmach/orb/clip) +orb/clip [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb/clip?status.svg)](https://godoc.org/github.com/planetfederal/orb/clip) ======== Package orb/clip provides functions for clipping lines and polygons to a bounding box. diff --git a/clip/clip.go b/clip/clip.go index b64fda3..2d4a600 100644 --- a/clip/clip.go +++ b/clip/clip.go @@ -1,7 +1,7 @@ package clip import ( - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // Code based on https://github.com/mapbox/lineclip diff --git a/clip/clip_test.go b/clip/clip_test.go index 496b054..ba806a2 100644 --- a/clip/clip_test.go +++ b/clip/clip_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestInternalLine(t *testing.T) { diff --git a/clip/example_test.go b/clip/example_test.go index a33c646..e0df32c 100644 --- a/clip/example_test.go +++ b/clip/example_test.go @@ -3,8 +3,8 @@ package clip_test import ( "fmt" - "github.com/paulmach/orb" - "github.com/paulmach/orb/clip" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/clip" ) func ExampleGeometry() { diff --git a/clip/helpers.go b/clip/helpers.go index 7be4fb7..cda64bc 100644 --- a/clip/helpers.go +++ b/clip/helpers.go @@ -5,7 +5,7 @@ import ( "fmt" "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // Geometry will clip the geometry to the bounding box using the diff --git a/clip/helpers_test.go b/clip/helpers_test.go index 206af16..12e8266 100644 --- a/clip/helpers_test.go +++ b/clip/helpers_test.go @@ -3,7 +3,7 @@ package clip import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestGeometry(t *testing.T) { diff --git a/clip/smartclip/around_bound.go b/clip/smartclip/around_bound.go index 6e6f3dd..71ad503 100644 --- a/clip/smartclip/around_bound.go +++ b/clip/smartclip/around_bound.go @@ -3,7 +3,7 @@ package smartclip import ( "sort" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // aroundBound will connect the endpoints of the linestring provided diff --git a/clip/smartclip/around_bound_test.go b/clip/smartclip/around_bound_test.go index c2ca63c..8cf9e5f 100644 --- a/clip/smartclip/around_bound_test.go +++ b/clip/smartclip/around_bound_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestNexts(t *testing.T) { diff --git a/clip/smartclip/smart.go b/clip/smartclip/smart.go index 4d7ded1..c32f63d 100644 --- a/clip/smartclip/smart.go +++ b/clip/smartclip/smart.go @@ -6,8 +6,8 @@ import ( "fmt" "sort" - "github.com/paulmach/orb" - "github.com/paulmach/orb/clip" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/clip" ) // Geometry will do a smart more involved clipping and wrapping of the geometry. diff --git a/clip/smartclip/smart_test.go b/clip/smartclip/smart_test.go index 8b6ca7c..131df4a 100644 --- a/clip/smartclip/smart_test.go +++ b/clip/smartclip/smart_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestSmartClip(t *testing.T) { diff --git a/clip/smartclip/util_test.go b/clip/smartclip/util_test.go index 57c5882..c3d3c1c 100644 --- a/clip/smartclip/util_test.go +++ b/clip/smartclip/util_test.go @@ -1,7 +1,7 @@ package smartclip import ( - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) var flips = []string{ diff --git a/encoding/mvt/README.md b/encoding/mvt/README.md index 6ef3d01..e16e041 100644 --- a/encoding/mvt/README.md +++ b/encoding/mvt/README.md @@ -1,4 +1,4 @@ -encoding/mvt [![Godoc Reference](https://godoc.org/github.com/paulmach/orb?status.svg)](https://godoc.org/github.com/paulmach/orb/encoding/mvt) +encoding/mvt [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb?status.svg)](https://godoc.org/github.com/planetfederal/orb/encoding/mvt) ============ Package mvt provides functions for encoding and decoding diff --git a/encoding/mvt/clip.go b/encoding/mvt/clip.go index 2e8cf62..7f0a25a 100644 --- a/encoding/mvt/clip.go +++ b/encoding/mvt/clip.go @@ -1,8 +1,8 @@ package mvt import ( - "github.com/paulmach/orb" - "github.com/paulmach/orb/clip" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/clip" ) var ( diff --git a/encoding/mvt/clip_test.go b/encoding/mvt/clip_test.go index 442070e..b08b000 100644 --- a/encoding/mvt/clip_test.go +++ b/encoding/mvt/clip_test.go @@ -1,8 +1,8 @@ package mvt import ( - "github.com/paulmach/orb" - "github.com/paulmach/orb/geojson" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/geojson" "reflect" "testing" ) diff --git a/encoding/mvt/example_test.go b/encoding/mvt/example_test.go index a2a5901..979efe2 100644 --- a/encoding/mvt/example_test.go +++ b/encoding/mvt/example_test.go @@ -3,10 +3,10 @@ package mvt_test import ( "log" - "github.com/paulmach/orb/encoding/mvt" - "github.com/paulmach/orb/geojson" - "github.com/paulmach/orb/maptile" - "github.com/paulmach/orb/simplify" + "github.com/planetfederal/orb/encoding/mvt" + "github.com/planetfederal/orb/geojson" + "github.com/planetfederal/orb/maptile" + "github.com/planetfederal/orb/simplify" ) func ExampleMarshal() { diff --git a/encoding/mvt/geometry.go b/encoding/mvt/geometry.go index c2f766d..5864de8 100644 --- a/encoding/mvt/geometry.go +++ b/encoding/mvt/geometry.go @@ -5,8 +5,8 @@ import ( "fmt" "reflect" - "github.com/paulmach/orb" - "github.com/paulmach/orb/encoding/mvt/vectortile" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/encoding/mvt/vectortile" "github.com/pkg/errors" ) diff --git a/encoding/mvt/geometry_test.go b/encoding/mvt/geometry_test.go index c98b3fa..b54be99 100644 --- a/encoding/mvt/geometry_test.go +++ b/encoding/mvt/geometry_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/encoding/mvt/vectortile" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/encoding/mvt/vectortile" ) func TestGeometry_Point(t *testing.T) { diff --git a/encoding/mvt/layer.go b/encoding/mvt/layer.go index 7466813..d98363d 100644 --- a/encoding/mvt/layer.go +++ b/encoding/mvt/layer.go @@ -1,9 +1,9 @@ package mvt import ( - "github.com/paulmach/orb/geojson" - "github.com/paulmach/orb/maptile" - "github.com/paulmach/orb/project" + "github.com/planetfederal/orb/geojson" + "github.com/planetfederal/orb/maptile" + "github.com/planetfederal/orb/project" ) const ( diff --git a/encoding/mvt/marshal.go b/encoding/mvt/marshal.go index 64a0369..9a9965e 100644 --- a/encoding/mvt/marshal.go +++ b/encoding/mvt/marshal.go @@ -7,8 +7,8 @@ import ( "io/ioutil" "strconv" - "github.com/paulmach/orb/encoding/mvt/vectortile" - "github.com/paulmach/orb/geojson" + "github.com/planetfederal/orb/encoding/mvt/vectortile" + "github.com/planetfederal/orb/geojson" "github.com/gogo/protobuf/proto" "github.com/pkg/errors" diff --git a/encoding/mvt/marshal_test.go b/encoding/mvt/marshal_test.go index c405982..53f226b 100644 --- a/encoding/mvt/marshal_test.go +++ b/encoding/mvt/marshal_test.go @@ -8,10 +8,10 @@ import ( "reflect" "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/encoding/mvt/vectortile" - "github.com/paulmach/orb/geojson" - "github.com/paulmach/orb/maptile" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/encoding/mvt/vectortile" + "github.com/planetfederal/orb/geojson" + "github.com/planetfederal/orb/maptile" ) func TestMarshalMarshalGzipped_Full(t *testing.T) { diff --git a/encoding/mvt/projection.go b/encoding/mvt/projection.go index 2cd3da0..22dde03 100644 --- a/encoding/mvt/projection.go +++ b/encoding/mvt/projection.go @@ -4,9 +4,9 @@ import ( "math" "math/bits" - "github.com/paulmach/orb" - "github.com/paulmach/orb/internal/mercator" - "github.com/paulmach/orb/maptile" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/internal/mercator" + "github.com/planetfederal/orb/maptile" ) type projection struct { diff --git a/encoding/mvt/projection_test.go b/encoding/mvt/projection_test.go index d15a0d5..04607ba 100644 --- a/encoding/mvt/projection_test.go +++ b/encoding/mvt/projection_test.go @@ -3,8 +3,8 @@ package mvt import ( "testing" - "github.com/paulmach/orb/maptile" - "github.com/paulmach/orb/project" + "github.com/planetfederal/orb/maptile" + "github.com/planetfederal/orb/project" ) func TestNonPowerOfTwoProjection(t *testing.T) { diff --git a/encoding/mvt/simplify.go b/encoding/mvt/simplify.go index 2fe1253..f1c834f 100644 --- a/encoding/mvt/simplify.go +++ b/encoding/mvt/simplify.go @@ -1,8 +1,8 @@ package mvt import ( - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" ) // Simplify will run all the geometry of all the layers through the provided simplifer. diff --git a/encoding/mvt/simplify_test.go b/encoding/mvt/simplify_test.go index b7b873a..cb3a4df 100644 --- a/encoding/mvt/simplify_test.go +++ b/encoding/mvt/simplify_test.go @@ -3,9 +3,9 @@ package mvt import ( "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/geojson" - "github.com/paulmach/orb/simplify" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/geojson" + "github.com/planetfederal/orb/simplify" ) func TestLayerSimplify(t *testing.T) { diff --git a/encoding/wkb/README.md b/encoding/wkb/README.md index bc9015c..7d6a03f 100644 --- a/encoding/wkb/README.md +++ b/encoding/wkb/README.md @@ -1,4 +1,4 @@ -encoding/wkb [![Godoc Reference](https://godoc.org/github.com/paulmach/orb?status.svg)](https://godoc.org/github.com/paulmach/orb/encoding/wkb) +encoding/wkb [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb?status.svg)](https://godoc.org/github.com/planetfederal/orb/encoding/wkb) ============ This package provides encoding and decoding of [WKB](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry#Well-known_binary) diff --git a/encoding/wkb/collection.go b/encoding/wkb/collection.go index 21cf7c4..258c567 100644 --- a/encoding/wkb/collection.go +++ b/encoding/wkb/collection.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "io" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func readCollection(r io.Reader, bom binary.ByteOrder) (orb.Collection, error) { diff --git a/encoding/wkb/collection_test.go b/encoding/wkb/collection_test.go index 78e86dd..bebff1b 100644 --- a/encoding/wkb/collection_test.go +++ b/encoding/wkb/collection_test.go @@ -3,7 +3,7 @@ package wkb import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) var ( diff --git a/encoding/wkb/line_string.go b/encoding/wkb/line_string.go index 03f4bcc..76812ca 100644 --- a/encoding/wkb/line_string.go +++ b/encoding/wkb/line_string.go @@ -6,7 +6,7 @@ import ( "io" "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func readLineString(r io.Reader, bom binary.ByteOrder) (orb.LineString, error) { diff --git a/encoding/wkb/line_string_test.go b/encoding/wkb/line_string_test.go index 9603e22..933c913 100644 --- a/encoding/wkb/line_string_test.go +++ b/encoding/wkb/line_string_test.go @@ -3,7 +3,7 @@ package wkb import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) var ( diff --git a/encoding/wkb/point.go b/encoding/wkb/point.go index d8162fa..8eee87a 100644 --- a/encoding/wkb/point.go +++ b/encoding/wkb/point.go @@ -6,7 +6,7 @@ import ( "io" "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func readPoint(r io.Reader, bom binary.ByteOrder) (orb.Point, error) { diff --git a/encoding/wkb/point_test.go b/encoding/wkb/point_test.go index 39ee170..5e5ed58 100644 --- a/encoding/wkb/point_test.go +++ b/encoding/wkb/point_test.go @@ -3,7 +3,7 @@ package wkb import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) var ( diff --git a/encoding/wkb/polygon.go b/encoding/wkb/polygon.go index 5408a29..0434a19 100644 --- a/encoding/wkb/polygon.go +++ b/encoding/wkb/polygon.go @@ -6,7 +6,7 @@ import ( "io" "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func readPolygon(r io.Reader, bom binary.ByteOrder) (orb.Polygon, error) { diff --git a/encoding/wkb/polygon_test.go b/encoding/wkb/polygon_test.go index 7b12aa1..ed2e591 100644 --- a/encoding/wkb/polygon_test.go +++ b/encoding/wkb/polygon_test.go @@ -3,7 +3,7 @@ package wkb import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) var ( diff --git a/encoding/wkb/scanner.go b/encoding/wkb/scanner.go index 6c3db5a..6e9988d 100644 --- a/encoding/wkb/scanner.go +++ b/encoding/wkb/scanner.go @@ -7,7 +7,7 @@ import ( "errors" "fmt" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) var ( diff --git a/encoding/wkb/scanner_test.go b/encoding/wkb/scanner_test.go index fde4c53..f9a67ce 100644 --- a/encoding/wkb/scanner_test.go +++ b/encoding/wkb/scanner_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestScanNil(t *testing.T) { diff --git a/encoding/wkb/wkb.go b/encoding/wkb/wkb.go index 97a434c..4535480 100644 --- a/encoding/wkb/wkb.go +++ b/encoding/wkb/wkb.go @@ -7,7 +7,7 @@ import ( "encoding/binary" "io" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) const ( diff --git a/encoding/wkb/wkb_test.go b/encoding/wkb/wkb_test.go index 6e5ea54..c5b77fd 100644 --- a/encoding/wkb/wkb_test.go +++ b/encoding/wkb/wkb_test.go @@ -6,7 +6,7 @@ import ( "io/ioutil" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestMarshal(t *testing.T) { diff --git a/encoding/wkt/wkt.go b/encoding/wkt/wkt.go index 84373c6..9261cc0 100644 --- a/encoding/wkt/wkt.go +++ b/encoding/wkt/wkt.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // MarshalString returns a WKT representation of the Geometry if possible. diff --git a/encoding/wkt/wkt_test.go b/encoding/wkt/wkt_test.go index eb10e3f..14b4674 100644 --- a/encoding/wkt/wkt_test.go +++ b/encoding/wkt/wkt_test.go @@ -3,7 +3,7 @@ package wkt import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestMarshalString(t *testing.T) { diff --git a/geo/README.md b/geo/README.md index 335bcef..50a41f5 100644 --- a/geo/README.md +++ b/geo/README.md @@ -1,4 +1,4 @@ -orb/geo [![Godoc Reference](https://godoc.org/github.com/paulmach/orb/geo?status.svg)](https://godoc.org/github.com/paulmach/orb/geo) +orb/geo [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb/geo?status.svg)](https://godoc.org/github.com/planetfederal/orb/geo) ======= The geometries defined in the `orb` package are generic 2d geometries. diff --git a/geo/area.go b/geo/area.go index 4cf5d17..c79934a 100644 --- a/geo/area.go +++ b/geo/area.go @@ -5,7 +5,7 @@ import ( "fmt" "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // Area returns the area of the geometry on the earth. diff --git a/geo/area_test.go b/geo/area_test.go index cbcc7a9..2aabdfe 100644 --- a/geo/area_test.go +++ b/geo/area_test.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestArea(t *testing.T) { diff --git a/geo/bound.go b/geo/bound.go index d9c1c29..52cc684 100644 --- a/geo/bound.go +++ b/geo/bound.go @@ -3,7 +3,7 @@ package geo import ( "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // NewBoundAroundPoint creates a new bound given a center point, diff --git a/geo/bound_test.go b/geo/bound_test.go index 613d5ce..d03d9f6 100644 --- a/geo/bound_test.go +++ b/geo/bound_test.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestBoundAroundPoint(t *testing.T) { diff --git a/geo/distance.go b/geo/distance.go index 44d81b5..24e3af2 100644 --- a/geo/distance.go +++ b/geo/distance.go @@ -3,7 +3,7 @@ package geo import ( "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // Distance returns the distance between two points on the earth. diff --git a/geo/distance_test.go b/geo/distance_test.go index af82a4b..65e4fd5 100644 --- a/geo/distance_test.go +++ b/geo/distance_test.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) var epsilon = 1e-6 diff --git a/geo/example_test.go b/geo/example_test.go index f7bb5e7..1431a4a 100644 --- a/geo/example_test.go +++ b/geo/example_test.go @@ -3,8 +3,8 @@ package geo_test import ( "fmt" - "github.com/paulmach/orb" - "github.com/paulmach/orb/geo" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/geo" ) func ExampleArea() { diff --git a/geo/length.go b/geo/length.go index 371fa4f..0413ef4 100644 --- a/geo/length.go +++ b/geo/length.go @@ -1,8 +1,8 @@ package geo import ( - "github.com/paulmach/orb" - "github.com/paulmach/orb/internal/length" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/internal/length" ) // Length returns the length of the boundary of the geometry diff --git a/geo/length_test.go b/geo/length_test.go index 6abc5bc..1dda2a5 100644 --- a/geo/length_test.go +++ b/geo/length_test.go @@ -3,7 +3,7 @@ package geo import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestLength(t *testing.T) { diff --git a/geojson/README.md b/geojson/README.md index de7095c..a9206c0 100644 --- a/geojson/README.md +++ b/geojson/README.md @@ -1,8 +1,8 @@ -orb/geojson [![Godoc Reference](https://godoc.org/github.com/paulmach/orb/geojson?status.svg)](https://godoc.org/github.com/paulmach/orb/geojson) +orb/geojson [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb/geojson?status.svg)](https://godoc.org/github.com/planetfederal/orb/geojson) =========== This package **encodes and decodes** [GeoJSON](http://geojson.org/) into Go structs -using the geometries in the [orb](https://github.com/paulmach/orb) package. +using the geometries in the [orb](https://github.com/planetfederal/orb) package. Supports both the [json.Marshaler](http://golang.org/pkg/encoding/json/#Marshaler) and [json.Unmarshaler](http://golang.org/pkg/encoding/json/#Unmarshaler) interfaces. The package also provides helper functions such as `UnmarshalFeatureCollection` and `UnmarshalFeature`. diff --git a/geojson/bbox.go b/geojson/bbox.go index cd2c45e..8264dc1 100644 --- a/geojson/bbox.go +++ b/geojson/bbox.go @@ -1,6 +1,6 @@ package geojson -import "github.com/paulmach/orb" +import "github.com/planetfederal/orb" // BBox is for the geojson bbox attribute which is an array with all axes // of the most southwesterly point followed by all axes of the more northeasterly point. diff --git a/geojson/bbox_test.go b/geojson/bbox_test.go index 7d18d7a..a8df4c1 100644 --- a/geojson/bbox_test.go +++ b/geojson/bbox_test.go @@ -3,7 +3,7 @@ package geojson import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestBBoxValid(t *testing.T) { diff --git a/geojson/example_pointer_test.go b/geojson/example_pointer_test.go index ba7239d..49cb901 100644 --- a/geojson/example_pointer_test.go +++ b/geojson/example_pointer_test.go @@ -3,10 +3,10 @@ package geojson_test import ( "fmt" - "github.com/paulmach/orb" - "github.com/paulmach/orb/geojson" - "github.com/paulmach/orb/planar" - "github.com/paulmach/orb/quadtree" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/geojson" + "github.com/planetfederal/orb/planar" + "github.com/planetfederal/orb/quadtree" ) type CentroidPoint struct { diff --git a/geojson/example_test.go b/geojson/example_test.go index 4ee0f3b..6ca1d6e 100644 --- a/geojson/example_test.go +++ b/geojson/example_test.go @@ -5,9 +5,9 @@ import ( "fmt" "log" - "github.com/paulmach/orb" - "github.com/paulmach/orb/geojson" - "github.com/paulmach/orb/quadtree" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/geojson" + "github.com/planetfederal/orb/quadtree" ) func ExampleFeature_Point() { diff --git a/geojson/feature.go b/geojson/feature.go index 33a439a..0b429dd 100644 --- a/geojson/feature.go +++ b/geojson/feature.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // A Feature corresponds to GeoJSON feature object diff --git a/geojson/feature_collection_test.go b/geojson/feature_collection_test.go index 2957010..c96eaea 100644 --- a/geojson/feature_collection_test.go +++ b/geojson/feature_collection_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestNewFeatureCollection(t *testing.T) { diff --git a/geojson/feature_test.go b/geojson/feature_test.go index 726d39d..e27aabc 100644 --- a/geojson/feature_test.go +++ b/geojson/feature_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestNewFeature(t *testing.T) { diff --git a/geojson/geometry.go b/geojson/geometry.go index 9390f6d..02e47bb 100644 --- a/geojson/geometry.go +++ b/geojson/geometry.go @@ -4,7 +4,7 @@ import ( "encoding/json" "errors" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // ErrInvalidGeometry will be returned if a the json of the geometry is invalid. diff --git a/geojson/geometry_test.go b/geojson/geometry_test.go index 2114e20..6d2966d 100644 --- a/geojson/geometry_test.go +++ b/geojson/geometry_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestGeometry(t *testing.T) { diff --git a/go.mod b/go.mod index 531caa4..c030d1c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/paulmach/orb +module github.com/planetfederal/orb go 1.13 diff --git a/internal/length/length.go b/internal/length/length.go index 62e5f50..c221d4e 100644 --- a/internal/length/length.go +++ b/internal/length/length.go @@ -3,7 +3,7 @@ package length import ( "fmt" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // Length returns the length of the boundary of the geometry diff --git a/internal/length/length_test.go b/internal/length/length_test.go index d4fc49b..cf34241 100644 --- a/internal/length/length_test.go +++ b/internal/length/length_test.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func Distance(a, b orb.Point) float64 { diff --git a/maptile/README.md b/maptile/README.md index 684872d..5dcea0d 100644 --- a/maptile/README.md +++ b/maptile/README.md @@ -1,4 +1,4 @@ -orb/tile [![Godoc Reference](https://godoc.org/github.com/paulmach/orb/maptile?status.svg)](https://godoc.org/github.com/paulmach/orb/maptile) +orb/tile [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb/maptile?status.svg)](https://godoc.org/github.com/planetfederal/orb/maptile) ======== Package orb/maptile provides types and methods for working with diff --git a/maptile/set.go b/maptile/set.go index b56428b..2734a61 100644 --- a/maptile/set.go +++ b/maptile/set.go @@ -1,7 +1,7 @@ package maptile import ( - "github.com/paulmach/orb/geojson" + "github.com/planetfederal/orb/geojson" ) // Set is a map/hash of tiles. diff --git a/maptile/tile.go b/maptile/tile.go index 6e7e2d6..13a770a 100644 --- a/maptile/tile.go +++ b/maptile/tile.go @@ -6,9 +6,9 @@ import ( "math" "math/bits" - "github.com/paulmach/orb" - "github.com/paulmach/orb/geojson" - "github.com/paulmach/orb/internal/mercator" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/geojson" + "github.com/planetfederal/orb/internal/mercator" ) // Tiles is a set of tiles, later we can add methods to this. diff --git a/maptile/tile_test.go b/maptile/tile_test.go index 68eb6ad..cde1dfa 100644 --- a/maptile/tile_test.go +++ b/maptile/tile_test.go @@ -5,8 +5,8 @@ import ( "math" "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/internal/mercator" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/internal/mercator" ) func TestQuadKey(t *testing.T) { diff --git a/maptile/tilecover/README.md b/maptile/tilecover/README.md index 8d2ef0f..2b9c43a 100644 --- a/maptile/tilecover/README.md +++ b/maptile/tilecover/README.md @@ -1,4 +1,4 @@ -orb/maptile/tilecover [![Godoc Reference](https://godoc.org/github.com/paulmach/orb/maptile/tilecover?status.png)](https://godoc.org/github.com/paulmach/orb/maptile/tilecover) +orb/maptile/tilecover [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb/maptile/tilecover?status.png)](https://godoc.org/github.com/planetfederal/orb/maptile/tilecover) ===================== Package `tilecover` computes the covering set of tiles for an `orb.Geometry`. diff --git a/maptile/tilecover/benchmarks_test.go b/maptile/tilecover/benchmarks_test.go index 4eb95da..da1f7ce 100644 --- a/maptile/tilecover/benchmarks_test.go +++ b/maptile/tilecover/benchmarks_test.go @@ -3,7 +3,7 @@ package tilecover import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func BenchmarkPoint(b *testing.B) { diff --git a/maptile/tilecover/cover_test.go b/maptile/tilecover/cover_test.go index 78c7029..159bc0e 100644 --- a/maptile/tilecover/cover_test.go +++ b/maptile/tilecover/cover_test.go @@ -8,11 +8,11 @@ import ( "strings" "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/geo" - "github.com/paulmach/orb/geojson" - "github.com/paulmach/orb/maptile" - "github.com/paulmach/orb/planar" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/geo" + "github.com/planetfederal/orb/geojson" + "github.com/planetfederal/orb/maptile" + "github.com/planetfederal/orb/planar" ) func TestTestdata(t *testing.T) { diff --git a/maptile/tilecover/helpers.go b/maptile/tilecover/helpers.go index 27b2392..48ed2e1 100644 --- a/maptile/tilecover/helpers.go +++ b/maptile/tilecover/helpers.go @@ -4,8 +4,8 @@ package tilecover import ( "fmt" - "github.com/paulmach/orb" - "github.com/paulmach/orb/maptile" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/maptile" ) // Geometry returns the covering set of tiles for the given geometry. diff --git a/maptile/tilecover/helpers_test.go b/maptile/tilecover/helpers_test.go index ba6def1..2ca4d78 100644 --- a/maptile/tilecover/helpers_test.go +++ b/maptile/tilecover/helpers_test.go @@ -3,7 +3,7 @@ package tilecover import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestGeometry(t *testing.T) { diff --git a/maptile/tilecover/line_string.go b/maptile/tilecover/line_string.go index 6265f20..1024f47 100644 --- a/maptile/tilecover/line_string.go +++ b/maptile/tilecover/line_string.go @@ -3,8 +3,8 @@ package tilecover import ( "math" - "github.com/paulmach/orb" - "github.com/paulmach/orb/maptile" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/maptile" ) // LineString creates a tile cover for the line string. diff --git a/maptile/tilecover/merge.go b/maptile/tilecover/merge.go index 727f0fc..2d3240b 100644 --- a/maptile/tilecover/merge.go +++ b/maptile/tilecover/merge.go @@ -1,6 +1,6 @@ package tilecover -import "github.com/paulmach/orb/maptile" +import "github.com/planetfederal/orb/maptile" // MergeUp will merge up the tiles in a given set up to the // the give min zoom. Tiles will be merged up only if all 4 siblings diff --git a/maptile/tilecover/merge_test.go b/maptile/tilecover/merge_test.go index 2da08b3..7541bdf 100644 --- a/maptile/tilecover/merge_test.go +++ b/maptile/tilecover/merge_test.go @@ -3,7 +3,7 @@ package tilecover import ( "testing" - "github.com/paulmach/orb/maptile" + "github.com/planetfederal/orb/maptile" ) func TestMergeUp(t *testing.T) { diff --git a/maptile/tilecover/polygon.go b/maptile/tilecover/polygon.go index eeb0408..4560217 100644 --- a/maptile/tilecover/polygon.go +++ b/maptile/tilecover/polygon.go @@ -3,8 +3,8 @@ package tilecover import ( "sort" - "github.com/paulmach/orb" - "github.com/paulmach/orb/maptile" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/maptile" ) // Ring creates a tile cover for the ring. diff --git a/planar/README.md b/planar/README.md index 6538caf..dd729e2 100644 --- a/planar/README.md +++ b/planar/README.md @@ -1,4 +1,4 @@ -orb/planar [![Godoc Reference](https://godoc.org/github.com/paulmach/planar/geo?status.svg)](https://godoc.org/github.com/paulmach/orb/planar) +orb/planar [![Godoc Reference](https://godoc.org/github.com/paulmach/planar/geo?status.svg)](https://godoc.org/github.com/planetfederal/orb/planar) ========== The geometries defined in the `orb` package are generic 2d geometries. diff --git a/planar/area.go b/planar/area.go index 0482bbd..c39867a 100644 --- a/planar/area.go +++ b/planar/area.go @@ -6,7 +6,7 @@ import ( "fmt" "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // Area returns the area of the geometry in the 2d plane. diff --git a/planar/area_test.go b/planar/area_test.go index 43f00e2..72734ea 100644 --- a/planar/area_test.go +++ b/planar/area_test.go @@ -3,7 +3,7 @@ package planar import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestCentroidArea(t *testing.T) { diff --git a/planar/contains.go b/planar/contains.go index fbfc455..d657398 100644 --- a/planar/contains.go +++ b/planar/contains.go @@ -3,7 +3,7 @@ package planar import ( "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // RingContains returns true if the point is inside the ring. diff --git a/planar/contains_test.go b/planar/contains_test.go index 1a30fff..199ada6 100644 --- a/planar/contains_test.go +++ b/planar/contains_test.go @@ -3,7 +3,7 @@ package planar import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestRingContains(t *testing.T) { diff --git a/planar/distance.go b/planar/distance.go index a0304a7..063cd7b 100644 --- a/planar/distance.go +++ b/planar/distance.go @@ -3,7 +3,7 @@ package planar import ( "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // Distance returns the distance between two points in 2d euclidean geometry. diff --git a/planar/distance_from.go b/planar/distance_from.go index da4fffc..fd17d76 100644 --- a/planar/distance_from.go +++ b/planar/distance_from.go @@ -4,7 +4,7 @@ import ( "fmt" "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // DistanceFromSegment returns the point's distance from the segment [a, b]. diff --git a/planar/distance_from_test.go b/planar/distance_from_test.go index 0c89f7f..f56091f 100644 --- a/planar/distance_from_test.go +++ b/planar/distance_from_test.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) var epsilon = 1e-6 diff --git a/planar/distance_test.go b/planar/distance_test.go index 38d403d..1ca6875 100644 --- a/planar/distance_test.go +++ b/planar/distance_test.go @@ -3,7 +3,7 @@ package planar import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestDistance(t *testing.T) { diff --git a/planar/example_test.go b/planar/example_test.go index 0cf83d9..64f409b 100644 --- a/planar/example_test.go +++ b/planar/example_test.go @@ -3,8 +3,8 @@ package planar_test import ( "fmt" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" ) func ExampleArea() { diff --git a/planar/length.go b/planar/length.go index 4eae415..8f3dd74 100644 --- a/planar/length.go +++ b/planar/length.go @@ -1,8 +1,8 @@ package planar import ( - "github.com/paulmach/orb" - "github.com/paulmach/orb/internal/length" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/internal/length" ) // Length returns the length of the boundary of the geometry diff --git a/planar/length_test.go b/planar/length_test.go index c0a6c0f..85c6344 100644 --- a/planar/length_test.go +++ b/planar/length_test.go @@ -3,7 +3,7 @@ package planar import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestLength(t *testing.T) { diff --git a/project/README.md b/project/README.md index e116803..a31a545 100644 --- a/project/README.md +++ b/project/README.md @@ -1,4 +1,4 @@ -orb/project [![Godoc Reference](https://godoc.org/github.com/paulmach/orb/project?status.svg)](https://godoc.org/github.com/paulmach/orb/project) +orb/project [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb/project?status.svg)](https://godoc.org/github.com/planetfederal/orb/project) =========== Package orb/project has helper function for projection geometries. diff --git a/project/define_test.go b/project/define_test.go index 9137ef4..302bdf3 100644 --- a/project/define_test.go +++ b/project/define_test.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/paulmach/orb/internal/mercator" + "github.com/planetfederal/orb/internal/mercator" ) func TestDefineDeg2Rad(t *testing.T) { diff --git a/project/example_test.go b/project/example_test.go index 8a58e08..f74c4c0 100644 --- a/project/example_test.go +++ b/project/example_test.go @@ -3,9 +3,9 @@ package project_test import ( "fmt" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" - "github.com/paulmach/orb/project" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" + "github.com/planetfederal/orb/project" ) func ExamplePoint_toMercator() { diff --git a/project/helpers.go b/project/helpers.go index 07db47b..4976aec 100644 --- a/project/helpers.go +++ b/project/helpers.go @@ -2,7 +2,7 @@ // along with helpers to apply them to orb geometry types. package project -import "github.com/paulmach/orb" +import "github.com/planetfederal/orb" // Geometry is a helper to project any geomtry. func Geometry(g orb.Geometry, proj orb.Projection) orb.Geometry { diff --git a/project/helpers_test.go b/project/helpers_test.go index 7dc0979..d864af3 100644 --- a/project/helpers_test.go +++ b/project/helpers_test.go @@ -3,7 +3,7 @@ package project import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestGeometry(t *testing.T) { diff --git a/project/projections.go b/project/projections.go index dce7d2d..c7a7a6b 100644 --- a/project/projections.go +++ b/project/projections.go @@ -4,7 +4,7 @@ import ( "fmt" "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) const earthRadiusPi = orb.EarthRadius * math.Pi diff --git a/project/projections_test.go b/project/projections_test.go index 947355a..64b98db 100644 --- a/project/projections_test.go +++ b/project/projections_test.go @@ -4,8 +4,8 @@ import ( "math" "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/internal/mercator" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/internal/mercator" ) func TestMercator(t *testing.T) { diff --git a/quadtree/README.md b/quadtree/README.md index 692c306..2f531e1 100644 --- a/quadtree/README.md +++ b/quadtree/README.md @@ -1,4 +1,4 @@ -orb/quadtree [![Godoc Reference](https://godoc.org/github.com/paulmach/orb/quadtree?status.svg)](https://godoc.org/github.com/paulmach/orb/quadtree) +orb/quadtree [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb/quadtree?status.svg)](https://godoc.org/github.com/planetfederal/orb/quadtree) ============ Package quadtree implements a quadtree using rectangular partitions. diff --git a/quadtree/benchmarks_test.go b/quadtree/benchmarks_test.go index 9227cc5..00fc8c5 100644 --- a/quadtree/benchmarks_test.go +++ b/quadtree/benchmarks_test.go @@ -5,8 +5,8 @@ import ( "math/rand" "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" ) func BenchmarkAdd(b *testing.B) { diff --git a/quadtree/example_test.go b/quadtree/example_test.go index 8a891a1..f0e5eb1 100644 --- a/quadtree/example_test.go +++ b/quadtree/example_test.go @@ -4,8 +4,8 @@ import ( "fmt" "math/rand" - "github.com/paulmach/orb" - "github.com/paulmach/orb/quadtree" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/quadtree" ) func ExampleQuadtree_Find() { diff --git a/quadtree/quadtree.go b/quadtree/quadtree.go index 9622b0b..a684ca9 100644 --- a/quadtree/quadtree.go +++ b/quadtree/quadtree.go @@ -9,8 +9,8 @@ import ( "errors" "math" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" ) var ( diff --git a/quadtree/quadtree_test.go b/quadtree/quadtree_test.go index 7417eb8..0b4066d 100644 --- a/quadtree/quadtree_test.go +++ b/quadtree/quadtree_test.go @@ -6,8 +6,8 @@ import ( "sort" "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" ) func TestNew(t *testing.T) { diff --git a/resample/README.md b/resample/README.md index 6264fc2..2f1ddd2 100644 --- a/resample/README.md +++ b/resample/README.md @@ -1,4 +1,4 @@ -orb/resample [![Godoc Reference](https://godoc.org/github.com/paulmach/orb/resample?status.svg)](https://godoc.org/github.com/paulmach/orb/resample) +orb/resample [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb/resample?status.svg)](https://godoc.org/github.com/planetfederal/orb/resample) ============ Package orb/resample has a couple functions for resampling line geometry diff --git a/resample/benchmarks_test.go b/resample/benchmarks_test.go index d67592d..459e16a 100644 --- a/resample/benchmarks_test.go +++ b/resample/benchmarks_test.go @@ -4,9 +4,9 @@ import ( "encoding/json" "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" - "github.com/paulmach/orb/resample" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" + "github.com/planetfederal/orb/resample" ) func BenchmarkToMorePoints(b *testing.B) { diff --git a/resample/example_test.go b/resample/example_test.go index 01c5a36..fe76f98 100644 --- a/resample/example_test.go +++ b/resample/example_test.go @@ -3,9 +3,9 @@ package resample_test import ( "fmt" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" - "github.com/paulmach/orb/resample" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" + "github.com/planetfederal/orb/resample" ) func ExampleResample() { diff --git a/resample/line_string.go b/resample/line_string.go index 1c73c67..3a4b205 100644 --- a/resample/line_string.go +++ b/resample/line_string.go @@ -3,7 +3,7 @@ package resample import ( - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) // Resample converts the line string into totalPoints-1 evenly spaced segments. diff --git a/resample/line_string_test.go b/resample/line_string_test.go index 60b3bd3..c48fdee 100644 --- a/resample/line_string_test.go +++ b/resample/line_string_test.go @@ -3,8 +3,8 @@ package resample import ( "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" ) func TestResample(t *testing.T) { diff --git a/simplify/README.md b/simplify/README.md index 5d917f0..c73d805 100644 --- a/simplify/README.md +++ b/simplify/README.md @@ -1,4 +1,4 @@ -orb/simplify [![Godoc Reference](https://godoc.org/github.com/paulmach/orb?status.svg)](https://godoc.org/github.com/paulmach/orb/simplify) +orb/simplify [![Godoc Reference](https://godoc.org/github.com/planetfederal/orb?status.svg)](https://godoc.org/github.com/planetfederal/orb/simplify) ============ This package implements several reducing/simplifing function for `orb.Geometry` types. diff --git a/simplify/benchmarks_test.go b/simplify/benchmarks_test.go index 7416c36..97f3226 100644 --- a/simplify/benchmarks_test.go +++ b/simplify/benchmarks_test.go @@ -5,8 +5,8 @@ import ( "os" "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" ) func TestDouglasPeucker_BenchmarkData(t *testing.T) { diff --git a/simplify/douglas_peucker.go b/simplify/douglas_peucker.go index 0cc8380..648072d 100644 --- a/simplify/douglas_peucker.go +++ b/simplify/douglas_peucker.go @@ -1,8 +1,8 @@ package simplify import ( - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" ) var _ orb.Simplifier = &DouglasPeuckerSimplifier{} diff --git a/simplify/douglas_peucker_test.go b/simplify/douglas_peucker_test.go index bed7b76..f9ac1d5 100644 --- a/simplify/douglas_peucker_test.go +++ b/simplify/douglas_peucker_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestDouglasPeucker(t *testing.T) { diff --git a/simplify/example_test.go b/simplify/example_test.go index d43888b..66d3def 100644 --- a/simplify/example_test.go +++ b/simplify/example_test.go @@ -3,9 +3,9 @@ package simplify_test import ( "fmt" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" - "github.com/paulmach/orb/simplify" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" + "github.com/planetfederal/orb/simplify" ) func ExampleDouglasPeuckerSimplifier() { diff --git a/simplify/helpers.go b/simplify/helpers.go index 3e6677e..8ef9356 100644 --- a/simplify/helpers.go +++ b/simplify/helpers.go @@ -1,7 +1,7 @@ // Package simplify implements several reducing/simplifying functions for `orb.Geometry` types. package simplify -import "github.com/paulmach/orb" +import "github.com/planetfederal/orb" type simplifier interface { simplify(orb.LineString, bool) (orb.LineString, []int) diff --git a/simplify/helpers_test.go b/simplify/helpers_test.go index 7ade3dd..fe28dc4 100644 --- a/simplify/helpers_test.go +++ b/simplify/helpers_test.go @@ -3,7 +3,7 @@ package simplify import ( "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestSimplify(t *testing.T) { diff --git a/simplify/radial.go b/simplify/radial.go index 71ecf1a..b1559d6 100644 --- a/simplify/radial.go +++ b/simplify/radial.go @@ -1,7 +1,7 @@ package simplify import ( - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) var _ orb.Simplifier = &RadialSimplifier{} diff --git a/simplify/radial_test.go b/simplify/radial_test.go index d3d7116..c981eda 100644 --- a/simplify/radial_test.go +++ b/simplify/radial_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/paulmach/orb" - "github.com/paulmach/orb/planar" + "github.com/planetfederal/orb" + "github.com/planetfederal/orb/planar" ) func TestRadial(t *testing.T) { diff --git a/simplify/visvalingam.go b/simplify/visvalingam.go index f11f608..3329fd3 100644 --- a/simplify/visvalingam.go +++ b/simplify/visvalingam.go @@ -3,7 +3,7 @@ package simplify import ( "math" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) var _ orb.Simplifier = &VisvalingamSimplifier{} diff --git a/simplify/visvalingam_test.go b/simplify/visvalingam_test.go index bd604ba..df08491 100644 --- a/simplify/visvalingam_test.go +++ b/simplify/visvalingam_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/paulmach/orb" + "github.com/planetfederal/orb" ) func TestVisvalingamThreshold(t *testing.T) {