1. The prefix for the middle tables can only be set on the command line. If you 
don't use `--slim` you don't have them and don't need to set the prefix on the 
command line. There is no magic prefix any more for flex tables. If you want 
all tables name to have the same prefix, you can do that in your Lua script, 
that's what the `compatible.lua` does to make it easier to switch from the old 
way of doing things. Lua is very flexible in what it can do, you can read 
[environment 
variables](https://osm2pgsql.org/doc/manual.html#accessing-environment-variables-from-lua),
 for instance. For automated environments you can use this to set the prefix 
(or anything else) from outside the Lua script.
2. No, there is no better way to do this. You'll have to use different schemas 
or databases.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2280#discussioncomment-11593078
You are receiving this because you are subscribed to this thread.

Message ID: 
<osm2pgsql-dev/osm2pgsql/repo-discussions/2280/comments/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to