Commit Graph

101 Commits (master)

Author SHA1 Message Date
Oliver Tonnhofer 5816161a40 docs: change pseudoarea to webmerc_area in test/example configurations 2017-11-24 11:36:23 +01:00
Oliver Tonnhofer 3ac986a498 code: remove unused functions/conversions 2017-11-21 14:43:20 +01:00
Oliver Tonnhofer 29d1882bda support pg connection parameters as list, instead of URL to suport sockets 2017-05-18 11:26:25 +02:00
Oliver Tonnhofer 073dfeb8cf only delete from matched tables 2017-05-16 16:30:00 +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 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 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 fcb03920ae fix data race in updatedIds for generalized tables 2016-12-07 13:50:20 +01:00
Oliver Tonnhofer 8eae74a6da diff update relation_members 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 1aff01cc9e use column name in index name instead of 'osm_id' 2016-01-08 09:35:41 +01:00
Oliver Tonnhofer e29be21f51 call Populate_Geometry_Columns only for PostGIS <2
Returns errors for tables with mixed geometry types (Polygon/MultiPolygon),
but is not required anyway for PostGIS >=2.
2015-07-29 11:42:36 +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 60ff020b57 log warning when using validated_geometry for non-polygons 2015-02-24 14:06:50 +01:00
Oliver Tonnhofer cfd2201735 allow to overwrite id column 2015-02-24 10:24:00 +01:00
Oliver Tonnhofer 530bdda699 dereference double pointer before use for go 1.4 compatibility 2015-01-05 11:50:39 +01:00
Oliver Tonnhofer 8e6ef74a1e index/cluster in parallel with GOMAXPROCS 2014-08-19 13:16:59 +02:00
Oliver Tonnhofer 3b73f91a0d make go gettable 2014-08-04 15:19:35 +02:00
Oliver Tonnhofer ced9f92b4b support for prefix=NONE to disable osm_ table prefix 2014-07-02 13:02:44 +02:00
Oliver Tonnhofer c0ea3343c3 disable ssl by default for PG connections to workaround renegotiation issues 2014-07-01 15:19:16 +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 4fc6dfdac6 Merge branch 'master' of github.com:omniscale/imposm3 2014-06-25 16:41:57 +02:00
Oliver Tonnhofer 1753bbc0fb fix table prefix option for recent lib/pq versions (closes #27) 2014-06-25 16:40:36 +02:00
Brandon Liu f3bc02cc74 Disable SSL when using a unix domain socket. 2014-06-24 19:11:47 -07:00
Oliver Tonnhofer 480c93f01c support for custom geometry column names (e.g. way, the_geom) 2014-06-20 10:09:28 +02:00
Oliver Tonnhofer f2d40b047b log more sql errors during import and diff updates 2014-04-28 11:43:25 +02:00
Oliver Tonnhofer d1b2c2796b quote column names when creating generalized tables 2014-03-28 10:36:03 +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 fed6c026cd validate simplified geometries 2014-01-29 10:06:07 +01: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 804da8614b return errors from newTxRouter 2013-12-02 14:01:58 +01:00
Oliver Tonnhofer 3901c5d8c4 make db schema configurable from cmd-line and config.json 2013-12-02 13:10:42 +01:00
Oliver Tonnhofer 1feff96db8 use lib/pq for postgres 2013-11-14 09:15:16 +01:00
Oliver Tonnhofer a9b490419c ANALYSE table after CLUSTER 2013-11-13 13:30:00 +01:00
Oliver Tonnhofer 9ac14cc3da support insertedWays in -diff; handle delete of relations 2013-11-05 15:03:32 +01:00
Oliver Tonnhofer 35e66529a7 force synchronous inserts during diff import
this makes sure that the source geometries for generalizes geometries
are inserted
2013-11-01 11:25:41 +01:00
Oliver Tonnhofer 122afae480 revert code change 2013-10-29 17:05:59 +01:00
Oliver Tonnhofer 93edef2681 refactored database API 2013-10-29 16:32:16 +01:00
Oliver Tonnhofer abb7734f8c refactored tableNames method 2013-10-29 15:30:51 +01:00
Oliver Tonnhofer 5d3ab6cbcc add comments 2013-10-29 15:11:58 +01:00
Oliver Tonnhofer 5c59fe8a78 remove unused PostGIS.InsertBatch 2013-10-29 15:06:08 +01:00
Oliver Tonnhofer 337aeafcb8 refactored TxRouter 2013-10-29 15:00:52 +01:00
Oliver Tonnhofer eececc6164 remove print statement 2013-10-29 14:57:50 +01:00
Oliver Tonnhofer 8d95f50eeb create generalized tabels from other generalized tables 2013-10-29 11:40:09 +01:00
Oliver Tonnhofer 05cb832682 use single transaction for non-bulk import 2013-10-29 10:57:31 +01:00
Oliver Tonnhofer b0a0e8d2d5 store Prefix+Name as FullName 2013-10-29 08:28:44 +01:00