Commit Graph

46 Commits (3b73f91a0d144524b6b9bac7011ffc9e90276e58)

Author SHA1 Message Date
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
Oliver Tonnhofer 6579da5526 set SRID in AddGeometryColumn; write geoms as EWKB 2013-06-19 09:19:21 +02:00
Oliver Tonnhofer 9601dbbfde use optimized asHex function instead of Sprintf 2013-06-17 17:34:40 +02:00
Oliver Tonnhofer 51b0c2ef4e use COPY FROM STDIN 2013-06-17 15:17:39 +02:00
Oliver Tonnhofer d7bc9a203b use gotypes as postgis type selector 2013-05-31 14:48:16 +02:00
Oliver Tonnhofer 41990aefe4 add string_suffixreplace type 2013-05-31 14:24:22 +02:00
Oliver Tonnhofer e442bfde56 check table type in mappings 2013-05-29 08:47:26 +02:00
Oliver Tonnhofer 40b4fffc4f allow submappings 2013-05-27 11:24:22 +02:00
Oliver Tonnhofer 5b2334a9cb update mapping/filter and multipolygon tests 2013-05-27 08:19:22 +02:00
Marcel Radischat 90b303afee added missing tests from python/imposm 2013-05-24 13:24:02 +02:00
Oliver Tonnhofer 4a19dae36e extend mapping/filter tests 2013-05-23 14:05:09 +02:00
Oliver Tonnhofer f07b970951 match on Tags and not OSMElem 2013-05-23 13:09:47 +02:00
Oliver Tonnhofer 94b1ed1542 only handle relations with multipolygon/boundary/land_area types 2013-05-22 15:26:00 +02:00
Oliver Tonnhofer a64ed7306c add generalized tables 2013-05-22 11:48:34 +02:00
Oliver Tonnhofer 0041b01856 support zorder fields 2013-05-21 14:39:24 +02:00
Oliver Tonnhofer 564344096b add field test/update filter test 2013-05-21 07:08:24 +02:00
Oliver Tonnhofer bec1509975 filter inplace 2013-05-17 16:28:16 +02:00
Oliver Tonnhofer c3383fc8b1 fixed filter test 2013-05-17 15:55:31 +02:00
Oliver Tonnhofer 60a7d80993 refactoring of the mapping package 2013-05-17 15:44:50 +02:00
Oliver Tonnhofer 65a38c0ba3 add exclude_tags filter 2013-05-17 15:07:03 +02:00
Oliver Tonnhofer 2776061ba7 insert relations into db 2013-05-17 11:42:19 +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 d51cda1ffc move config package into mapping package 2013-05-14 10:04:11 +02:00
Oliver Tonnhofer 768d04ad56 add first simple tag filtering 2013-05-07 10:13:09 +02:00