Skip to content

Commit 163e3be

Browse files
committed
unitable example: explain more about how geometries are added
1 parent b49fdd8 commit 163e3be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flex-config/unitable.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
-- inspect = require('inspect')
66

77
-- We define a single table that can take any OSM object and any geometry.
8+
-- OSM nodes are converted to Points, ways to LineStrings and relations
9+
-- to GeometryCollections. If an object would create an invalid geometry
10+
-- it is still added to the table with a NULL geometry.
811
-- XXX expire will currently not work on these tables.
912
local dtable = osm2pgsql.define_table{
1013
name = "data",

0 commit comments

Comments
 (0)