Commit Graph

44 Commits (master)

Author SHA1 Message Date
Oliver Tonnhofer e79386a1af writer: remove old-style-multipolygon handling 2017-11-21 14:43:11 +01:00
Oliver Tonnhofer 8a2d37a74e no need to prepare relations before matching 2017-05-09 11:42:25 +02:00
Oliver Tonnhofer 4de5d987d7 do not expire clipped ways/relations 2017-02-01 11:59:41 +01:00
Oliver Tonnhofer 3453b13af2 write expire tiles; add first tests 2016-11-23 14:43:38 +01:00
Oliver Tonnhofer bba7d68380 allways call Expire with wgs84 coords 2016-11-22 17:06:58 +01:00
Oliver Tonnhofer 3c271279b2 do not log NotFound errors when collecting relations for relation members
(other NotFounds are already discarded)
2016-04-27 09:45:28 +02:00
Oliver Tonnhofer 766118b324 update relations when member node changed 2016-01-08 16:08:00 +01:00
Oliver Tonnhofer 3baf2b482f refactor relation writing 2016-01-08 09:35:54 +01:00
Oliver Tonnhofer 423390ea71 Add new relation_members table type 2016-01-08 09:35:53 +01:00
Oliver Tonnhofer 7c438fb867 remove Geom from OSMElem
removes GEOS depenency from pbf parser
2015-04-30 09:42:49 +02:00
Oliver Tonnhofer 0a311d62d7 close open ways when end-nodes are close to each other but not identical 2014-10-22 13:36:06 +02:00
Oliver Tonnhofer e440ca7489 close open rings when end-nodes are close to each other but not identical 2014-10-21 17:21:48 +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 e9363ddf4e add support for 4326 2014-06-30 08:58:22 +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 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 f2d40b047b log more sql errors during import and diff updates 2014-04-28 11:43:25 +02:00
Oliver Tonnhofer f08ac11f68 rename FilterRelationPolygons to SelectRelationPolygons 2014-01-13 09:06:40 +01:00
Oliver Tonnhofer eb216b4392 refactored filtering of inserted_ways 2013-12-16 16:54:42 +01:00
Oliver Tonnhofer 3affe43808 improve inserted_ways handling
compare destination tables for each way instead of only comparing
if the tags are similar
2013-12-16 09:57:47 +01:00
Oliver Tonnhofer 2d1c98022f remove go vet warnings 2013-11-13 15:41:34 +01:00
Oliver Tonnhofer 390edea938 add new Expireor interface 2013-11-08 16:22:41 +01:00
Oliver Tonnhofer 6ad5a535a1 insert rels with negative IDs to be able to distinguish rels from ways during delete 2013-11-07 16:09:08 +01:00
Oliver Tonnhofer 063c48b8c3 report clipping that takes more than a minute 2013-11-07 15:49:40 +01:00
Oliver Tonnhofer 97854f4277 use logging.Warn instead of log.Println/fmt.Prinln 2013-11-07 15:48:55 +01:00
Oliver Tonnhofer ce962c785e remove tagmatcher from Writer 2013-10-28 11:37:58 +01:00
Oliver Tonnhofer 748354ba18 move tag matching into database package 2013-10-28 11:28:56 +01:00
Oliver Tonnhofer 1cba6ad9a3 db.Insert takes OSMElem instead of row 2013-10-28 08:42:51 +01:00
Oliver Tonnhofer 9e454714b8 name package to imposm3 2013-08-29 15:44:31 +02:00
Oliver Tonnhofer 4ec962f002 renamed geom/clipper to geom/limit 2013-07-30 08:17:47 +02:00
Oliver Tonnhofer 198f2d925f filter by relation tags before finishing the multipolygon 2013-07-15 11:39:43 +02:00
Oliver Tonnhofer f65b23a1c7 only expire tiles when way/rel was inserted 2013-07-15 11:14:03 +02:00
Oliver Tonnhofer bc7b22da61 write out expired tile coordinates 2013-07-12 14:57:06 +02:00
Oliver Tonnhofer 6579da5526 set SRID in AddGeometryColumn; write geoms as EWKB 2013-06-19 09:19:21 +02:00
Oliver Tonnhofer 8a9fe9bf2f first import with single transaction per table 2013-06-11 14:12:45 +02:00
Oliver Tonnhofer d6c9e1ee14 destroy geoms immediately after errors 2013-06-07 15:38:29 +02:00
Oliver Tonnhofer 268703877b store way->rel coord->way->rel for relations in -diff mode 2013-05-30 16:04:40 +02:00
Oliver Tonnhofer b3d1dbdbd0 log steps 2013-05-28 14:07:06 +02:00
Oliver Tonnhofer ac3810e17c refactored writer package 2013-05-28 12:54:19 +02:00
Oliver Tonnhofer 4739fcc484 add -limitto option 2013-05-28 08:59:59 +02:00
Oliver Tonnhofer 40b4fffc4f allow submappings 2013-05-27 11:24:22 +02:00
Oliver Tonnhofer f07b970951 match on Tags and not OSMElem 2013-05-23 13:09:47 +02:00
Oliver Tonnhofer 18eadb0f51 refactored nodes/ways/relation writing in to wtire package 2013-05-21 09:50:10 +02:00