Oliver Tonnhofer
3b73f91a0d
make go gettable
2014-08-04 15:19:35 +02:00
Oliver Tonnhofer
8ad4c8f1d2
add test for inserts with multiple mappings
2014-08-04 15:19:20 +02:00
Oliver Tonnhofer
0807c33eaa
do not enable linear import for coords cache when reading with -appendcache
2014-07-08 15:30:06 +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
e9363ddf4e
add support for 4326
2014-06-30 08:58:22 +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
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
Oliver Tonnhofer
26c7e64d82
Merge pull request #28 from bdon/master
...
Disable SSL when using a unix domain socket.
2014-06-25 15:36:46 +02:00
Brandon Liu
f3bc02cc74
Disable SSL when using a unix domain socket.
2014-06-24 19:11:47 -07:00
Oliver Tonnhofer
7d9ddfd7d4
fixed cache/binary test for go1.3
2014-06-23 15:03:23 +02:00
Oliver Tonnhofer
e99c35f699
fix deserializing of cached tags with empty key
2014-06-23 14:40:16 +02:00
Oliver Tonnhofer
f30e4f35f8
add -lgeos to LDFLAGS
2014-06-23 13:27:24 +02: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
279c2fd7e2
abort if it fails to create fieldtype
2014-06-18 11:55:12 +02:00
Oliver Tonnhofer
593811a231
read properties of geojson features
2014-05-21 09:15:32 +02:00
Oliver Tonnhofer
85720d3be1
update missing feature list
2014-05-07 08:58:03 +02:00
Oliver Tonnhofer
b7dd34db75
update go dependencies (lib/pq)
2014-05-07 08:54:17 +02:00
Oliver Tonnhofer
c9e561072d
Merge pull request #22 from Mic92/patch-1
...
README.md: add dependency protobuf
2014-05-07 08:50:43 +02:00
Jörg Thalheim
4f7ef6032a
README.md: add link to protobuf
2014-05-06 22:55:58 +02:00
Jörg Thalheim
b3ff883aed
README.md: add dependency protobuf
2014-05-06 22:54:08 +02:00
Oliver Tonnhofer
f2d40b047b
log more sql errors during import and diff updates
2014-04-28 11:43:25 +02:00
Oliver Tonnhofer
90154d7c51
only accept 32bit ints for Integer type, closes #21
2014-04-25 11:32:40 +02:00
Oliver Tonnhofer
96b5f1c394
fix updating nodes in DeltaCoordsCache
...
Updating an existing node in the DeltaCoordsCache resulted in duplicate
nodes instead of a single updated node. GetCoord returned the first node,
depending on the sort order.
2014-04-25 11:18:20 +02:00
Oliver Tonnhofer
e4d1156ff8
make location of last.state.txt configuratble
2014-04-01 13:16:27 +02:00
Oliver Tonnhofer
62cdbcc3e3
allow to overwrite -limitto config with NONE
2014-04-01 10:48:34 +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
d1b2c2796b
quote column names when creating generalized tables
2014-03-28 10:36:03 +01:00
Oliver Tonnhofer
dab06de51c
do not use \r in -quiet mode when printing status messages
2014-02-25 08:33:38 +01:00
Oliver Tonnhofer
ff6207d200
add failing test-case for #18
...
multipolygons that are not closed (topological) can be handled by
using GEOS LineMerge function. It's expected to be slower than the
node ID based merger. Maybe it's feasible to use LineMerge as a
fallback.
2014-02-05 10:04:00 +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
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
de4ec76ed8
handle ways without refs/nodes in ring builder
...
fixes 'index out of range' panics
2014-01-14 12:06:43 +01:00
Oliver Tonnhofer
f08ac11f68
rename FilterRelationPolygons to SelectRelationPolygons
2014-01-13 09:06:40 +01:00
Oliver Tonnhofer
e449183225
only skip import of polygons if way was inserted as multipolygon
2014-01-13 08:52:15 +01:00
Oliver Tonnhofer
07c11bf4da
tweak limitto grid parameters
2013-12-18 13:29:32 +01:00
Oliver Tonnhofer
7c039ecb63
realy change production schema to public
2013-12-18 10:49:23 +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
b7144dd0d8
change production schema to public
2013-12-16 09:57:47 +01:00
Oliver Tonnhofer
1c0e08a129
use perl to update buildVersion string; sed -i is not portable
2013-12-16 09:57:47 +01:00
Oliver Tonnhofer
bb0cea1064
fix db schemas options with empty config
2013-12-16 09:57:47 +01:00