Commit Graph

63 Commits (8a50a6cfe49a33c89d90b5014b811f37b7bf62f0)

Author SHA1 Message Date
Oliver Tonnhofer 9ac14cc3da support insertedWays in -diff; handle delete of relations 2013-11-05 15:03:32 +01:00
Oliver Tonnhofer 35e66529a7 force synchronous inserts during diff import
this makes sure that the source geometries for generalizes geometries
are inserted
2013-11-01 11:25:41 +01:00
Oliver Tonnhofer 122afae480 revert code change 2013-10-29 17:05:59 +01:00
Oliver Tonnhofer 93edef2681 refactored database API 2013-10-29 16:32:16 +01:00
Oliver Tonnhofer abb7734f8c refactored tableNames method 2013-10-29 15:30:51 +01:00
Oliver Tonnhofer 5d3ab6cbcc add comments 2013-10-29 15:11:58 +01:00
Oliver Tonnhofer 5c59fe8a78 remove unused PostGIS.InsertBatch 2013-10-29 15:06:08 +01:00
Oliver Tonnhofer 337aeafcb8 refactored TxRouter 2013-10-29 15:00:52 +01:00
Oliver Tonnhofer eececc6164 remove print statement 2013-10-29 14:57:50 +01:00
Oliver Tonnhofer 8d95f50eeb create generalized tabels from other generalized tables 2013-10-29 11:40:09 +01:00
Oliver Tonnhofer 05cb832682 use single transaction for non-bulk import 2013-10-29 10:57:31 +01:00
Oliver Tonnhofer b0a0e8d2d5 store Prefix+Name as FullName 2013-10-29 08:28:44 +01:00
Oliver Tonnhofer 753e5a2caa make GeneralizedTableTx synchronous 2013-10-29 08:27:49 +01:00
Oliver Tonnhofer f55516b8ad update generalized tables 2013-10-28 16:33:39 +01:00
Oliver Tonnhofer 999b30d820 move TableTx into tx.go 2013-10-28 14:59:16 +01:00
Oliver Tonnhofer 5e42ef6b98 record updated IDs for updating generalized tables later 2013-10-28 14:55:01 +01:00
Oliver Tonnhofer f4d0435102 move tagmatching to database for deletes 2013-10-28 12:01:57 +01:00
Oliver Tonnhofer 748354ba18 move tag matching into database package 2013-10-28 11:28:56 +01:00
Oliver Tonnhofer 24372771a4 rename InsertBuffer to TxRouter 2013-10-28 08:57:06 +01:00
Oliver Tonnhofer 4af47c15cf avoid duplicate buffer 2013-10-28 08:50:54 +01:00
Oliver Tonnhofer 2fc074e421 add TableType type 2013-10-28 08:42:51 +01:00
Oliver Tonnhofer 1cba6ad9a3 db.Insert takes OSMElem instead of row 2013-10-28 08:42:51 +01:00
Oliver Tonnhofer 52fb1dfd6e add package descriptions 2013-09-02 10:26:29 +02:00
Oliver Tonnhofer 9e454714b8 name package to imposm3 2013-08-29 15:44:31 +02:00
Oliver Tonnhofer ea76544cd9 fixed data race 2013-07-29 15:46:26 +02:00
Oliver Tonnhofer 96220606f2 default to sslmode=disable on localhost 2013-07-29 09:20:17 +02:00
Oliver Tonnhofer 1721a53000 return error for unknown database types 2013-07-29 09:19:51 +02:00
Oliver Tonnhofer 8195dd0b77 handle missing tables in updated dropTableIfExists function 2013-07-08 16:54:45 +02:00
Oliver Tonnhofer f75c8994c8 remove deleted elements from cache in diff mode 2013-07-05 15:14:21 +02:00
Oliver Tonnhofer 0bbe0065d5 refactored PostGIS generalize/optimize 2013-07-04 15:52:14 +02:00
Oliver Tonnhofer 8d32510953 refactored PostGIS.Finish 2013-07-04 15:39:13 +02:00
Oliver Tonnhofer c18802a64e add optimize option 2013-07-04 11:26:53 +02:00
Oliver Tonnhofer 1e6830968d add generalized tables to geometry_columns 2013-07-02 14:14:32 +02:00
Oliver Tonnhofer 048c8261d7 fixed parallel index creation 2013-06-21 15:09:38 +02:00
Oliver Tonnhofer 509ee23db9 wip: update diff importer for single transaction imports 2013-06-21 11:06:05 +02:00
Oliver Tonnhofer c8492b06f7 support non-bulk imports for diff mode 2013-06-21 11:06:05 +02:00
Oliver Tonnhofer c11dc8a55e fixed calculation of worker number 2013-06-20 14:23:06 +02:00
Oliver Tonnhofer 1ad73517bb run generalization and index creation in parallel 2013-06-20 13:44:58 +02:00
Oliver Tonnhofer a13ca37fde create osm id index on generalized tables 2013-06-20 10:34:48 +02:00
Oliver Tonnhofer 6579da5526 set SRID in AddGeometryColumn; write geoms as EWKB 2013-06-19 09:19:21 +02:00
Oliver Tonnhofer d39703aed9 tweaked buffer sizes 2013-06-18 11:48:47 +02:00
Oliver Tonnhofer e520b515ab update import to public name 2013-06-17 15:56:02 +02:00
Oliver Tonnhofer 51b0c2ef4e use COPY FROM STDIN 2013-06-17 15:17:39 +02:00
Oliver Tonnhofer c1353c281a tweaking 2013-06-11 15:09:10 +02:00
Oliver Tonnhofer ef77711c60 truncate table at begin 2013-06-11 14:43:14 +02:00
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 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