Commit Graph

56 Commits (063730b8e80465a915d6e3920ccc177a3c8cdb11)

Author SHA1 Message Date
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
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