[Tile-serving] [osm2pgsql-dev/osm2pgsql] Add support for node processing in second stage (PR #2252)
Jochen Topf
notifications at github.com
Wed Sep 18 15:48:19 UTC 2024
@joto commented on this pull request.
> +
+tables.stops = osm2pgsql.define_node_table('stops', {
+ { column = 'tags', type = 'jsonb' },
+ { column = 'rel_refs', type = 'text' }, -- for the refs from the relations
+ { column = 'rel_ids', sql_type = 'int8[]' }, -- array with integers (for relation IDs)
+ { column = 'geom', type = 'point', not_null = true },
+})
+
+tables.lines = osm2pgsql.define_way_table('lines', {
+ { column = 'tags', type = 'jsonb' },
+ { column = 'rel_refs', type = 'text' }, -- for the refs from the relations
+ { column = 'rel_ids', sql_type = 'int8[]' }, -- array with integers (for relation IDs)
+ { column = 'geom', type = 'linestring', not_null = true },
+})
+
+-- Tables don't have to have a geometry column
Nope, "database tables" is correct.
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252#discussion_r1765312838
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2252/review/2313124089 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240918/b88eeaf8/attachment.htm>
More information about the Tile-serving
mailing list