Commit Graph

63 Commits (cf984157ddd3c975c061cb354f31f8016597b42d)

Author SHA1 Message Date
Oliver Tonnhofer bb083e9442 do not overwrite GOMAXPROCS env 2013-06-20 17:10:57 +02:00
Oliver Tonnhofer 03d96b5aae fixed closing of caches 2013-06-20 10:34:22 +02:00
Oliver Tonnhofer ecd5541c1e close caches earlier to release memory; optimize read only access for coords 2013-06-20 09:21:30 +02:00
Oliver Tonnhofer 6579da5526 set SRID in AddGeometryColumn; write geoms as EWKB 2013-06-19 09:19:21 +02:00
Oliver Tonnhofer 4e921b723d Merge branch 'master' into singletransaction 2013-06-18 15:53:14 +02:00
Oliver Tonnhofer e6f880883b make cache options configurable 2013-06-18 15:53:04 +02:00
Oliver Tonnhofer 8a9fe9bf2f first import with single transaction per table 2013-06-11 14:12:45 +02:00
Oliver Tonnhofer 4f4cba0174 write ways first, then nodes 2013-06-05 13:27:10 +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 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