[Tile-serving] [openstreetmap/osm2pgsql] Various Lua example file cleanups (PR #2015)

Jochen Topf notifications at github.com
Wed Jul 26 09:49:58 UTC 2023


Mostly making variables local.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/2015

-- Commit Summary --

  * Lua example configs: Using local variables is good practice
  * Lua example configs: Remove unnecessary local var shadowing outer var
  * Lua example configs: Simpler (and more correct) check

-- File Changes --

    M flex-config/addresses.lua (2)
    M flex-config/attributes.lua (2)
    M flex-config/bbox.lua (8)
    M flex-config/compatible.lua (27)
    M flex-config/data-types.lua (4)
    M flex-config/expire.lua (2)
    M flex-config/gen/forests.lua (4)
    M flex-config/generic.lua (2)
    M flex-config/geometries.lua (4)
    M flex-config/indexes.lua (2)
    M flex-config/labelpoint.lua (2)
    M flex-config/route-relations.lua (2)
    M flex-config/simple.lua (2)
    M flex-config/unitable.lua (4)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/2015.patch
https://github.com/openstreetmap/osm2pgsql/pull/2015.diff

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

Message ID: <openstreetmap/osm2pgsql/pull/2015 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230726/80e06bf6/attachment.htm>


More information about the Tile-serving mailing list