Commit Graph

846 Commits (master)

Author SHA1 Message Date
Oliver Tonnhofer f106aaafd0 update mapping.json 2013-05-21 14:39:34 +02:00
Oliver Tonnhofer 0041b01856 support zorder fields 2013-05-21 14:39:24 +02:00
Oliver Tonnhofer 1f34a2311e handle insterts into columns with ':' in name 2013-05-21 14:36:19 +02:00
Oliver Tonnhofer 9993fb51c6 use buffered channel for freeNodes cache 2013-05-21 13:24:55 +02:00
Oliver Tonnhofer 86a1b85f02 reduce getBunch calls 2013-05-21 13:06:49 +02:00
Oliver Tonnhofer c66d075d3b add null db for --dry-run 2013-05-21 12:14:05 +02:00
Oliver Tonnhofer 0473597fa6 do not use protobuf for delta encoded nodes 2013-05-21 12:13:48 +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 f00e2fa383 use seprarate slice for nodes and coords in parser 2013-05-21 08:52:14 +02:00
Oliver Tonnhofer bf3f233765 refactored InsertBuffer/DbWriter 2013-05-21 07:52:03 +02:00
Oliver Tonnhofer 564344096b add field test/update filter test 2013-05-21 07:08:24 +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 c3383fc8b1 fixed filter test 2013-05-17 15:55:31 +02:00
Oliver Tonnhofer 60a7d80993 refactoring of the mapping package 2013-05-17 15:44:50 +02:00
Oliver Tonnhofer 81d818a0c4 fixed cache tests 2013-05-17 15:33:36 +02:00
Oliver Tonnhofer 03dc885462 reorganized cache package 2013-05-17 15:30:22 +02:00
Oliver Tonnhofer 853a45296f combine internal.proto and model.proto 2013-05-17 15:16:24 +02:00
Oliver Tonnhofer 0833105371 move binary package into cache package 2013-05-17 15:10:59 +02:00
Oliver Tonnhofer 65a38c0ba3 add exclude_tags filter 2013-05-17 15:07:03 +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 dc59e013fe add simple query tool 2013-05-17 10:30:58 +02:00
Oliver Tonnhofer 051ad58a3c update cache test for updated error handling 2013-05-17 10:28:51 +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 5b7f6b1780 update tags and rel.Members list in BuildRelation 2013-05-16 15:15:58 +02:00
Oliver Tonnhofer 516da08599 first mulitppolygon builder 2013-05-16 12:17:21 +02:00
Oliver Tonnhofer 881e138c13 cache relation members 2013-05-15 14:32:13 +02:00
Oliver Tonnhofer 0e70f383d9 fixed memory leak in geos WKB/WKT calls 2013-05-15 13:49:41 +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 0d2be27981 make schema configurable from -connection url 2013-05-15 11:47:06 +02:00
Oliver Tonnhofer 6167e89f3c use db.Ping for connection check 2013-05-15 11:06:35 +02:00
Oliver Tonnhofer 36341c7575 refactored fields mapping 2013-05-15 11:05:02 +02:00
Oliver Tonnhofer c875284b8c write wkb/area to postgis 2013-05-15 09:49:38 +02:00
Oliver Tonnhofer 6aaa753eb8 make fields in table mapping a list 2013-05-15 08:15:57 +02:00
Oliver Tonnhofer bcb5c9e9f3 insert into multiple tables 2013-05-14 16:15:35 +02:00
Oliver Tonnhofer 8ea0572410 fixed cache/diff test 2013-05-14 11:54:39 +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 aea54fd050 limit max open files for leveldbs 2013-05-13 15:28:39 +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