Commit Graph

368 Commits (204332bef40b3bec7a5a04e4be761174caa22248)

Author SHA1 Message Date
Oliver Tonnhofer a415956ca7 create goroutine for each TableTx 2013-06-11 14:21:27 +02:00
Oliver Tonnhofer 8a9fe9bf2f first import with single transaction per table 2013-06-11 14:12:45 +02:00
Oliver Tonnhofer aa2c24b8d2 reorganized postgis package 2013-06-11 10:42:32 +02:00
Oliver Tonnhofer bad86777af add script for taginfo extract 2013-06-11 10:31:22 +02:00
Oliver Tonnhofer dbca8bcae5 create index on osm ids 2013-06-11 10:30:16 +02:00
Oliver Tonnhofer 0f15bacdf7 implement Deleter interface for PostGIS 2013-06-11 10:29:59 +02:00
Oliver Tonnhofer 9ccd303f93 new Deleter interface 2013-06-11 10:29:21 +02:00
Oliver Tonnhofer 76e2cc3949 return parsed diff elements in chan 2013-06-11 10:28:00 +02:00
Oliver Tonnhofer fd60373b58 reduce buffer sizes 2013-06-07 15:39:08 +02:00
Oliver Tonnhofer d6c9e1ee14 destroy geoms immediately after errors 2013-06-07 15:38:29 +02:00
Oliver Tonnhofer 84ab38c33d update comment 2013-06-05 13:27:23 +02:00
Oliver Tonnhofer 4f4cba0174 write ways first, then nodes 2013-06-05 13:27:10 +02:00
Oliver Tonnhofer e1179a08b9 remove misplaced defer 2013-06-05 13:01:26 +02:00
Oliver Tonnhofer 469b585217 do not show geos notice messages 2013-06-05 12:21:55 +02:00
Oliver Tonnhofer eb72ab9c0f destroy prepared geometry in multipolygon builder 2013-06-05 11:57:38 +02:00
Oliver Tonnhofer 6f191a49e2 validate mulitpolygons 2013-06-05 11:53:01 +02:00
Oliver Tonnhofer 4a61314f32 add tests for idToKeyBuf/idFromKeyBuf 2013-06-05 11:13:19 +02:00
Oliver Tonnhofer b1de9ebfdd store common keys as single char 2013-06-05 10:10:04 +02:00
Oliver Tonnhofer 618deea4a9 store common tags as single unicode char 2013-06-05 09:39:22 +02:00
Oliver Tonnhofer bd3024b88c release getBunch lock before loading missing coords from cache 2013-06-05 08:05:31 +02:00
Oliver Tonnhofer 9f48dbbab9 update serialize tests for removed ids 2013-06-05 08:04:53 +02:00
Oliver Tonnhofer f31323f975 do not store Ids in cache value, already stored as the key 2013-06-05 07:47:28 +02:00
Oliver Tonnhofer 384e3060af use prepared geometries during mulipolygon build 2013-06-04 09:41:59 +02:00
Oliver Tonnhofer 659a140afc do not use bytes.Buffer for idToKeyBuf 2013-06-04 09:34:24 +02:00
Oliver Tonnhofer c00cfaf030 fixed idToKeyBuf result 2013-06-03 13:12:20 +02:00
Oliver Tonnhofer b993c55990 make number of reader procs configurable 2013-06-03 12:47:03 +02:00
Oliver Tonnhofer 2649fc05cf reduce delta cache size 2013-06-03 12:46:33 +02:00
Oliver Tonnhofer d95442d580 create keybuffer with fixed size 2013-06-03 11:21:34 +02:00
Oliver Tonnhofer 0237f72b27 improve reuse of cached []byte buffer 2013-06-03 11:04:15 +02:00
Oliver Tonnhofer 64da1ef0b0 cache []byte for MarshalDeltaNodes 2013-06-03 11:03:45 +02:00
Oliver Tonnhofer f1623d1432 create tag maps only when needed 2013-06-03 11:03:19 +02:00
Oliver Tonnhofer 767e4f7ce8 improve diff parser 2013-05-31 15:49:22 +02:00
Oliver Tonnhofer abda12bb77 renamed diffcache files 2013-05-31 14:57:08 +02:00
Oliver Tonnhofer d7bc9a203b use gotypes as postgis type selector 2013-05-31 14:48:16 +02:00
Oliver Tonnhofer 41990aefe4 add string_suffixreplace type 2013-05-31 14:24:22 +02:00
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 4d7ac8f87f flush log output before shutdown 2013-05-29 08:47:44 +02:00
Oliver Tonnhofer e442bfde56 check table type in mappings 2013-05-29 08:47:26 +02:00
Oliver Tonnhofer c7e2959b69 increase writer buffers 2013-05-28 16:52:52 +02:00
Oliver Tonnhofer 030c2f0fbf use larger buffer for geos error messages 2013-05-28 16:52:37 +02:00
Oliver Tonnhofer b5408e9376 handle empty intersection results 2013-05-28 16:16:24 +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 ac3810e17c refactored writer package 2013-05-28 12:54:19 +02:00
Oliver Tonnhofer 2a699a09c8 refactored geos package 2013-05-28 11:10:19 +02:00
Oliver Tonnhofer 5eed0502ea improve memory handling of geos geometries 2013-05-28 09:33:59 +02:00