Oliver Tonnhofer
ae4197a147
writer: do not use GEOS for LineString geometries
2017-11-21 15:27:10 +01:00
Oliver Tonnhofer
a367850f6f
writer: do not check for validity of simple polygons
...
Skips slow GEOS IsValid calls for polygons with only 4 corners.
They can be invalid, but its more unlikely to get simple polygons
wrong and even if, it should affect only small polygons like buildings.
2017-11-21 14:43:20 +01:00
Oliver Tonnhofer
e245e01b95
geom: cache geos wkb writer
2017-11-21 14:43:20 +01:00
Oliver Tonnhofer
c161339d89
mapping: check if geom is non null before calculating area
2017-11-21 14:43:20 +01:00
Oliver Tonnhofer
25b4c01917
cache: support new leveldb (>=1.21) max-file-size option
...
requires build/install with -tags="ldbpost121"
2017-11-21 14:43:20 +01:00
Oliver Tonnhofer
93c5298712
packaging: do not build proto files in ./vendor/
2017-11-21 14:43:20 +01:00
Oliver Tonnhofer
3ac986a498
code: remove unused functions/conversions
2017-11-21 14:43:20 +01:00
Oliver Tonnhofer
8d8694976c
test: fix state from PBF test, sequence is only estimated
2017-11-21 14:43:20 +01:00
Oliver Tonnhofer
d8bccbe35a
test: move test helper into test file
2017-11-21 14:43:20 +01:00
Oliver Tonnhofer
e79386a1af
writer: remove old-style-multipolygon handling
2017-11-21 14:43:11 +01:00
Oliver Tonnhofer
7bb3908bce
travis: try to fix vendor path stuff
2017-11-15 15:34:18 +01:00
Oliver Tonnhofer
59b1974dfd
travis: update dependencies
2017-11-15 15:23:43 +01:00
Oliver Tonnhofer
7244552479
fix test error output
2017-11-15 15:13:57 +01:00
Oliver Tonnhofer
864796f224
update travis config
2017-11-15 15:07:35 +01:00
Oliver Tonnhofer
3b158a4107
add test for parsing state from pbf
2017-11-15 14:59:52 +01:00
Oliver Tonnhofer
70bfd56c86
update LICENSE for dependencies
2017-11-15 14:25:27 +01:00
Oliver Tonnhofer
6cce5a42cc
update README
2017-11-15 14:22:14 +01:00
Oliver Tonnhofer
9bbdf89e7c
do not set GO15VENDOREXPERIMENT
2017-11-15 14:22:02 +01:00
Oliver Tonnhofer
7dd4980fe4
do not build protobuf files in vendor/
2017-11-15 14:18:48 +01:00
Oliver Tonnhofer
a5cbe077be
update vendorized dependencies; use dep
2017-11-15 14:18:24 +01:00
Oliver Tonnhofer
88bca58fd1
update to github.com/gogo/protobuf
2017-11-15 13:57:30 +01:00
Oliver Tonnhofer
9be1e5abc3
Merge pull request #152 from yohanboniface/fields-columns
...
Change "fields" to "columns" in mapping examples
2017-10-18 09:04:23 +02:00
Yohan Boniface
613e5f3c68
Change "fields" to "columns" in mapping examples
2017-10-17 21:33:59 +02:00
Oliver Tonnhofer
89874b5d79
update docs for new filter
2017-07-17 13:43:08 +02:00
Oliver Tonnhofer
cdb0da0620
rename an extend tests cases
2017-07-17 12:32:38 +02:00
Oliver Tonnhofer
fc2d93c0a2
rename test file
2017-07-17 11:47:33 +02:00
Oliver Tonnhofer
aa1c2cd8f7
move mapping into test case
2017-07-17 11:46:41 +02:00
ImreSamu
882198f82b
refactoring
2017-06-03 13:47:22 +02:00
ImreSamu
5ed8331937
Merge branch 'master' into filter_reject_require_v1
2017-06-03 02:49:45 +02:00
Oliver Tonnhofer
7913d4873f
allow to set -diff-state-before option in config (with diff_state_before)
2017-05-22 17:02:18 +02:00
Oliver Tonnhofer
5e69180699
add newline
2017-05-19 13:22:53 +02:00
Oliver Tonnhofer
3f00374318
bump version
2017-05-19 13:08:38 +02:00
Oliver Tonnhofer
a96e0caf8a
update lib/pq
2017-05-18 11:30:12 +02:00
Oliver Tonnhofer
29d1882bda
support pg connection parameters as list, instead of URL to suport sockets
2017-05-18 11:26:25 +02:00
Oliver Tonnhofer
073dfeb8cf
only delete from matched tables
2017-05-16 16:30:00 +02:00
Oliver Tonnhofer
688d62e023
Merge pull request #147 from omniscale/mapping-errors
...
Exit early on errors in mapping file
2017-05-15 11:23:50 +02:00
Oliver Tonnhofer
119beee4e5
Merge pull request #146 from omniscale/remove-old-style-multipolygon-support
...
Remove old style multipolygon support
2017-05-15 11:21:24 +02:00
Oliver Tonnhofer
55e37a0aff
require type_mapping for geometry tables
...
Closes #91
2017-05-12 15:04:39 +02:00
Oliver Tonnhofer
18d14fbb9a
exit on errors in mapping before starting -read
...
closes #131
2017-05-12 14:52:20 +02:00
Oliver Tonnhofer
b3c8e350ba
extend package documentation
2017-05-11 13:32:42 +02:00
Oliver Tonnhofer
d439c21623
rename Table/ColumnSpec to row/valueBuilder
2017-05-11 13:32:28 +02:00
Oliver Tonnhofer
677b306d22
rename mapping/config.go to mapping/mapping.go
2017-05-11 11:09:53 +02:00
Oliver Tonnhofer
e211940af3
separate mapping config from mapping logic
...
create new imposm3/mapping/config package that includes
all "dumb" config structs
2017-05-11 11:08:06 +02:00
Oliver Tonnhofer
a30442d254
refactor code structure
2017-05-11 09:37:12 +02:00
Oliver Tonnhofer
ef89d91ae8
rename files from fields* to columns*
2017-05-10 16:45:16 +02:00
Oliver Tonnhofer
67cb925eed
rename *Field types, functions and vars to *Column
2017-05-10 16:38:30 +02:00
Oliver Tonnhofer
79754e1f8a
use columns instead of fields
2017-05-10 16:37:51 +02:00
Oliver Tonnhofer
adb50e2b3b
fix relation_types filter
2017-05-10 15:54:03 +02:00
Oliver Tonnhofer
6b1766cea1
update documentation with relation_type and removed old-style multipolygon support
2017-05-10 14:24:06 +02:00
Oliver Tonnhofer
7157b5252a
add relation_type
2017-05-10 14:23:32 +02:00