Commit Graph

734 Commits (8f8bebb843549089a2809a0522032d5bee0265d9)

Author SHA1 Message Date
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
Oliver Tonnhofer 6cd1afb9ad add permutations tests for lineMerge; fix lineMerge 2013-05-06 15:34:09 +02:00
Oliver Tonnhofer 8f5d0d0c44 new DiffCache; improved progress report 2013-05-06 14:20:00 +02:00
Oliver Tonnhofer 40c8b04181 keep ref ids in RefIndex sorted 2013-05-06 13:42:58 +02:00
Oliver Tonnhofer 1f0fca5552 move cache/index to cache/diff 2013-05-06 13:19:56 +02:00
Oliver Tonnhofer 6034befe52 add -read/-write/-overwritecache options 2013-05-06 12:51:30 +02:00
Oliver Tonnhofer 75a575c247 rename main package file to goposm 2013-05-06 11:11:12 +02:00
Oliver Tonnhofer 92338e8d7c add -cpupofile and -cachedir option 2013-05-06 11:10:37 +02:00
Oliver Tonnhofer 80d813d217 use smaller delta node bunch size 2013-05-06 11:09:21 +02:00
Oliver Tonnhofer 045a00c84f add status reporter 2013-05-06 11:03:52 +02:00
Oliver Tonnhofer 232443dc16 handle dense nodes with empty KeysVals 2013-05-06 10:50:55 +02:00
Oliver Tonnhofer 34409088d7 make wayFill parallel 2013-05-06 10:21:03 +02:00
Oliver Tonnhofer 0cf5b90120 add osmpbf package 2013-05-06 07:29:43 +02:00