Commit Graph

29 Commits (0f096497753fef47c20cf4532f757223ec81aa96)

Author SHA1 Message Date
Oliver Tonnhofer 03dc885462 reorganized cache package 2013-05-17 15:30:22 +02:00
Oliver Tonnhofer 0833105371 move binary package into cache package 2013-05-17 15:10: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 f4e9d2c841 make chache dir on Open() if missing 2013-05-17 10:28:32 +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 5c174a3ff6 import nodes into db 2013-05-15 13:21:31 +02:00
Oliver Tonnhofer 6aaa753eb8 make fields in table mapping a list 2013-05-15 08:15:57 +02:00
Oliver Tonnhofer aea54fd050 limit max open files for leveldbs 2013-05-13 15:28:39 +02:00
Oliver Tonnhofer cba18797e9 removed go vet warnings 2013-05-13 10:55:08 +02:00
Oliver Tonnhofer 319927d47f update deltaCacheBunchSize 2013-05-13 10:40:18 +02:00
Oliver Tonnhofer 25b16b437c make bunchSize configurable with GOPOSM_DELTACACHE_BUNCHSIZE env 2013-05-10 11:18:15 +02:00
Oliver Tonnhofer 905df4f3e6 tweak leveldb blockrestartinterval 2013-05-08 09:12:57 +02:00
Oliver Tonnhofer 166a6dff02 do not use varint for leveldb key but int64 2013-05-07 13:56:32 +02:00
Oliver Tonnhofer cc28221bb8 add GOPOSM_LEVELDB_ env vars 2013-05-07 11:42:27 +02:00
Oliver Tonnhofer 768d04ad56 add first simple tag filtering 2013-05-07 10:13:09 +02:00
Oliver Tonnhofer 6034befe52 add -read/-write/-overwritecache options 2013-05-06 12:51:30 +02:00
Oliver Tonnhofer 6ab604da0e create OSMCache 2013-05-04 16:27:05 +02:00
Oliver Tonnhofer 7247a1c7fd read back relations/ways; fill ways with nodes from cache 2013-05-02 20:37:31 +02:00
Oliver Tonnhofer 7c2c5c490a add separate cache for nodes and coords 2013-05-02 18:45:33 +02:00
Oliver Tonnhofer 7f28d079fb write everything to cache in batches 2013-04-20 16:50:23 +02:00
Oliver Tonnhofer 8efa1fae9b add error handling for cache 2013-04-16 21:14:19 +02:00
Oliver Tonnhofer 064f7df428 DeltaCoordsCache with LRU cache 2013-04-15 21:54:48 +02:00
Oliver Tonnhofer d8cfe75b71 store coords in bunches 2013-04-14 14:50:38 +02:00
Oliver Tonnhofer 74a388887d full parsing and caching; first delta encoding of coords 2013-04-11 19:50:20 +02:00
Oliver Tonnhofer 79b528d53e parse and cache pbf files 2013-04-08 21:45:13 +02:00
Oliver Tonnhofer 1ad4f7931c hackahoy! parsing of nodes/ways/relations; marshaling 2013-04-02 22:07:27 +02:00
Oliver Tonnhofer 17484a68e9 more hacking 2013-02-12 19:45:49 +01:00