Oliver Tonnhofer
171e1c24fa
refactor geom api: make ring private
2015-04-30 10:05:22 +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
dc4f320dd5
close channels in Parse
2015-04-28 11:33:23 +02:00
Oliver Tonnhofer
132d938bb4
refactored pbf parser
...
renamed/document read barrier
2015-04-28 10:33:13 +02:00
Oliver Tonnhofer
c2bb7e7d2e
make block struct private
2015-04-28 09:18:38 +02:00
Oliver Tonnhofer
45fc51e2ca
only write to channels if they are set
2015-04-28 09:16:20 +02:00
Oliver Tonnhofer
be95c572d7
remove unused code
2015-04-28 09:07:53 +02:00
Oliver Tonnhofer
4bf826204f
do check for intersection with wgs84
2015-03-26 07:34:08 +01:00
Oliver Tonnhofer
0be4fcf565
parse diffs till </osmChange>
...
- changes and err chan are now closed on success
- io.EOF is now an error
- fixes (possible) parsing of truncated diff files
closes #45
2015-03-24 09:06:37 +01:00
Oliver Tonnhofer
2aa45895e1
log non-4326 point when loading geojson
2015-03-10 15:57:17 +01:00
Oliver Tonnhofer
a566cdd7c5
update install instructions
2015-03-02 11:31:38 +01:00
Oliver Tonnhofer
112d889639
support -limitto with -srid 4326
...
- refactored geojson/limit package
- geojson files are now required to be in EPSG:4326
2015-03-02 09:22:08 +01: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
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
530bdda699
dereference double pointer before use for go 1.4 compatibility
2015-01-05 11:50:39 +01:00
Oliver Tonnhofer
8ba96c9327
improve error checking/handling
2015-01-05 09:56:39 +01:00
Oliver Tonnhofer
173afb714a
fix test that depended on map order
2015-01-05 09:52:13 +01: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
5c376496c4
update comments in mergeRings
2014-10-21 16:12:21 +02:00
Oliver Tonnhofer
32623ccce0
use godeps
2014-10-10 16:12:01 +02:00
Oliver Tonnhofer
44be47583b
add -diff-state-before option to set initial diff sequence before
2014-09-15 14:07:27 +02:00
Oliver Tonnhofer
1e4a6063f2
cache test db connection
2014-09-04 16:24:32 +02:00
Oliver Tonnhofer
9b39791076
fix string_suffixreplace test. closes #37
2014-09-03 08:24:01 +02:00
Oliver Tonnhofer
63a7d79113
do not write last.state.txt if it failed to estimate sequence number
2014-08-19 16:31:42 +02:00
Oliver Tonnhofer
1f5763219a
only write last.state.txt in -diff mode
2014-08-19 16:09:12 +02:00
Oliver Tonnhofer
a9a50d64c4
implement String for Tags
2014-08-19 13:17:25 +02:00
Oliver Tonnhofer
8e6ef74a1e
index/cluster in parallel with GOMAXPROCS
2014-08-19 13:16:59 +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
9208e82e37
ignore imposm3 binary
2014-08-11 17:17:55 +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
aaa9181134
fix diff updates of nodes with dropped tags
2014-08-08 12:24:28 +02:00
Oliver Tonnhofer
2bd6c1c4cf
fix assert message
2014-08-08 11:20:59 +02:00
Oliver Tonnhofer
42c545a4a5
fix creation of tmp test cachedir
2014-08-08 11:11:53 +02:00
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