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
7157b5252a
add relation_type
2017-05-10 14:23:32 +02:00
Oliver Tonnhofer
b4cf7b91f3
update tag filtering
2017-05-09 15:55:21 +02:00
Oliver Tonnhofer
fa4a8f7b73
document load_all:true requirements for relation/relation_members #51
2017-01-04 14:44:04 +01:00
Oliver Tonnhofer
eea414dfbb
add hstore.include option
2016-11-16 16:27:00 +01:00
Oliver Tonnhofer
2eb219be09
add tags.include option
2016-11-16 16:25:48 +01:00
Oliver Tonnhofer
af77376321
improve webmerc_area accuracy; update tests
2016-11-11 17:05:36 +01:00
Oliver Tonnhofer
9c86495275
add area and webmerc_area field; deprecate pseudoarea
2016-11-11 12:21:05 +01:00
Oliver Tonnhofer
4d90e55953
allow custom ranking for wayzorder
2016-11-10 13:54:28 +01:00
Oliver Tonnhofer
b6b3d262d4
improve area=yes/no handling
2016-11-10 11:00:34 +01:00
Oliver Tonnhofer
6bdc6c84dd
use named fields when initializing tagMatcher
2016-11-07 11:29:17 +01:00
Oliver Tonnhofer
8213d072c1
support for __any__: [__any__] mappings
2016-06-15 13:37:20 +02:00
Oliver Tonnhofer
bfb50549aa
rename relation_member_ fiels types to member_
2016-01-15 14:53:47 +01:00
Oliver Tonnhofer
7a7314bfb5
rename option to from_member
2016-01-08 09:35:54 +01:00
Oliver Tonnhofer
e030ffcf45
remove debug log.print
2016-01-08 09:35:53 +01:00
Oliver Tonnhofer
423390ea71
Add new relation_members table type
2016-01-08 09:35:53 +01:00
Oliver Tonnhofer
3e5c836957
add extraTags to geometry tables
2015-11-21 18:14:26 +01:00
Oliver Tonnhofer
838123acc2
fix Benchmarks
2015-11-20 15:03:08 +01:00
Oliver Tonnhofer
68cc9d5fa8
use first matched mapping for mapping_key/_value
2015-09-25 13:40:06 +02:00
Oliver Tonnhofer
8003ea5fa4
add keys to composite literals
2015-09-25 11:46:57 +02:00
Oliver Tonnhofer
b473592bc2
fix string_suffixreplace test for yaml args
2015-09-25 11:21:53 +02:00
Oliver Tonnhofer
406cf4f34a
fix string_suffixreplace argument loading ( closes #63 )
...
yaml returns map[interface{}]interface{} instead of map[string]interface{}
2015-09-09 12:01:26 +02:00
Oliver Tonnhofer
5ff5311f41
update example mappings: null values and enumerate
2015-08-27 09:59:08 +02:00
Yohan Boniface
690668f5d5
Also parse YAML as mapping file
2015-08-27 09:50:59 +02:00
Oliver Tonnhofer
9e125aee02
add new enumerate type to replace zorder
2015-08-25 14:59:51 +02:00
Oliver Tonnhofer
fccaec3977
support shell file name patterns in tags.exclude
2015-07-17 10:07:59 +02:00
Oliver Tonnhofer
7c438fb867
remove Geom from OSMElem
...
removes GEOS depenency from pbf parser
2015-04-30 09:42:49 +02:00
Oliver Tonnhofer
6394f92a7a
do not import outer way of relation into same table as relation
...
improved inserted-ways detection by marking outer ways as inserted
if they match the same table as the relation.
2015-01-05 15:49:11 +01:00
Oliver Tonnhofer
173afb714a
fix test that depended on map order
2015-01-05 09:52:13 +01:00
Oliver Tonnhofer
9b39791076
fix string_suffixreplace test. closes #37
2014-09-03 08:24:01 +02:00
Oliver Tonnhofer
6c60df4a1c
support for multiple keys to include for column (extra_fields in imposm2)
2014-08-18 09:24:17 +02:00
Oliver Tonnhofer
70b127940c
build ZOrder on key value instead of mapping_type
2014-08-18 09:22:09 +02:00
Oliver Tonnhofer
007adb0f38
add TODO note
2014-08-11 17:15:08 +02:00
Oliver Tonnhofer
3f3c12ece1
add use_single_id_space mapping option
...
Mangle way and relation IDs so that they don't colide with
node IDs for imports into a single table.
Way IDs are negated, relation IDs are negated and shifted by -1e17.
2014-08-11 10:18:08 +02:00
Oliver Tonnhofer
3b73f91a0d
make go gettable
2014-08-04 15:19:35 +02:00
Oliver Tonnhofer
2afc987d2b
add columns as alias for fields mapping option
2014-06-25 16:46:43 +02:00
Oliver Tonnhofer
738fb03490
fix SelectRelationPolygons test
2014-06-25 16:46:42 +02:00
Oliver Tonnhofer
a9ccec143c
add support for single table imports
...
- support type=geometry
- allow to load all tags
2014-06-25 16:46:42 +02:00
Oliver Tonnhofer
93b7f99291
add hstore_tags field type
2014-06-25 16:46:42 +02:00
Oliver Tonnhofer
088a4d89f3
refactored tag matching from database to writer
...
tag matching is independent of the database and can belong to the writer
package. also cleans up the database.Inserter interface.
2014-06-25 16:46:42 +02:00