Commit Graph

129 Commits (60a7d80993b90e8c8fc31d13be7e951c21d3daef)

Author SHA1 Message Date
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
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 319927d47f update deltaCacheBunchSize 2013-05-13 10:40:18 +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
Oliver Tonnhofer 7a6bedb2e5 handle errors in putCoordsPacked 2013-05-13 07:39:38 +02:00
Oliver Tonnhofer 1e361975e2 add back sorting of delta nodes 2013-05-13 07:39:00 +02:00
Oliver Tonnhofer e924de90af use buffered chan for ref cache 2013-05-13 07:37:32 +02:00
Oliver Tonnhofer e6e7fddcc5 Merge branch 'master' of bitbucket.org:olt/goposm 2013-05-13 07:37:04 +02:00
Oliver Tonnhofer 094e5c4ace use delta encoding for ref cache 2013-05-13 07:36:54 +02:00
Oliver Tonnhofer a7d23978b9 first diff xml parser code 2013-05-12 18:50:36 +02:00
Oliver Tonnhofer 40a67247a4 add BenchmarkWKB 2013-05-12 12:38:09 +02:00
Oliver Tonnhofer b57829d95a add IsValid function 2013-05-12 12:37:55 +02:00
Oliver Tonnhofer fead6749e5 update stats output 2013-05-10 13:56:42 +02:00
Oliver Tonnhofer a396cd2fb0 add GOPOSM_DBIMPORT_BATCHSIZE env variable 2013-05-10 11:24:26 +02:00