Commit Graph

76 Commits (c84d5aacb20d8f93f5c9c8896abc17842c772ffb)

Author SHA1 Message Date
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
Oliver Tonnhofer 21a389b2cd add Key and Value type 2014-06-25 16:46:42 +02:00
Oliver Tonnhofer 279c2fd7e2 abort if it fails to create fieldtype 2014-06-18 11:55:12 +02:00
Oliver Tonnhofer 90154d7c51 only accept 32bit ints for Integer type, closes #21 2014-04-25 11:32:40 +02:00
Oliver Tonnhofer 251e5c9941 fix for mappings where key and name of field differ 2014-03-28 11:14:02 +01:00
Oliver Tonnhofer 48486e7280 do not validate all generalized geometries by default
validation with st_buffer fails for linestrings
add new validated_geometry column type that validates geometries
(st_buffer) on generalization
2014-01-30 10:31:34 +01:00
Oliver Tonnhofer 07897d5402 fix tag matching for elems with __any__ and exact matches
this allows you to have a table with mapping foo=__any__ and another
one with foo=bar and an element with foo=bar will be inserted in
both tables
2014-01-22 11:35:53 +01:00
Oliver Tonnhofer d41b108959 use test_mapping.json in filter_test 2014-01-22 11:35:33 +01:00
Oliver Tonnhofer 21279a941e close file mapping handle 2013-11-04 14:30:32 +01:00
Oliver Tonnhofer 2fc074e421 add TableType type 2013-10-28 08:42:51 +01:00
Oliver Tonnhofer 52fb1dfd6e add package descriptions 2013-09-02 10:26:29 +02:00
Oliver Tonnhofer 9e454714b8 name package to imposm3 2013-08-29 15:44:31 +02:00
Oliver Tonnhofer db2c8b2cfb fixed MakeSuffixReplace test 2013-07-05 15:24:01 +02:00
Oliver Tonnhofer 99d59e8b31 fixed import 2013-06-28 13:10:46 +02:00
Oliver Tonnhofer 8bf8e5d60a fixed string_suffixreplace 2013-06-28 13:10:04 +02:00