[Tile-serving] [openstreetmap/osm2pgsql] z_order values differing between default lua file and C code? (#913)

Lucas Verney notifications at github.com
Fri Feb 22 10:44:05 UTC 2019


Hi,

When looking on the web at details on the way `z_order` values are computed in osm2pgsql, one often find references to the [default lua script](https://github.com/openstreetmap/osm2pgsql/blob/master/style.lua#L106-L118) (see for instance [this StackExchange answer](https://gis.stackexchange.com/a/296785)).

However, out of the box, osm2pgsql is doing tag transform with [this C code](https://github.com/openstreetmap/osm2pgsql/blob/ed0bf5b515936ec09c7b39d01223db319239aadb/tagtransform-c.cpp#L17-L32), and not this lua file.

I would have expected the LUA code to have the same results as the C code. Is there any reason for these to be out of sync?

Thanks!
Best,

-- 
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/913
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20190222/76a87ae6/attachment.html>


More information about the Tile-serving mailing list