Commit Graph

333 Commits (d6fcfc6c236e5251aeed1a4a379a7bb1581d3712)

Author SHA1 Message Date
Oliver Tonnhofer d6fcfc6c23 more refactoring 2013-08-06 17:22:31 +02:00
Oliver Tonnhofer ef3db821be refactored IdRefs mashaling into cache/binary 2013-08-06 16:14:29 +02:00
Oliver Tonnhofer 9df027e29b refactored diff cache 2013-08-06 15:39:42 +02:00
Oliver Tonnhofer 7d78ff85de removed unused functions 2013-08-06 15:36:21 +02:00
Oliver Tonnhofer d89a9f2832 implement DeleteFromWay 2013-08-06 15:29:30 +02:00
Oliver Tonnhofer 63794491f6 enable LinearImport for diffCache during import 2013-08-05 12:51:25 +02:00
Oliver Tonnhofer 639c206b16 remove way references from diff cache 2013-08-05 12:05:15 +02:00
Oliver Tonnhofer fedb2a8914 add linear import and direct import mode to diff cache 2013-08-05 12:05:06 +02:00
Oliver Tonnhofer d048f33a61 test for changes in diffcache 2013-08-02 13:22:43 +02:00
Oliver Tonnhofer 6857c1f011 add integration tests 2013-08-02 10:58:15 +02:00
Oliver Tonnhofer f3155e9b7a fixed pbf test 2013-08-02 10:55:52 +02:00
Oliver Tonnhofer e0e3358b6d query for multiple nodes/ways/relations 2013-08-02 10:14:05 +02:00
Oliver Tonnhofer 191632ea0c dump query-cache output as json 2013-08-02 10:08:01 +02:00
Oliver Tonnhofer 87d79a576d refactored command parsing; update --help 2013-08-01 16:19:20 +02:00
Oliver Tonnhofer 0aba137bb8 add cache/query as subcommand 2013-08-01 15:31:47 +02:00
Oliver Tonnhofer b5d578175f remove members of deleted relation from InsertedWaysCache 2013-08-01 14:07:06 +02:00
Oliver Tonnhofer c38105b3d1 fixed check if coords of way are cached 2013-08-01 14:06:35 +02:00
Oliver Tonnhofer efec87a40c improve cache/query output 2013-08-01 13:35:00 +02:00
Oliver Tonnhofer 9716a0c5cf check for geometryLimiter before accessing it 2013-08-01 13:34:32 +02:00
Oliver Tonnhofer 9600eafa9c add mutex for concurrent access to Limiter.IntersectsBuffer 2013-07-30 08:39:07 +02:00
Oliver Tonnhofer 7500984424 use buffered geometry limiter in diff import 2013-07-30 08:30:06 +02:00
Oliver Tonnhofer 4ec962f002 renamed geom/clipper to geom/limit 2013-07-30 08:17:47 +02:00
Oliver Tonnhofer 0f10433ed5 new buffered clipper 2013-07-30 08:01:15 +02:00
Oliver Tonnhofer 61b8f9478d load -limito for diff import 2013-07-29 17:03:15 +02:00
Oliver Tonnhofer 230bec58c4 only cache added relations and ways when we have referenced ways/coords 2013-07-29 16:59:05 +02:00
Oliver Tonnhofer e3b653de6d fixed diff parser for relations 2013-07-29 16:55:17 +02:00
Oliver Tonnhofer 07f4009033 refactored progress statistics (display progress in percent) 2013-07-29 15:47:09 +02:00
Oliver Tonnhofer ea76544cd9 fixed data race 2013-07-29 15:46:26 +02:00
Oliver Tonnhofer 1b3b7be949 Merge branch 'subcommands' 2013-07-29 09:51:42 +02:00
Oliver Tonnhofer 53ebc4ead4 refactor rps counter 2013-07-29 09:51:38 +02:00
Oliver Tonnhofer df0131213d use log.Fatal instead of die()-wrapper 2013-07-29 09:34:00 +02:00
Oliver Tonnhofer 8238471ec5 open/test db connection before opening/cleaning cache 2013-07-29 09:31:08 +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 93ad3fb426 list available commands; show cmd options on error 2013-07-29 08:35:55 +02:00
Oliver Tonnhofer d5219cbf6b mv diff/cmd/process to diff/ 2013-07-29 08:18:08 +02:00
Oliver Tonnhofer 04714e266c fixed parsing of diff command options 2013-07-26 15:59:03 +02:00
Oliver Tonnhofer 4c7fefb52b first unification of import/diff command 2013-07-25 11:28:16 +02:00
Oliver Tonnhofer 9eeac15f48 store replicationUrl in last.state.txt 2013-07-22 16:04:32 +02:00
Oliver Tonnhofer c6bad82131 moved state.go to diff/state package 2013-07-19 09:35:21 +02:00
Oliver Tonnhofer 4a0abacbc5 save timestamp after initial diff import 2013-07-19 09:29:51 +02:00
Oliver Tonnhofer 25cd7bfdc3 parse pbf header block with timestamp; check required pbf features 2013-07-17 10:24:39 +02:00
Oliver Tonnhofer 8fa52a13e7 first diff download code 2013-07-17 09:10:43 +02:00
Oliver Tonnhofer c124c65f31 read/store diff state 2013-07-16 14:03:47 +02:00
Oliver Tonnhofer 7e5e2ce86d skip ways without tags 2013-07-15 11:41:03 +02:00
Oliver Tonnhofer 198f2d925f filter by relation tags before finishing the multipolygon 2013-07-15 11:39:43 +02:00
Oliver Tonnhofer f65b23a1c7 only expire tiles when way/rel was inserted 2013-07-15 11:14:03 +02:00
Oliver Tonnhofer 5f0d7ed3dd expire tiles with removed data 2013-07-12 16:41:52 +02:00
Oliver Tonnhofer 79afd6514f expire nodes 2013-07-12 15:12:56 +02:00
Oliver Tonnhofer e21137b9b6 write expired tiles in single transaction 2013-07-12 15:12:44 +02:00