diff --git a/cache/binary/deltacoords.go b/cache/binary/deltacoords.go index cf71220..b8d4e64 100644 --- a/cache/binary/deltacoords.go +++ b/cache/binary/deltacoords.go @@ -3,7 +3,7 @@ package binary import ( "bytes" "encoding/binary" - "goposm/element" + "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 0dbc183..d643962 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" - "goposm/element" + "imposm3/element" "math" "math/rand" "runtime" diff --git a/cache/binary/diff.go b/cache/binary/diff.go index 07fb158..8683c59 100644 --- a/cache/binary/diff.go +++ b/cache/binary/diff.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/binary" - "goposm/element" + "imposm3/element" ) func MarshalIdRefsBunch(idRefs []element.IdRefs) []byte { diff --git a/cache/binary/diff_test.go b/cache/binary/diff_test.go index 5241fd6..3acd71a 100644 --- a/cache/binary/diff_test.go +++ b/cache/binary/diff_test.go @@ -3,7 +3,7 @@ package binary import ( "testing" - "goposm/element" + "imposm3/element" ) func TestmarshalBunch(t *testing.T) { diff --git a/cache/binary/serialize.go b/cache/binary/serialize.go index 17ba7fe..9d5ca16 100644 --- a/cache/binary/serialize.go +++ b/cache/binary/serialize.go @@ -2,7 +2,7 @@ package binary import ( "code.google.com/p/goprotobuf/proto" - "goposm/element" + "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 1fea399..123b4ff 100644 --- a/cache/binary/serialize_test.go +++ b/cache/binary/serialize_test.go @@ -1,7 +1,7 @@ package binary import ( - "goposm/element" + "imposm3/element" "testing" ) diff --git a/cache/binary/tags.go b/cache/binary/tags.go index 8d4eac3..8289a99 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 ( - "goposm/element" + "imposm3/element" "unicode/utf8" ) diff --git a/cache/binary/tags_test.go b/cache/binary/tags_test.go index 6c5693a..0f471d1 100644 --- a/cache/binary/tags_test.go +++ b/cache/binary/tags_test.go @@ -1,7 +1,7 @@ package binary import ( - "goposm/element" + "imposm3/element" "testing" ) diff --git a/cache/delta.go b/cache/delta.go index d352774..800f0af 100644 --- a/cache/delta.go +++ b/cache/delta.go @@ -2,8 +2,8 @@ package cache import ( "container/list" - "goposm/cache/binary" - "goposm/element" + "imposm3/cache/binary" + "imposm3/element" "sort" "sync" ) diff --git a/cache/delta_test.go b/cache/delta_test.go index 6d1de85..1d48bd0 100644 --- a/cache/delta_test.go +++ b/cache/delta_test.go @@ -1,7 +1,7 @@ package cache import ( - "goposm/element" + "imposm3/element" "io/ioutil" "math/rand" "os" @@ -28,7 +28,7 @@ func TestReadWriteDeltaCoordsLinearImport(t *testing.T) { } func checkReadWriteDeltaCoords(t *testing.T, withLinearImport bool) { - cache_dir, _ := ioutil.TempDir("", "goposm_test") + cache_dir, _ := ioutil.TempDir("", "imposm3_test") defer os.RemoveAll(cache_dir) cache, err := newDeltaCoordsCache(cache_dir) diff --git a/cache/diff.go b/cache/diff.go index ca05c1c..96a8cc9 100644 --- a/cache/diff.go +++ b/cache/diff.go @@ -9,8 +9,8 @@ import ( "sort" "sync" - "goposm/cache/binary" - "goposm/element" + "imposm3/cache/binary" + "imposm3/element" ) type byInt64 []int64 diff --git a/cache/diff_test.go b/cache/diff_test.go index d59351a..8dca024 100644 --- a/cache/diff_test.go +++ b/cache/diff_test.go @@ -5,12 +5,12 @@ import ( "os" "testing" - "goposm/element" + "imposm3/element" ) func TestDiffCache(t *testing.T) { - cache_dir, _ := ioutil.TempDir("", "goposm_test") + cache_dir, _ := ioutil.TempDir("", "imposm3_test") defer os.RemoveAll(cache_dir) cache, err := newCoordsRefIndex(cache_dir) @@ -49,7 +49,7 @@ func TestDiffCache(t *testing.T) { } func TestWriteDiff(t *testing.T) { - cache_dir, _ := ioutil.TempDir("", "goposm_test") + cache_dir, _ := ioutil.TempDir("", "imposm3_test") defer os.RemoveAll(cache_dir) cache, err := newRefIndex(cache_dir, &globalCacheOptions.CoordsIndex) @@ -77,7 +77,7 @@ func TestWriteDiff(t *testing.T) { func BenchmarkWriteDiff(b *testing.B) { b.StopTimer() - cache_dir, _ := ioutil.TempDir("", "goposm_test") + cache_dir, _ := ioutil.TempDir("", "imposm3_test") defer os.RemoveAll(cache_dir) cache, err := newRefIndex(cache_dir, &globalCacheOptions.CoordsIndex) diff --git a/cache/nodes.go b/cache/nodes.go index 4096449..b2540f5 100644 --- a/cache/nodes.go +++ b/cache/nodes.go @@ -2,8 +2,8 @@ package cache import ( "github.com/jmhodges/levigo" - "goposm/cache/binary" - "goposm/element" + "imposm3/cache/binary" + "imposm3/element" ) type NodesCache struct { diff --git a/cache/osm_test.go b/cache/osm_test.go index b6f357f..c09310d 100644 --- a/cache/osm_test.go +++ b/cache/osm_test.go @@ -1,7 +1,7 @@ package cache import ( - "goposm/element" + "imposm3/element" "io/ioutil" "math/rand" "os" @@ -9,7 +9,7 @@ import ( ) func TestCreateCache(t *testing.T) { - cache_dir, _ := ioutil.TempDir("", "goposm_test") + cache_dir, _ := ioutil.TempDir("", "imposm3_test") defer os.RemoveAll(cache_dir) cache, err := newNodesCache(cache_dir) @@ -24,7 +24,7 @@ func TestCreateCache(t *testing.T) { } func TestReadWriteNode(t *testing.T) { - cache_dir, _ := ioutil.TempDir("", "goposm_test") + cache_dir, _ := ioutil.TempDir("", "imposm3_test") defer os.RemoveAll(cache_dir) cache, err := newNodesCache(cache_dir) @@ -58,7 +58,7 @@ func TestReadWriteNode(t *testing.T) { } func TestReadWriteWay(t *testing.T) { - cache_dir, _ := ioutil.TempDir("", "goposm_test") + cache_dir, _ := ioutil.TempDir("", "imposm3_test") defer os.RemoveAll(cache_dir) cache, err := newWaysCache(cache_dir) @@ -93,7 +93,7 @@ func TestReadWriteWay(t *testing.T) { } func TestReadMissingWay(t *testing.T) { - cache_dir, _ := ioutil.TempDir("", "goposm_test") + cache_dir, _ := ioutil.TempDir("", "imposm3_test") defer os.RemoveAll(cache_dir) cache, err := newWaysCache(cache_dir) @@ -111,7 +111,7 @@ func TestReadMissingWay(t *testing.T) { func BenchmarkWriteWay(b *testing.B) { b.StopTimer() - cache_dir, _ := ioutil.TempDir("", "goposm_test") + cache_dir, _ := ioutil.TempDir("", "imposm3_test") defer os.RemoveAll(cache_dir) cache, err := newWaysCache(cache_dir) @@ -133,7 +133,7 @@ func BenchmarkWriteWay(b *testing.B) { func BenchmarkReadWay(b *testing.B) { b.StopTimer() - cache_dir, _ := ioutil.TempDir("", "goposm_test") + cache_dir, _ := ioutil.TempDir("", "imposm3_test") defer os.RemoveAll(cache_dir) cache, err := newWaysCache(cache_dir) diff --git a/cache/query/query.go b/cache/query/query.go index 36b30f4..346ffb9 100644 --- a/cache/query/query.go +++ b/cache/query/query.go @@ -9,8 +9,8 @@ import ( "strconv" "strings" - "goposm/cache" - "goposm/element" + "imposm3/cache" + "imposm3/element" ) var flags = flag.NewFlagSet("query-cache", flag.ExitOnError) @@ -21,7 +21,7 @@ var ( relIds = flags.String("rel", "", "relation") full = flags.Bool("full", false, "recurse into relations/ways") deps = flags.Bool("deps", false, "show dependent ways/relations") - cachedir = flags.String("cachedir", "/tmp/goposm", "cache directory") + cachedir = flags.String("cachedir", "/tmp/imposm3", "cache directory") ) type nodes map[string]*node diff --git a/cache/relations.go b/cache/relations.go index e988dd6..cd50173 100644 --- a/cache/relations.go +++ b/cache/relations.go @@ -2,8 +2,8 @@ package cache import ( "github.com/jmhodges/levigo" - "goposm/cache/binary" - "goposm/element" + "imposm3/cache/binary" + "imposm3/element" ) type RelationsCache struct { diff --git a/cache/ways.go b/cache/ways.go index 11f8e44..bc6e01e 100644 --- a/cache/ways.go +++ b/cache/ways.go @@ -2,8 +2,8 @@ package cache import ( "github.com/jmhodges/levigo" - "goposm/cache/binary" - "goposm/element" + "imposm3/cache/binary" + "imposm3/element" ) type WaysCache struct { diff --git a/config/config.go b/config/config.go index 7460d91..2971b80 100644 --- a/config/config.go +++ b/config/config.go @@ -19,7 +19,7 @@ type Config struct { } const defaultSrid = 3857 -const defaultCacheDir = "/tmp/goposm" +const defaultCacheDir = "/tmp/imposm3" var ImportFlags = flag.NewFlagSet("import", flag.ExitOnError) var DiffFlags = flag.NewFlagSet("diff", flag.ExitOnError) diff --git a/database/database.go b/database/database.go index 92050b0..a53a661 100644 --- a/database/database.go +++ b/database/database.go @@ -2,7 +2,7 @@ package database import ( "errors" - "goposm/mapping" + "imposm3/mapping" "strings" ) diff --git a/database/postgis/postgis.go b/database/postgis/postgis.go index 17ffb76..64f9285 100644 --- a/database/postgis/postgis.go +++ b/database/postgis/postgis.go @@ -5,9 +5,9 @@ import ( "errors" "fmt" pq "github.com/olt/pq" - "goposm/database" - "goposm/logging" - "goposm/mapping" + "imposm3/database" + "imposm3/logging" + "imposm3/mapping" "runtime" "strings" "sync" diff --git a/database/postgis/spec.go b/database/postgis/spec.go index 4747225..53df91b 100644 --- a/database/postgis/spec.go +++ b/database/postgis/spec.go @@ -2,7 +2,7 @@ package postgis import ( "fmt" - "goposm/mapping" + "imposm3/mapping" "strings" ) diff --git a/diff/deleter.go b/diff/deleter.go index e0b6588..b6d0897 100644 --- a/diff/deleter.go +++ b/diff/deleter.go @@ -1,13 +1,13 @@ package diff import ( - "goposm/cache" - "goposm/database" - "goposm/diff/parser" - "goposm/element" - "goposm/expire" - "goposm/mapping" - "goposm/proj" + "imposm3/cache" + "imposm3/database" + "imposm3/diff/parser" + "imposm3/element" + "imposm3/expire" + "imposm3/mapping" + "imposm3/proj" ) type Deleter struct { diff --git a/diff/downloader.go b/diff/downloader.go index d61a13a..1cdeb9c 100644 --- a/diff/downloader.go +++ b/diff/downloader.go @@ -4,7 +4,7 @@ import ( "bytes" "errors" "fmt" - "goposm/diff/state" + "imposm3/diff/state" "io" "io/ioutil" "net/http" diff --git a/diff/parser/parser.go b/diff/parser/parser.go index 5685fe5..12b037d 100644 --- a/diff/parser/parser.go +++ b/diff/parser/parser.go @@ -3,8 +3,8 @@ package parser import ( "compress/gzip" "encoding/xml" - "goposm/element" - "goposm/logging" + "imposm3/element" + "imposm3/logging" "os" "strconv" ) diff --git a/diff/process.go b/diff/process.go index 16203fc..2548784 100644 --- a/diff/process.go +++ b/diff/process.go @@ -2,20 +2,20 @@ package diff import ( "fmt" - "goposm/cache" - "goposm/config" - "goposm/database" - _ "goposm/database/postgis" - "goposm/diff/parser" - diffstate "goposm/diff/state" - "goposm/element" - "goposm/expire" - "goposm/geom/geos" - "goposm/geom/limit" - "goposm/logging" - "goposm/mapping" - "goposm/stats" - "goposm/writer" + "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/stats" + "imposm3/writer" "io" ) diff --git a/diff/state/state.go b/diff/state/state.go index 557617b..3dd98be 100644 --- a/diff/state/state.go +++ b/diff/state/state.go @@ -4,8 +4,8 @@ import ( "bufio" "errors" "fmt" - "goposm/logging" - "goposm/parser/pbf" + "imposm3/logging" + "imposm3/parser/pbf" "io" "os" "path" diff --git a/element/element.go b/element/element.go index f21ab6b..252adbb 100644 --- a/element/element.go +++ b/element/element.go @@ -3,7 +3,7 @@ package element import ( "sort" - "goposm/geom/geos" + "imposm3/geom/geos" ) type Tags map[string]string diff --git a/expire/collect.go b/expire/collect.go index 7af1e43..9ff51b7 100644 --- a/expire/collect.go +++ b/expire/collect.go @@ -4,7 +4,7 @@ import ( "database/sql" "fmt" _ "github.com/mattn/go-sqlite3" - "goposm/element" + "imposm3/element" "io" "math" "sort" diff --git a/geom/geom.go b/geom/geom.go index 76dc195..13b4b05 100644 --- a/geom/geom.go +++ b/geom/geom.go @@ -2,8 +2,8 @@ package geom import ( "errors" - "goposm/element" - "goposm/geom/geos" + "imposm3/element" + "imposm3/geom/geos" ) type GeomError struct { diff --git a/geom/geom_test.go b/geom/geom_test.go index 01ec760..fc8b1a1 100644 --- a/geom/geom_test.go +++ b/geom/geom_test.go @@ -1,8 +1,8 @@ package geom import ( - "goposm/element" - "goposm/geom/geos" + "imposm3/element" + "imposm3/geom/geos" "testing" ) diff --git a/geom/geos/geos.go b/geom/geos/geos.go index 0b9a304..8a7d9df 100644 --- a/geom/geos/geos.go +++ b/geom/geos/geos.go @@ -13,7 +13,7 @@ extern void initGEOS_debug(); import "C" import ( - "goposm/logging" + "imposm3/logging" "runtime" "unsafe" ) diff --git a/geom/index/spatialindex.go b/geom/index/spatialindex.go index d042324..b5ab6c0 100644 --- a/geom/index/spatialindex.go +++ b/geom/index/spatialindex.go @@ -3,8 +3,8 @@ package main import ( "flag" "fmt" - "goposm/geom/geos" - "goposm/geom/limit" + "imposm3/geom/geos" + "imposm3/geom/limit" "log" ) diff --git a/geom/limit/limit.go b/geom/limit/limit.go index 813288a..daf7893 100644 --- a/geom/limit/limit.go +++ b/geom/limit/limit.go @@ -2,9 +2,9 @@ package limit import ( "errors" - "goposm/geom/geos" - "goposm/geom/ogr" - "goposm/logging" + "imposm3/geom/geos" + "imposm3/geom/ogr" + "imposm3/logging" "math" "strings" "sync" diff --git a/geom/limit/limit_test.go b/geom/limit/limit_test.go index 3b835d4..01e41aa 100644 --- a/geom/limit/limit_test.go +++ b/geom/limit/limit_test.go @@ -1,7 +1,7 @@ package limit import ( - "goposm/geom/geos" + "imposm3/geom/geos" "testing" ) diff --git a/geom/multipolygon.go b/geom/multipolygon.go index e0397de..7b686c4 100644 --- a/geom/multipolygon.go +++ b/geom/multipolygon.go @@ -2,8 +2,8 @@ package geom import ( "errors" - "goposm/element" - "goposm/geom/geos" + "imposm3/element" + "imposm3/geom/geos" "sort" ) diff --git a/geom/multipolygon_test.go b/geom/multipolygon_test.go index 5f45263..68bc6e3 100644 --- a/geom/multipolygon_test.go +++ b/geom/multipolygon_test.go @@ -1,8 +1,8 @@ package geom import ( - "goposm/element" - "goposm/geom/geos" + "imposm3/element" + "imposm3/geom/geos" "math" "testing" ) diff --git a/geom/ogr/ogr.go b/geom/ogr/ogr.go index 6cd6109..4711070 100644 --- a/geom/ogr/ogr.go +++ b/geom/ogr/ogr.go @@ -9,7 +9,7 @@ package ogr import "C" import ( "fmt" - "goposm/geom/geos" + "imposm3/geom/geos" "strings" "unsafe" ) diff --git a/geom/ring.go b/geom/ring.go index 51f1061..99d8aa8 100644 --- a/geom/ring.go +++ b/geom/ring.go @@ -1,8 +1,8 @@ package geom import ( - "goposm/element" - "goposm/geom/geos" + "imposm3/element" + "imposm3/geom/geos" ) type Ring struct { diff --git a/geom/ring_test.go b/geom/ring_test.go index fdb3392..60c0739 100644 --- a/geom/ring_test.go +++ b/geom/ring_test.go @@ -1,7 +1,7 @@ package geom import ( - "goposm/element" + "imposm3/element" "sort" "testing" ) diff --git a/goposm.go b/imposm3.go similarity index 96% rename from goposm.go rename to imposm3.go index f7b3c3e..4e00eba 100644 --- a/goposm.go +++ b/imposm3.go @@ -10,20 +10,20 @@ import ( "strings" "time" - "goposm/cache" - "goposm/cache/query" - "goposm/config" - "goposm/database" - _ "goposm/database/postgis" - "goposm/diff" - state "goposm/diff/state" - "goposm/geom/limit" - "goposm/logging" - "goposm/mapping" - "goposm/parser/pbf" - "goposm/reader" - "goposm/stats" - "goposm/writer" + "imposm3/cache" + "imposm3/cache/query" + "imposm3/config" + "imposm3/database" + _ "imposm3/database/postgis" + "imposm3/diff" + state "imposm3/diff/state" + "imposm3/geom/limit" + "imposm3/logging" + "imposm3/mapping" + "imposm3/parser/pbf" + "imposm3/reader" + "imposm3/stats" + "imposm3/writer" ) var log = logging.NewLogger("") diff --git a/mapping/config.go b/mapping/config.go index cd9e6ee..3fce76e 100644 --- a/mapping/config.go +++ b/mapping/config.go @@ -3,7 +3,7 @@ package mapping import ( "encoding/json" "errors" - "goposm/element" + "imposm3/element" "os" ) diff --git a/mapping/fields.go b/mapping/fields.go index 88d703d..b4c50e6 100644 --- a/mapping/fields.go +++ b/mapping/fields.go @@ -2,8 +2,8 @@ package mapping import ( "errors" - "goposm/element" - "goposm/logging" + "imposm3/element" + "imposm3/logging" "regexp" "strconv" "strings" diff --git a/mapping/filter.go b/mapping/filter.go index 2242882..eae8d82 100644 --- a/mapping/filter.go +++ b/mapping/filter.go @@ -1,7 +1,7 @@ package mapping import ( - "goposm/element" + "imposm3/element" ) func (m *Mapping) NodeTagFilter() *TagFilter { diff --git a/mapping/filter_test.go b/mapping/filter_test.go index b24fdfe..6588c0c 100644 --- a/mapping/filter_test.go +++ b/mapping/filter_test.go @@ -1,7 +1,7 @@ package mapping import ( - "goposm/element" + "imposm3/element" "testing" ) diff --git a/mapping/matcher.go b/mapping/matcher.go index d375c16..424f9b9 100644 --- a/mapping/matcher.go +++ b/mapping/matcher.go @@ -1,7 +1,7 @@ package mapping import ( - "goposm/element" + "imposm3/element" ) func (m *Mapping) PointMatcher() *TagMatcher { diff --git a/parser/pbf/lowlevel.go b/parser/pbf/lowlevel.go index 92df0af..e275f81 100644 --- a/parser/pbf/lowlevel.go +++ b/parser/pbf/lowlevel.go @@ -7,7 +7,7 @@ import ( structs "encoding/binary" "errors" "fmt" - "goposm/parser/pbf/osmpbf" + "imposm3/parser/pbf/osmpbf" "io" "log" "os" diff --git a/parser/pbf/osmpbf/osmformat.pb.go b/parser/pbf/osmpbf/osmformat.pb.go index 6ef0862..d5ca9f2 100644 --- a/parser/pbf/osmpbf/osmformat.pb.go +++ b/parser/pbf/osmpbf/osmformat.pb.go @@ -417,7 +417,7 @@ type Relation struct { Info *Info `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"` RolesSid []int32 `protobuf:"varint,8,rep,packed,name=roles_sid" json:"roles_sid,omitempty"` Memids []int64 `protobuf:"zigzag64,9,rep,packed,name=memids" json:"memids,omitempty"` - Types []Relation_MemberType `protobuf:"varint,10,rep,packed,name=types,enum=goposm.Relation_MemberType" json:"types,omitempty"` + Types []Relation_MemberType `protobuf:"varint,10,rep,packed,name=types,enum=imposm3.Relation_MemberType" json:"types,omitempty"` XXX_unrecognized []byte `json:"-"` } @@ -440,5 +440,5 @@ func (this *Relation) GetInfo() *Info { } func init() { - proto.RegisterEnum("goposm.Relation_MemberType", Relation_MemberType_name, Relation_MemberType_value) + proto.RegisterEnum("imposm3.Relation_MemberType", Relation_MemberType_name, Relation_MemberType_value) } diff --git a/parser/pbf/pbf.go b/parser/pbf/pbf.go index 3313853..28f126f 100644 --- a/parser/pbf/pbf.go +++ b/parser/pbf/pbf.go @@ -1,8 +1,8 @@ package pbf import ( - "goposm/element" - "goposm/parser/pbf/osmpbf" + "imposm3/element" + "imposm3/parser/pbf/osmpbf" "log" ) diff --git a/parser/pbf/pbf_test.go b/parser/pbf/pbf_test.go index f36708f..dff7466 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" - "goposm/parser/pbf/osmpbf" + "imposm3/parser/pbf/osmpbf" "io" "log" "os" diff --git a/proj/proj.go b/proj/proj.go index 26b2a1e..8157efa 100644 --- a/proj/proj.go +++ b/proj/proj.go @@ -1,7 +1,7 @@ package proj import ( - "goposm/element" + "imposm3/element" "math" ) diff --git a/reader/reader.go b/reader/reader.go index bdad1d3..16d6ce8 100644 --- a/reader/reader.go +++ b/reader/reader.go @@ -1,12 +1,12 @@ package reader import ( - "goposm/cache" - "goposm/element" - "goposm/logging" - "goposm/mapping" - "goposm/parser/pbf" - "goposm/stats" + "imposm3/cache" + "imposm3/element" + "imposm3/logging" + "imposm3/mapping" + "imposm3/parser/pbf" + "imposm3/stats" "os" "runtime" "strconv" diff --git a/stats/stats.go b/stats/stats.go index aea3f33..043e77b 100644 --- a/stats/stats.go +++ b/stats/stats.go @@ -2,7 +2,7 @@ package stats import ( "fmt" - "goposm/logging" + "imposm3/logging" "time" ) diff --git a/writer/nodes.go b/writer/nodes.go index 2cdc3d7..6cdd121 100644 --- a/writer/nodes.go +++ b/writer/nodes.go @@ -1,14 +1,14 @@ package writer import ( - "goposm/cache" - "goposm/database" - "goposm/element" - "goposm/geom" - "goposm/geom/geos" - "goposm/mapping" - "goposm/proj" - "goposm/stats" + "imposm3/cache" + "imposm3/database" + "imposm3/element" + "imposm3/geom" + "imposm3/geom/geos" + "imposm3/mapping" + "imposm3/proj" + "imposm3/stats" "log" "sync" ) diff --git a/writer/relations.go b/writer/relations.go index 739b3e7..c78d2e1 100644 --- a/writer/relations.go +++ b/writer/relations.go @@ -2,14 +2,14 @@ package writer import ( "fmt" - "goposm/cache" - "goposm/database" - "goposm/element" - "goposm/geom" - "goposm/geom/geos" - "goposm/mapping" - "goposm/proj" - "goposm/stats" + "imposm3/cache" + "imposm3/database" + "imposm3/element" + "imposm3/geom" + "imposm3/geom/geos" + "imposm3/mapping" + "imposm3/proj" + "imposm3/stats" "log" "sync" ) diff --git a/writer/ways.go b/writer/ways.go index ae2b161..fce1abb 100644 --- a/writer/ways.go +++ b/writer/ways.go @@ -1,14 +1,14 @@ package writer import ( - "goposm/cache" - "goposm/database" - "goposm/element" - "goposm/geom" - "goposm/geom/geos" - "goposm/mapping" - "goposm/proj" - "goposm/stats" + "imposm3/cache" + "imposm3/database" + "imposm3/element" + "imposm3/geom" + "imposm3/geom/geos" + "imposm3/mapping" + "imposm3/proj" + "imposm3/stats" "log" "sync" ) diff --git a/writer/writer.go b/writer/writer.go index db0f1cb..46e0c3f 100644 --- a/writer/writer.go +++ b/writer/writer.go @@ -1,13 +1,13 @@ package writer import ( - "goposm/cache" - "goposm/database" - "goposm/element" - "goposm/expire" - "goposm/geom/limit" - "goposm/mapping" - "goposm/stats" + "imposm3/cache" + "imposm3/database" + "imposm3/element" + "imposm3/expire" + "imposm3/geom/limit" + "imposm3/mapping" + "imposm3/stats" "runtime" "sync" )