Oliver Tonnhofer
8c526b0543
parser: improve error checks
2018-06-05 21:22:26 +02:00
Oliver Tonnhofer
16e9c1dbef
protobuf: recommit .pb.go file for updated timestamps to fix make errors
2018-04-16 18:10:01 +02:00
Oliver Tonnhofer
c6710734ce
protobuf: remove unused code/options from original pbf definition
2018-04-16 18:03:12 +02:00
Oliver Tonnhofer
b7f02225f2
protobuf: set syntax to proto2 to avoid warning
2018-04-16 17:40:49 +02:00
Oliver Tonnhofer
3ac986a498
code: remove unused functions/conversions
2017-11-21 14:43:20 +01:00
Oliver Tonnhofer
88bca58fd1
update to github.com/gogo/protobuf
2017-11-15 13:57:30 +01:00
Oliver Tonnhofer
6469b6c2ff
remove unused custom time type
2016-12-13 11:15:59 +01:00
Oliver Tonnhofer
ecf93839f8
fix data race in barrier for first way|relation callbacks
2016-12-07 13:49:58 +01:00
Oliver Tonnhofer
1b96bd7ece
add test for diff parser
2016-12-06 16:03:40 +01:00
Oliver Tonnhofer
41ddc76250
add changeset parser
2016-12-06 15:53:10 +01:00
Oliver Tonnhofer
aaadf730ac
make osmpbf protobuf package internal
2016-12-06 15:36:16 +01:00
Oliver Tonnhofer
a685d363e5
move diff parser to parser/diff
2016-12-06 15:34:01 +01:00
Oliver Tonnhofer
e3593761b5
refactor parser.pbf API
2016-12-06 14:47:34 +01:00
Ruben Vermeersch
2a77446d51
Expose feature fields in PBF header
2016-09-13 10:21:44 +02:00
Peter Johnson
39eeaf36c1
don't parse elements when chan is nil
2016-08-17 16:59:45 +02:00
Ruben Vermeersch
57fef09c7d
Include replication sequence in pbf header.
2016-03-03 08:55:39 +01:00
Oliver Tonnhofer
838123acc2
fix Benchmarks
2015-11-20 15:03:08 +01:00
Oliver Tonnhofer
29a4d4e10f
add missing test files
2015-08-07 14:17:55 +02:00
Oliver Tonnhofer
593f252504
rebuild .pb.go files
2015-05-15 10:47:29 +02:00
Oliver Tonnhofer
cd5b89c119
update goprotobuf and lib/pq dependencies
2015-05-15 10:42:30 +02:00
Oliver Tonnhofer
dc4f320dd5
close channels in Parse
2015-04-28 11:33:23 +02:00
Oliver Tonnhofer
132d938bb4
refactored pbf parser
...
renamed/document read barrier
2015-04-28 10:33:13 +02:00
Oliver Tonnhofer
c2bb7e7d2e
make block struct private
2015-04-28 09:18:38 +02:00
Oliver Tonnhofer
45fc51e2ca
only write to channels if they are set
2015-04-28 09:16:20 +02:00
Oliver Tonnhofer
be95c572d7
remove unused code
2015-04-28 09:07:53 +02:00
Oliver Tonnhofer
3b73f91a0d
make go gettable
2014-08-04 15:19:35 +02:00
Oliver Tonnhofer
9d02c24ea0
limit ways and relations as well
...
only cache ways if the first coord is cached, only cache relations
if the first member is cached.
we need to sync the read process so that we have all coords cached
before the first way gets checked for limitto.
2013-11-12 09:21:17 +01:00
Oliver Tonnhofer
8959147ccf
refactored parallel parser
2013-11-11 13:59:53 +01:00
Oliver Tonnhofer
600dfa1b61
fixed package of pbf/doc.go
2013-09-02 10:48:32 +02:00
Oliver Tonnhofer
52fb1dfd6e
add package descriptions
2013-09-02 10:26:29 +02:00
Oliver Tonnhofer
28ab6cd5d9
add empty parser package
2013-09-02 09:01:48 +02:00
Oliver Tonnhofer
9e454714b8
name package to imposm3
2013-08-29 15:44:31 +02:00
Oliver Tonnhofer
f3155e9b7a
fixed pbf test
2013-08-02 10:55:52 +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
eb449b2636
support for uncompressed pbf
2013-07-05 10:06:55 +02:00
Oliver Tonnhofer
a5be2de690
refactored parser API
2013-07-05 09:57:03 +02:00
Oliver Tonnhofer
5398171a23
renamed pbf parser package to parser/pbf
2013-07-05 09:35:16 +02:00
Oliver Tonnhofer
f1623d1432
create tag maps only when needed
2013-06-03 11:03:19 +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
c4fb0d8a21
make chanels buffered
2013-05-17 17:15:02 +02:00
Oliver Tonnhofer
cba18797e9
removed go vet warnings
2013-05-13 10:55:08 +02:00
Oliver Tonnhofer
42dbbb654a
fixed tests after move of packages
2013-05-07 07:56:09 +02:00
Oliver Tonnhofer
d88b372ff2
fixed import
2013-05-06 16:49:48 +02:00
Oliver Tonnhofer
eb046f1d19
move osmpbf package to parser
2013-05-06 16:18:29 +02:00
Oliver Tonnhofer
232443dc16
handle dense nodes with empty KeysVals
2013-05-06 10:50:55 +02:00
Oliver Tonnhofer
0cf5b90120
add osmpbf package
2013-05-06 07:29:43 +02:00
Oliver Tonnhofer
bf4c5ee31f
use slices for deltacoords; store ref index
2013-05-05 20:14:39 +02:00
Oliver Tonnhofer
7c2c5c490a
add separate cache for nodes and coords
2013-05-02 18:45:33 +02:00