[Tile-serving] [openstreetmap/osm2pgsql] Provide tmp .osc.gz file to post processing script (Issue #1719)

Branko Kokanovic notifications at github.com
Fri Jul 29 20:29:52 UTC 2022


Post-processing scripts are limited with current arguments (only seq and timestamp). It would be good if script can access location of temp file (full absolute path to .osc.gz file) and read this file. I would send PR for this change (sending issue first to see what do you think). It should not break backward-compatibility (if `timestamp` is `None`, we still will have 3rd argument as full path and filename). Only question is whether we should treat this temp file as hidden from post processing script for any reason? Or maybe we should unpack it before providing it to post-processing script?

## What version of osm2pgsql are you using?

osm2pgsql --version
2022-07-29 22:18:11  osm2pgsql version 1.6.0
Build: None
Compiled using the following library versions:
Libosmium 2.18.0
Proj [API 6] 9.0.1
Lua 5.3.6



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

Message ID: <openstreetmap/osm2pgsql/issues/1719 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220729/120f7f18/attachment.htm>


More information about the Tile-serving mailing list