[Tile-serving] [openstreetmap/osm2pgsql] Feature request: make --prefix value available to flex back end (#1345)

Kevin B Kenny notifications at github.com
Fri Nov 27 20:09:40 UTC 2020


Would you consider making the value of the `--prefix` option from the command line available in the `flex` back end, perhaps as a variable named `osm2pgsql.prefix`?

I occasionally wind up using `osm2pgsql` with two sets of tables (e.g., two different extracts, or testing vs. production). It would be convenient not to have to edit the Lua script to switch between them.  (It's also an example of the 'Once and Only Once' or 'Don't Repeat Yourself' principle. Right now I have to specify the prefix both on the command line and in the Lua script, which invites having them fail to match.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1345
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201127/8dcf2f11/attachment.htm>


More information about the Tile-serving mailing list