Oliver Tonnhofer
|
881e138c13
|
cache relation members
|
2013-05-15 14:32:13 +02:00 |
Oliver Tonnhofer
|
0e70f383d9
|
fixed memory leak in geos WKB/WKT calls
|
2013-05-15 13:49:41 +02:00 |
Oliver Tonnhofer
|
c907b6afd0
|
refactored main write routine a bit
|
2013-05-15 13:25:29 +02:00 |
Oliver Tonnhofer
|
5c174a3ff6
|
import nodes into db
|
2013-05-15 13:21:31 +02:00 |
Oliver Tonnhofer
|
32373dec32
|
refactored database package structure
|
2013-05-15 13:00:42 +02:00 |
Oliver Tonnhofer
|
0d2be27981
|
make schema configurable from -connection url
|
2013-05-15 11:47:06 +02:00 |
Oliver Tonnhofer
|
6167e89f3c
|
use db.Ping for connection check
|
2013-05-15 11:06:35 +02:00 |
Oliver Tonnhofer
|
36341c7575
|
refactored fields mapping
|
2013-05-15 11:05:02 +02:00 |
Oliver Tonnhofer
|
c875284b8c
|
write wkb/area to postgis
|
2013-05-15 09:49:38 +02:00 |
Oliver Tonnhofer
|
6aaa753eb8
|
make fields in table mapping a list
|
2013-05-15 08:15:57 +02:00 |
Oliver Tonnhofer
|
bcb5c9e9f3
|
insert into multiple tables
|
2013-05-14 16:15:35 +02:00 |
Oliver Tonnhofer
|
8ea0572410
|
fixed cache/diff test
|
2013-05-14 11:54:39 +02:00 |
Oliver Tonnhofer
|
d51cda1ffc
|
move config package into mapping package
|
2013-05-14 10:04:11 +02:00 |
Oliver Tonnhofer
|
560f659b5b
|
convert first column value
|
2013-05-14 09:56:11 +02:00 |
Oliver Tonnhofer
|
84bc8e0fb1
|
flush deltacoordscache after -read
|
2013-05-14 09:26:28 +02:00 |
Oliver Tonnhofer
|
aea54fd050
|
limit max open files for leveldbs
|
2013-05-13 15:28:39 +02:00 |
Oliver Tonnhofer
|
00405b232b
|
build linestring and/or polygons depending on the mapping
|
2013-05-13 15:19:39 +02:00 |
Oliver Tonnhofer
|
460f386a24
|
use delta encoding for way.Ref
|
2013-05-13 14:24:57 +02:00 |
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 |