Commit Graph

846 Commits (master)

Author SHA1 Message Date
Oliver Tonnhofer 77b999274d add first mapping from json config 2013-05-13 13:58:44 +02:00
Oliver Tonnhofer cba18797e9 removed go vet warnings 2013-05-13 10:55:08 +02:00
Oliver Tonnhofer 319927d47f update deltaCacheBunchSize 2013-05-13 10:40:18 +02:00
Oliver Tonnhofer bbff114629 add -memprofile option 2013-05-13 10:21:12 +02:00
Oliver Tonnhofer ee13f30435 write to diff cache in batches 2013-05-13 09:54:00 +02:00
Oliver Tonnhofer 7345090a79 fixed two errors reported by -race 2013-05-13 09:53:38 +02:00
Oliver Tonnhofer c3cb785484 enable deltacoordscache optimizations only for linear imports 2013-05-13 08:08:52 +02:00
Oliver Tonnhofer 7a6bedb2e5 handle errors in putCoordsPacked 2013-05-13 07:39:38 +02:00
Oliver Tonnhofer 1e361975e2 add back sorting of delta nodes 2013-05-13 07:39:00 +02:00
Oliver Tonnhofer e924de90af use buffered chan for ref cache 2013-05-13 07:37:32 +02:00
Oliver Tonnhofer e6e7fddcc5 Merge branch 'master' of bitbucket.org:olt/goposm 2013-05-13 07:37:04 +02:00
Oliver Tonnhofer 094e5c4ace use delta encoding for ref cache 2013-05-13 07:36:54 +02:00
Oliver Tonnhofer a7d23978b9 first diff xml parser code 2013-05-12 18:50:36 +02:00
Oliver Tonnhofer 40a67247a4 add BenchmarkWKB 2013-05-12 12:38:09 +02:00
Oliver Tonnhofer b57829d95a add IsValid function 2013-05-12 12:37:55 +02:00
Oliver Tonnhofer fead6749e5 update stats output 2013-05-10 13:56:42 +02:00
Oliver Tonnhofer a396cd2fb0 add GOPOSM_DBIMPORT_BATCHSIZE env variable 2013-05-10 11:24:26 +02:00
Oliver Tonnhofer 614be84a95 add -diff option; write to diffCache from extra goroutines 2013-05-10 11:21:00 +02:00
Oliver Tonnhofer 25b16b437c make bunchSize configurable with GOPOSM_DELTACACHE_BUNCHSIZE env 2013-05-10 11:18:15 +02:00
Oliver Tonnhofer 69ee95fa27 use idToKeyBuf in diff and delta cache 2013-05-10 11:11:29 +02:00
Oliver Tonnhofer 27de965bd5 do not log minor errors 2013-05-10 10:57:06 +02:00
Oliver Tonnhofer bf05807b99 do not try to create public schema 2013-05-10 10:29:44 +02:00
Oliver Tonnhofer 24c928a102 only create schema when it does not exists 2013-05-10 10:26:37 +02:00
Oliver Tonnhofer ea40987895 check errors during db.Init and db.InsertWays 2013-05-10 10:26:13 +02:00
Oliver Tonnhofer 271982009f add -connection commandline 2013-05-10 10:09:52 +02:00
Oliver Tonnhofer 78c5777918 skip ways with one node 2013-05-10 10:08:31 +02:00
Oliver Tonnhofer f87e5285d1 fixed transformation of node slice 2013-05-10 10:08:00 +02:00
Oliver Tonnhofer 1a4a137a8e check connection on Open 2013-05-10 10:01:47 +02:00
Oliver Tonnhofer e517f5f3fc first postgis writer 2013-05-08 16:45:14 +02:00
Oliver Tonnhofer 2f8a72777c fix bunchId when storing coords directly 2013-05-08 15:45:03 +02:00
Oliver Tonnhofer 8ad66f762f fixed long/lat mixup in unpackNodes 2013-05-08 15:44:34 +02:00
Oliver Tonnhofer 905df4f3e6 tweak leveldb blockrestartinterval 2013-05-08 09:12:57 +02:00
Oliver Tonnhofer 166a6dff02 do not use varint for leveldb key but int64 2013-05-07 13:56:32 +02:00
Oliver Tonnhofer cc28221bb8 add GOPOSM_LEVELDB_ env vars 2013-05-07 11:42:27 +02:00
Oliver Tonnhofer 0ad07b34b2 add GOPOSM_SKIP_ env vars 2013-05-07 11:42:05 +02:00
Oliver Tonnhofer 2ffd4bbdaa update stats output for larger numbers 2013-05-07 11:41:39 +02:00
Oliver Tonnhofer 95470f1f2a print stats on separate line when running with GOGCTRACE 2013-05-07 10:52:05 +02:00
Oliver Tonnhofer 768d04ad56 add first simple tag filtering 2013-05-07 10:13:09 +02:00
Oliver Tonnhofer 79db75e51a do not synchronize writes to "complete" bunches 2013-05-07 09:14:58 +02:00
Oliver Tonnhofer 42dbbb654a fixed tests after move of packages 2013-05-07 07:56:09 +02:00
Oliver Tonnhofer d7ce2053d2 Merge branch 'master' of bitbucket.org:olt/goposm 2013-05-07 07:51:58 +02:00
Oliver Tonnhofer a7f58cbfe1 add test for DeltaaCoordsCache; fixed missing inserted nodes 2013-05-07 07:51:50 +02:00
Oliver Tonnhofer b50fd9a04f add geos wrapper 2013-05-06 19:24:49 +02:00
Oliver Tonnhofer f435614f5c add first sql example 2013-05-06 19:14:37 +02:00
Oliver Tonnhofer 828f96e1d7 clean up binary package 2013-05-06 16:54:19 +02:00
Oliver Tonnhofer d88b372ff2 fixed import 2013-05-06 16:49:48 +02:00
Oliver Tonnhofer a1433c49ca mv model package inside binary package 2013-05-06 16:21:00 +02:00
Oliver Tonnhofer eb046f1d19 move osmpbf package to parser 2013-05-06 16:18:29 +02:00
Oliver Tonnhofer 1897a0d30d add proj.wgsToMerc/mercToWgs functions 2013-05-06 16:17:35 +02:00
Oliver Tonnhofer d159ccac0e add PointWKB function 2013-05-06 16:17:07 +02:00