Commit Graph

55 Commits (e1179a08b9b1d6cbe6d89d9a0f216617176d275f)

Author SHA1 Message Date
Oliver Tonnhofer e30a94a934 add -httpprofile option 2013-05-30 16:18:48 +02:00
Oliver Tonnhofer 268703877b store way->rel coord->way->rel for relations in -diff mode 2013-05-30 16:04:40 +02:00
Oliver Tonnhofer 773cbaac94 write coords->way index 2013-05-30 12:00:11 +02:00
Oliver Tonnhofer 51ccd02645 add -quiet option 2013-05-29 14:19:47 +02:00
Oliver Tonnhofer 767fe37eb1 fix -limitto from multipolygons 2013-05-28 16:06:52 +02:00
Oliver Tonnhofer 08e906a019 log more steps 2013-05-28 14:42:14 +02:00
Oliver Tonnhofer b3d1dbdbd0 log steps 2013-05-28 14:07:06 +02:00
Oliver Tonnhofer 4739fcc484 add -limitto option 2013-05-28 08:59:59 +02:00
Oliver Tonnhofer f320a919ab first work on logging framework 2013-05-23 17:53:58 +02:00
Oliver Tonnhofer a64ed7306c add generalized tables 2013-05-22 11:48:34 +02:00
Oliver Tonnhofer ab9480e1ee create spatial indices 2013-05-22 09:49:03 +02:00
Oliver Tonnhofer 631470bbd9 add -removebackup option 2013-05-22 08:46:39 +02:00
Oliver Tonnhofer 599a1d39f5 add -deployproduction -revertdeploy options 2013-05-22 08:36:37 +02:00
Oliver Tonnhofer c66d075d3b add null db for --dry-run 2013-05-21 12:14:05 +02:00
Oliver Tonnhofer 87ae24686a renamed database variable 2013-05-21 09:50:55 +02:00
Oliver Tonnhofer 18eadb0f51 refactored nodes/ways/relation writing in to wtire package 2013-05-21 09:50:10 +02:00
Oliver Tonnhofer ff5e3e96aa refactored parser/cache code into reader package 2013-05-21 09:07:37 +02:00
Oliver Tonnhofer bf3f233765 refactored InsertBuffer/DbWriter 2013-05-21 07:52:03 +02:00
Oliver Tonnhofer c4fb0d8a21 make chanels buffered 2013-05-17 17:15:02 +02:00
Oliver Tonnhofer 2b15732a5f silence missing node/ways warnings 2013-05-17 17:08:33 +02:00
Oliver Tonnhofer bec1509975 filter inplace 2013-05-17 16:28:16 +02:00
Oliver Tonnhofer 37b228f54e supress errors for incomplete rings 2013-05-17 13:05:59 +02:00
Oliver Tonnhofer decb17cb4c mark/skip inserted ways from mulitpolygon relations; reproject relation geometries 2013-05-17 12:06:50 +02:00
Oliver Tonnhofer 2776061ba7 insert relations into db 2013-05-17 11:42:19 +02:00
Oliver Tonnhofer 9b72f02381 improve error handling in cache; add NotFound error 2013-05-16 15:48:22 +02:00
Oliver Tonnhofer 516da08599 first mulitppolygon builder 2013-05-16 12:17:21 +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 c875284b8c write wkb/area to postgis 2013-05-15 09:49:38 +02:00
Oliver Tonnhofer bcb5c9e9f3 insert into multiple tables 2013-05-14 16:15:35 +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 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 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 e924de90af use buffered chan for ref cache 2013-05-13 07:37:32 +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 27de965bd5 do not log minor errors 2013-05-10 10:57:06 +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 e517f5f3fc first postgis writer 2013-05-08 16:45:14 +02:00