From 3b73f91a0d144524b6b9bac7011ffc9e90276e58 Mon Sep 17 00:00:00 2001 From: Oliver Tonnhofer Date: Mon, 4 Aug 2014 15:19:35 +0200 Subject: [PATCH] make go gettable --- Makefile | 4 ++-- cache/binary/deltacoords.go | 2 +- cache/binary/deltacoords_test.go | 2 +- cache/binary/diff.go | 2 +- cache/binary/diff_test.go | 2 +- cache/binary/serialize.go | 2 +- cache/binary/serialize_test.go | 2 +- cache/binary/tags.go | 2 +- cache/binary/tags_test.go | 2 +- cache/delta.go | 4 ++-- cache/delta_test.go | 2 +- cache/diff.go | 4 ++-- cache/diff_test.go | 2 +- cache/nodes.go | 4 ++-- cache/osm_test.go | 2 +- cache/query/query.go | 4 ++-- cache/relations.go | 4 ++-- cache/ways.go | 4 ++-- cmd/main.go | 16 ++++++++-------- database/database.go | 4 ++-- database/postgis/postgis.go | 8 ++++---- database/postgis/spec.go | 2 +- diff/deleter.go | 14 +++++++------- diff/parser/parser.go | 4 ++-- diff/process.go | 30 +++++++++++++++--------------- diff/state/state.go | 4 ++-- element/element.go | 2 +- expire/expire.go | 2 +- geom/geojson/geojson.go | 4 ++-- geom/geom.go | 4 ++-- geom/geom_test.go | 4 ++-- geom/geos/geos.go | 2 +- geom/limit/limit.go | 6 +++--- geom/limit/limit_test.go | 2 +- geom/multipolygon.go | 4 ++-- geom/multipolygon_test.go | 4 ++-- geom/ring.go | 4 ++-- geom/ring_test.go | 2 +- import_/import.go | 24 ++++++++++++------------ imposm3.go | 2 +- mapping/config.go | 2 +- mapping/fields.go | 4 ++-- mapping/fields_test.go | 2 +- mapping/filter.go | 2 +- mapping/filter_test.go | 2 +- mapping/matcher.go | 2 +- mapping/matcher_test.go | 2 +- parser/pbf/lowlevel.go | 2 +- parser/pbf/pbf.go | 4 ++-- parser/pbf/pbf_test.go | 2 +- parser/pbf/process.go | 4 ++-- proj/proj.go | 2 +- reader/reader.go | 20 ++++++++++---------- stats/stats.go | 2 +- writer/nodes.go | 14 +++++++------- writer/relations.go | 16 ++++++++-------- writer/ways.go | 16 ++++++++-------- writer/writer.go | 16 ++++++++-------- 58 files changed, 156 insertions(+), 156 deletions(-) diff --git a/Makefile b/Makefile index f655ddb..f50f3ce 100644 --- a/Makefile +++ b/Makefile @@ -36,8 +36,8 @@ clean: test: test-unit test-system test-unit: imposm3 - go test imposm3/... -i - go test imposm3/... + go test ./... -i + go test ./... test-system: imposm3 (cd test && make test) diff --git a/cache/binary/deltacoords.go b/cache/binary/deltacoords.go index 766da72..12df272 100644 --- a/cache/binary/deltacoords.go +++ b/cache/binary/deltacoords.go @@ -3,7 +3,7 @@ package binary import ( "encoding/binary" "errors" - "imposm3/element" + "github.com/omniscale/imposm3/element" ) func MarshalDeltaNodes(nodes []element.Node, buf []byte) []byte { diff --git a/cache/binary/deltacoords_test.go b/cache/binary/deltacoords_test.go index d643962..7e94259 100644 --- a/cache/binary/deltacoords_test.go +++ b/cache/binary/deltacoords_test.go @@ -2,7 +2,7 @@ package binary import ( "code.google.com/p/goprotobuf/proto" - "imposm3/element" + "github.com/omniscale/imposm3/element" "math" "math/rand" "runtime" diff --git a/cache/binary/diff.go b/cache/binary/diff.go index cb1c092..5ac224c 100644 --- a/cache/binary/diff.go +++ b/cache/binary/diff.go @@ -3,7 +3,7 @@ package binary import ( "encoding/binary" - "imposm3/element" + "github.com/omniscale/imposm3/element" ) func MarshalIdRefsBunch(idRefs []element.IdRefs) []byte { diff --git a/cache/binary/diff_test.go b/cache/binary/diff_test.go index 160e6ca..62a6e42 100644 --- a/cache/binary/diff_test.go +++ b/cache/binary/diff_test.go @@ -3,7 +3,7 @@ package binary import ( "testing" - "imposm3/element" + "github.com/omniscale/imposm3/element" ) func TestmarshalBunch(t *testing.T) { diff --git a/cache/binary/serialize.go b/cache/binary/serialize.go index 9d5ca16..081421d 100644 --- a/cache/binary/serialize.go +++ b/cache/binary/serialize.go @@ -2,7 +2,7 @@ package binary import ( "code.google.com/p/goprotobuf/proto" - "imposm3/element" + "github.com/omniscale/imposm3/element" ) const COORD_FACTOR float64 = 11930464.7083 // ((2<<31)-1)/360.0 diff --git a/cache/binary/serialize_test.go b/cache/binary/serialize_test.go index 123b4ff..e7d567c 100644 --- a/cache/binary/serialize_test.go +++ b/cache/binary/serialize_test.go @@ -1,7 +1,7 @@ package binary import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" "testing" ) diff --git a/cache/binary/tags.go b/cache/binary/tags.go index 939f55a..dbf86f0 100644 --- a/cache/binary/tags.go +++ b/cache/binary/tags.go @@ -15,7 +15,7 @@ package binary // etc.) are converted to a single ASCII control char (0x01-0x1f) import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" "unicode/utf8" ) diff --git a/cache/binary/tags_test.go b/cache/binary/tags_test.go index 8e51b2c..c0a18f5 100644 --- a/cache/binary/tags_test.go +++ b/cache/binary/tags_test.go @@ -1,7 +1,7 @@ package binary import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" "sort" "testing" ) diff --git a/cache/delta.go b/cache/delta.go index b338df9..35a6f4f 100644 --- a/cache/delta.go +++ b/cache/delta.go @@ -2,8 +2,8 @@ package cache import ( "container/list" - "imposm3/cache/binary" - "imposm3/element" + "github.com/omniscale/imposm3/cache/binary" + "github.com/omniscale/imposm3/element" "sort" "sync" ) diff --git a/cache/delta_test.go b/cache/delta_test.go index f635292..15d431b 100644 --- a/cache/delta_test.go +++ b/cache/delta_test.go @@ -1,7 +1,7 @@ package cache import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" "io/ioutil" "math/rand" "os" diff --git a/cache/diff.go b/cache/diff.go index faa6a48..0060c85 100644 --- a/cache/diff.go +++ b/cache/diff.go @@ -9,8 +9,8 @@ import ( "sort" "sync" - "imposm3/cache/binary" - "imposm3/element" + "github.com/omniscale/imposm3/cache/binary" + "github.com/omniscale/imposm3/element" ) type byInt64 []int64 diff --git a/cache/diff_test.go b/cache/diff_test.go index 8dca024..1993cd7 100644 --- a/cache/diff_test.go +++ b/cache/diff_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "imposm3/element" + "github.com/omniscale/imposm3/element" ) func TestDiffCache(t *testing.T) { diff --git a/cache/nodes.go b/cache/nodes.go index eb2d00d..aa7ea80 100644 --- a/cache/nodes.go +++ b/cache/nodes.go @@ -2,8 +2,8 @@ package cache import ( "github.com/jmhodges/levigo" - "imposm3/cache/binary" - "imposm3/element" + "github.com/omniscale/imposm3/cache/binary" + "github.com/omniscale/imposm3/element" ) type NodesCache struct { diff --git a/cache/osm_test.go b/cache/osm_test.go index c09310d..d83d381 100644 --- a/cache/osm_test.go +++ b/cache/osm_test.go @@ -1,7 +1,7 @@ package cache import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" "io/ioutil" "math/rand" "os" diff --git a/cache/query/query.go b/cache/query/query.go index 346ffb9..e2e86f9 100644 --- a/cache/query/query.go +++ b/cache/query/query.go @@ -9,8 +9,8 @@ import ( "strconv" "strings" - "imposm3/cache" - "imposm3/element" + "github.com/omniscale/imposm3/cache" + "github.com/omniscale/imposm3/element" ) var flags = flag.NewFlagSet("query-cache", flag.ExitOnError) diff --git a/cache/relations.go b/cache/relations.go index beea53b..e49a644 100644 --- a/cache/relations.go +++ b/cache/relations.go @@ -2,8 +2,8 @@ package cache import ( "github.com/jmhodges/levigo" - "imposm3/cache/binary" - "imposm3/element" + "github.com/omniscale/imposm3/cache/binary" + "github.com/omniscale/imposm3/element" ) type RelationsCache struct { diff --git a/cache/ways.go b/cache/ways.go index 08a4c6c..aba0447 100644 --- a/cache/ways.go +++ b/cache/ways.go @@ -2,8 +2,8 @@ package cache import ( "github.com/jmhodges/levigo" - "imposm3/cache/binary" - "imposm3/element" + "github.com/omniscale/imposm3/cache/binary" + "github.com/omniscale/imposm3/element" ) type WaysCache struct { diff --git a/cmd/main.go b/cmd/main.go index 4e3fc2b..6cf61d4 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -2,18 +2,18 @@ package cmd import ( "fmt" - "imposm3/cache" + "github.com/omniscale/imposm3/cache" golog "log" "os" "runtime" - "imposm3/cache/query" - "imposm3/config" - "imposm3/diff" - "imposm3/geom/limit" - "imposm3/import_" - "imposm3/logging" - "imposm3/stats" + "github.com/omniscale/imposm3/cache/query" + "github.com/omniscale/imposm3/config" + "github.com/omniscale/imposm3/diff" + "github.com/omniscale/imposm3/geom/limit" + "github.com/omniscale/imposm3/import_" + "github.com/omniscale/imposm3/logging" + "github.com/omniscale/imposm3/stats" ) var log = logging.NewLogger("") diff --git a/database/database.go b/database/database.go index f233791..db08152 100644 --- a/database/database.go +++ b/database/database.go @@ -2,8 +2,8 @@ package database import ( "errors" - "imposm3/element" - "imposm3/mapping" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/mapping" "strings" ) diff --git a/database/postgis/postgis.go b/database/postgis/postgis.go index 6dffba5..c8f3a22 100644 --- a/database/postgis/postgis.go +++ b/database/postgis/postgis.go @@ -4,10 +4,10 @@ import ( "database/sql" "fmt" pq "github.com/lib/pq" - "imposm3/database" - "imposm3/element" - "imposm3/logging" - "imposm3/mapping" + "github.com/omniscale/imposm3/database" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/logging" + "github.com/omniscale/imposm3/mapping" "runtime" "strings" "sync/atomic" diff --git a/database/postgis/spec.go b/database/postgis/spec.go index 2be0dd4..c34410b 100644 --- a/database/postgis/spec.go +++ b/database/postgis/spec.go @@ -2,7 +2,7 @@ package postgis import ( "fmt" - "imposm3/mapping" + "github.com/omniscale/imposm3/mapping" "strings" ) diff --git a/diff/deleter.go b/diff/deleter.go index 3e602b1..20d91a3 100644 --- a/diff/deleter.go +++ b/diff/deleter.go @@ -1,13 +1,13 @@ package diff import ( - "imposm3/cache" - "imposm3/database" - "imposm3/diff/parser" - "imposm3/element" - "imposm3/expire" - "imposm3/mapping" - "imposm3/proj" + "github.com/omniscale/imposm3/cache" + "github.com/omniscale/imposm3/database" + "github.com/omniscale/imposm3/diff/parser" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/expire" + "github.com/omniscale/imposm3/mapping" + "github.com/omniscale/imposm3/proj" ) type Deleter struct { diff --git a/diff/parser/parser.go b/diff/parser/parser.go index 67565a2..39b0684 100644 --- a/diff/parser/parser.go +++ b/diff/parser/parser.go @@ -3,8 +3,8 @@ package parser import ( "compress/gzip" "encoding/xml" - "imposm3/element" - "imposm3/logging" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/logging" "os" "strconv" ) diff --git a/diff/process.go b/diff/process.go index 72a41e3..5cfb5b8 100644 --- a/diff/process.go +++ b/diff/process.go @@ -5,21 +5,21 @@ import ( "fmt" "io" - "imposm3/cache" - "imposm3/config" - "imposm3/database" - _ "imposm3/database/postgis" - "imposm3/diff/parser" - diffstate "imposm3/diff/state" - "imposm3/element" - "imposm3/expire" - "imposm3/geom/geos" - "imposm3/geom/limit" - "imposm3/logging" - "imposm3/mapping" - "imposm3/proj" - "imposm3/stats" - "imposm3/writer" + "github.com/omniscale/imposm3/cache" + "github.com/omniscale/imposm3/config" + "github.com/omniscale/imposm3/database" + _ "github.com/omniscale/imposm3/database/postgis" + "github.com/omniscale/imposm3/diff/parser" + diffstate "github.com/omniscale/imposm3/diff/state" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/expire" + "github.com/omniscale/imposm3/geom/geos" + "github.com/omniscale/imposm3/geom/limit" + "github.com/omniscale/imposm3/logging" + "github.com/omniscale/imposm3/mapping" + "github.com/omniscale/imposm3/proj" + "github.com/omniscale/imposm3/stats" + "github.com/omniscale/imposm3/writer" ) var log = logging.NewLogger("diff") diff --git a/diff/state/state.go b/diff/state/state.go index 314451a..3e6e113 100644 --- a/diff/state/state.go +++ b/diff/state/state.go @@ -4,8 +4,8 @@ import ( "bufio" "errors" "fmt" - "imposm3/logging" - "imposm3/parser/pbf" + "github.com/omniscale/imposm3/logging" + "github.com/omniscale/imposm3/parser/pbf" "io" "net/http" "os" diff --git a/element/element.go b/element/element.go index 252adbb..b05974c 100644 --- a/element/element.go +++ b/element/element.go @@ -3,7 +3,7 @@ package element import ( "sort" - "imposm3/geom/geos" + "github.com/omniscale/imposm3/geom/geos" ) type Tags map[string]string diff --git a/expire/expire.go b/expire/expire.go index 92578de..0030339 100644 --- a/expire/expire.go +++ b/expire/expire.go @@ -1,7 +1,7 @@ package expire import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" ) type Expireor interface { diff --git a/geom/geojson/geojson.go b/geom/geojson/geojson.go index c60e2ed..26bcdf0 100644 --- a/geom/geojson/geojson.go +++ b/geom/geojson/geojson.go @@ -4,8 +4,8 @@ import ( "encoding/json" "errors" "fmt" - "imposm3/geom/geos" - "imposm3/proj" + "github.com/omniscale/imposm3/geom/geos" + "github.com/omniscale/imposm3/proj" "io" ) diff --git a/geom/geom.go b/geom/geom.go index def273c..95d68eb 100644 --- a/geom/geom.go +++ b/geom/geom.go @@ -2,8 +2,8 @@ package geom import ( "errors" - "imposm3/element" - "imposm3/geom/geos" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/geom/geos" "math" ) diff --git a/geom/geom_test.go b/geom/geom_test.go index 55e0b04..658dd05 100644 --- a/geom/geom_test.go +++ b/geom/geom_test.go @@ -1,8 +1,8 @@ package geom import ( - "imposm3/element" - "imposm3/geom/geos" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/geom/geos" "testing" ) diff --git a/geom/geos/geos.go b/geom/geos/geos.go index 7c0ca70..77b59d3 100644 --- a/geom/geos/geos.go +++ b/geom/geos/geos.go @@ -13,7 +13,7 @@ extern void initGEOS_debug(); import "C" import ( - "imposm3/logging" + "github.com/omniscale/imposm3/logging" "runtime" "unsafe" ) diff --git a/geom/limit/limit.go b/geom/limit/limit.go index fdd6703..4611d7e 100644 --- a/geom/limit/limit.go +++ b/geom/limit/limit.go @@ -2,9 +2,9 @@ package limit import ( "errors" - "imposm3/geom/geojson" - "imposm3/geom/geos" - "imposm3/logging" + "github.com/omniscale/imposm3/geom/geojson" + "github.com/omniscale/imposm3/geom/geos" + "github.com/omniscale/imposm3/logging" "math" "os" "strings" diff --git a/geom/limit/limit_test.go b/geom/limit/limit_test.go index 91fa13b..0bd129d 100644 --- a/geom/limit/limit_test.go +++ b/geom/limit/limit_test.go @@ -1,7 +1,7 @@ package limit import ( - "imposm3/geom/geos" + "github.com/omniscale/imposm3/geom/geos" "testing" ) diff --git a/geom/multipolygon.go b/geom/multipolygon.go index 8ad5521..2111013 100644 --- a/geom/multipolygon.go +++ b/geom/multipolygon.go @@ -2,8 +2,8 @@ package geom import ( "errors" - "imposm3/element" - "imposm3/geom/geos" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/geom/geos" "sort" ) diff --git a/geom/multipolygon_test.go b/geom/multipolygon_test.go index 879022c..db0e99e 100644 --- a/geom/multipolygon_test.go +++ b/geom/multipolygon_test.go @@ -1,8 +1,8 @@ package geom import ( - "imposm3/element" - "imposm3/geom/geos" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/geom/geos" "math" "testing" ) diff --git a/geom/ring.go b/geom/ring.go index 2ff9446..4eaf67e 100644 --- a/geom/ring.go +++ b/geom/ring.go @@ -1,8 +1,8 @@ package geom import ( - "imposm3/element" - "imposm3/geom/geos" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/geom/geos" ) type Ring struct { diff --git a/geom/ring_test.go b/geom/ring_test.go index 989457f..347c3aa 100644 --- a/geom/ring_test.go +++ b/geom/ring_test.go @@ -1,7 +1,7 @@ package geom import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" "sort" "testing" ) diff --git a/import_/import.go b/import_/import.go index 872070c..7d60d74 100644 --- a/import_/import.go +++ b/import_/import.go @@ -7,18 +7,18 @@ import ( "os" "path" - "imposm3/cache" - "imposm3/config" - "imposm3/database" - _ "imposm3/database/postgis" - state "imposm3/diff/state" - "imposm3/geom/limit" - "imposm3/logging" - "imposm3/mapping" - "imposm3/parser/pbf" - "imposm3/reader" - "imposm3/stats" - "imposm3/writer" + "github.com/omniscale/imposm3/cache" + "github.com/omniscale/imposm3/config" + "github.com/omniscale/imposm3/database" + _ "github.com/omniscale/imposm3/database/postgis" + state "github.com/omniscale/imposm3/diff/state" + "github.com/omniscale/imposm3/geom/limit" + "github.com/omniscale/imposm3/logging" + "github.com/omniscale/imposm3/mapping" + "github.com/omniscale/imposm3/parser/pbf" + "github.com/omniscale/imposm3/reader" + "github.com/omniscale/imposm3/stats" + "github.com/omniscale/imposm3/writer" ) var log = logging.NewLogger("") diff --git a/imposm3.go b/imposm3.go index 1df69a7..61ec29e 100644 --- a/imposm3.go +++ b/imposm3.go @@ -1,7 +1,7 @@ package main import ( - "imposm3/cmd" + "github.com/omniscale/imposm3/cmd" ) func main() { diff --git a/mapping/config.go b/mapping/config.go index 439a192..c88cea0 100644 --- a/mapping/config.go +++ b/mapping/config.go @@ -3,7 +3,7 @@ package mapping import ( "encoding/json" "errors" - "imposm3/element" + "github.com/omniscale/imposm3/element" "os" ) diff --git a/mapping/fields.go b/mapping/fields.go index 23d1169..f137f42 100644 --- a/mapping/fields.go +++ b/mapping/fields.go @@ -2,8 +2,8 @@ package mapping import ( "errors" - "imposm3/element" - "imposm3/logging" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/logging" "regexp" "strconv" "strings" diff --git a/mapping/fields_test.go b/mapping/fields_test.go index e7c3871..8b5593e 100644 --- a/mapping/fields_test.go +++ b/mapping/fields_test.go @@ -1,7 +1,7 @@ package mapping import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" "testing" ) diff --git a/mapping/filter.go b/mapping/filter.go index 310519f..e6372f9 100644 --- a/mapping/filter.go +++ b/mapping/filter.go @@ -1,7 +1,7 @@ package mapping import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" ) func (m *Mapping) NodeTagFilter() TagFilterer { diff --git a/mapping/filter_test.go b/mapping/filter_test.go index 26952b6..72b6b40 100644 --- a/mapping/filter_test.go +++ b/mapping/filter_test.go @@ -1,7 +1,7 @@ package mapping import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" "testing" ) diff --git a/mapping/matcher.go b/mapping/matcher.go index 1c2dbfd..51911c6 100644 --- a/mapping/matcher.go +++ b/mapping/matcher.go @@ -1,7 +1,7 @@ package mapping import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" ) func (m *Mapping) PointMatcher() NodeMatcher { diff --git a/mapping/matcher_test.go b/mapping/matcher_test.go index 6d95807..741281b 100644 --- a/mapping/matcher_test.go +++ b/mapping/matcher_test.go @@ -1,7 +1,7 @@ package mapping import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" "testing" ) diff --git a/parser/pbf/lowlevel.go b/parser/pbf/lowlevel.go index e275f81..ede60d7 100644 --- a/parser/pbf/lowlevel.go +++ b/parser/pbf/lowlevel.go @@ -7,7 +7,7 @@ import ( structs "encoding/binary" "errors" "fmt" - "imposm3/parser/pbf/osmpbf" + "github.com/omniscale/imposm3/parser/pbf/osmpbf" "io" "log" "os" diff --git a/parser/pbf/pbf.go b/parser/pbf/pbf.go index 28f126f..e778449 100644 --- a/parser/pbf/pbf.go +++ b/parser/pbf/pbf.go @@ -1,8 +1,8 @@ package pbf import ( - "imposm3/element" - "imposm3/parser/pbf/osmpbf" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/parser/pbf/osmpbf" "log" ) diff --git a/parser/pbf/pbf_test.go b/parser/pbf/pbf_test.go index dff7466..cc0935b 100644 --- a/parser/pbf/pbf_test.go +++ b/parser/pbf/pbf_test.go @@ -5,7 +5,7 @@ import ( "code.google.com/p/goprotobuf/proto" "compress/zlib" "fmt" - "imposm3/parser/pbf/osmpbf" + "github.com/omniscale/imposm3/parser/pbf/osmpbf" "io" "log" "os" diff --git a/parser/pbf/process.go b/parser/pbf/process.go index cae0564..c2ef77d 100644 --- a/parser/pbf/process.go +++ b/parser/pbf/process.go @@ -1,8 +1,8 @@ package pbf import ( - "imposm3/element" - "imposm3/util" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/util" "runtime" "sync" ) diff --git a/proj/proj.go b/proj/proj.go index 1406428..aac5f4d 100644 --- a/proj/proj.go +++ b/proj/proj.go @@ -1,7 +1,7 @@ package proj import ( - "imposm3/element" + "github.com/omniscale/imposm3/element" "math" ) diff --git a/reader/reader.go b/reader/reader.go index 4a37249..87fc381 100644 --- a/reader/reader.go +++ b/reader/reader.go @@ -8,16 +8,16 @@ import ( "strings" "sync" - osmcache "imposm3/cache" - "imposm3/element" - "imposm3/geom/geos" - "imposm3/geom/limit" - "imposm3/logging" - "imposm3/mapping" - "imposm3/parser/pbf" - "imposm3/proj" - "imposm3/stats" - "imposm3/util" + osmcache "github.com/omniscale/imposm3/cache" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/geom/geos" + "github.com/omniscale/imposm3/geom/limit" + "github.com/omniscale/imposm3/logging" + "github.com/omniscale/imposm3/mapping" + "github.com/omniscale/imposm3/parser/pbf" + "github.com/omniscale/imposm3/proj" + "github.com/omniscale/imposm3/stats" + "github.com/omniscale/imposm3/util" ) var log = logging.NewLogger("reader") diff --git a/stats/stats.go b/stats/stats.go index c6b3223..0a5bda1 100644 --- a/stats/stats.go +++ b/stats/stats.go @@ -2,7 +2,7 @@ package stats import ( "fmt" - "imposm3/logging" + "github.com/omniscale/imposm3/logging" "time" ) diff --git a/writer/nodes.go b/writer/nodes.go index e691203..94c67fa 100644 --- a/writer/nodes.go +++ b/writer/nodes.go @@ -1,13 +1,13 @@ package writer import ( - "imposm3/cache" - "imposm3/database" - "imposm3/element" - "imposm3/geom" - "imposm3/geom/geos" - "imposm3/mapping" - "imposm3/stats" + "github.com/omniscale/imposm3/cache" + "github.com/omniscale/imposm3/database" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/geom" + "github.com/omniscale/imposm3/geom/geos" + "github.com/omniscale/imposm3/mapping" + "github.com/omniscale/imposm3/stats" "sync" ) diff --git a/writer/relations.go b/writer/relations.go index 07396e4..970cdd3 100644 --- a/writer/relations.go +++ b/writer/relations.go @@ -1,14 +1,14 @@ package writer import ( - "imposm3/cache" - "imposm3/database" - "imposm3/element" - "imposm3/expire" - "imposm3/geom" - "imposm3/geom/geos" - "imposm3/mapping" - "imposm3/stats" + "github.com/omniscale/imposm3/cache" + "github.com/omniscale/imposm3/database" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/expire" + "github.com/omniscale/imposm3/geom" + "github.com/omniscale/imposm3/geom/geos" + "github.com/omniscale/imposm3/mapping" + "github.com/omniscale/imposm3/stats" "sync" "time" ) diff --git a/writer/ways.go b/writer/ways.go index a7c04a6..15b4545 100644 --- a/writer/ways.go +++ b/writer/ways.go @@ -1,14 +1,14 @@ package writer import ( - "imposm3/cache" - "imposm3/database" - "imposm3/element" - "imposm3/expire" - "imposm3/geom" - "imposm3/geom/geos" - "imposm3/mapping" - "imposm3/stats" + "github.com/omniscale/imposm3/cache" + "github.com/omniscale/imposm3/database" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/expire" + "github.com/omniscale/imposm3/geom" + "github.com/omniscale/imposm3/geom/geos" + "github.com/omniscale/imposm3/mapping" + "github.com/omniscale/imposm3/stats" "sync" ) diff --git a/writer/writer.go b/writer/writer.go index 881077e..29b00b4 100644 --- a/writer/writer.go +++ b/writer/writer.go @@ -4,14 +4,14 @@ import ( "runtime" "sync" - "imposm3/cache" - "imposm3/database" - "imposm3/element" - "imposm3/expire" - "imposm3/geom/limit" - "imposm3/logging" - "imposm3/proj" - "imposm3/stats" + "github.com/omniscale/imposm3/cache" + "github.com/omniscale/imposm3/database" + "github.com/omniscale/imposm3/element" + "github.com/omniscale/imposm3/expire" + "github.com/omniscale/imposm3/geom/limit" + "github.com/omniscale/imposm3/logging" + "github.com/omniscale/imposm3/proj" + "github.com/omniscale/imposm3/stats" ) var log = logging.NewLogger("writer")