[Tile-serving] [openstreetmap/osm2pgsql] New "flex" backend (#1036)

Jochen Topf notifications at github.com
Tue Jan 14 21:05:09 UTC 2020


@pnorman You can do geometryless tables simply by not defining a geometry. The `flex-config/route-relations.lua` has an example where a table simply stores relation tags.

@nextstopsun Filling a json(b) columns requires some Lua json library to create that json. You can then define a column with type `json` or `jsonb` and simply fill it with that data. If this is something a lot of people need, we might want to build it into osm2pgsql, but for the time being any json library in Lua should do.

There are some provisions in the flex backend code to set a schema for a table. But it doesn't work yet, because there are other changes that need to be done to the rest of the osm2pgsql code to make this work. I didn't want to do these changes before the flex backend is actually merged. So this is something for a bit later. Different tablespaces work as before, ie you can set a tablespace for all tables, but not individually.

-- 
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1036#issuecomment-574373435
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200114/0e792805/attachment.htm>


More information about the Tile-serving mailing list