[Tile-serving] [osm2pgsql-dev/osm2pgsql] Allow empty config file in flex output (PR #2200)

Jochen Topf notifications at github.com
Sat Jun 15 10:18:06 UTC 2024


No flex config file, or one that doesn't define any tables is usually not very useful. But it can be used in slim mode to have the middle tables only. Or it can be used to do some other processing or instead if the null output for testing.

We still output a warning, but no error any more if the style file is missing from the command line or if there are no tables defined.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2200

-- Commit Summary --

  * Allow empty config file in flex output

-- File Changes --

    M src/osm2pgsql.cpp (4)
    M src/output-flex.cpp (5)
    M tests/bdd/flex/lua-basics.feature (6)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2200.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2200.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2200
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2200 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240615/0b82e6dd/attachment.htm>


More information about the Tile-serving mailing list