[Tile-serving] [openstreetmap/osm2pgsql] dkjson is archived/unmaintained (#1458)

Ryan Lambert notifications at github.com
Wed Apr 21 13:10:02 UTC 2021


The dkjson project is mentioned in [flex-config/places.lua](https://github.com/openstreetmap/osm2pgsql/blob/0ece4cc930602fd8caf07d4a1691a646a0c4b14c/flex-config/places.lua#L5-L10) as required for JSON support.  The dkjson project has not seen a commit [since 2015 and is archived on GitHub](https://github.com/LuaDist/dkjson).

There are a few other options for providing JSON support in Lua, the one I tested and settled on was [rxi/json.lua](https://github.com/rxi/json.lua).  A [quick test with Colorado sub-region](https://github.com/rustprooflabs/pgosm-flex/issues/88) showed my tags table loaded 13% faster with this change.  This was a drop-in replacement only needing a change to the require command and everything else worked as-is.

-- 
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/1458
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210421/a9fa5c5b/attachment.htm>


More information about the Tile-serving mailing list