[Tile-serving] [osm2pgsql-dev/osm2pgsql] Introduce per geometry and overall limits on number of expire tiles (PR #2449)

Jochen Topf notifications at github.com
Fri Jan 30 09:32:34 UTC 2026


@joto commented on this pull request.



> @@ -398,6 +404,12 @@ int main(int argc, char *argv[])
         auto const &suffix = input.back();
         if (suffix == "osm" || suffix == "pbf" || suffix == "opl") {
             // input is an OSM file
+
+            if (cfg.zoom == 0) {
+                throw std::runtime_error{
+                    "You have to set the zoom level ith -z, --zoom"};

done

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

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2449/review/3727257306 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20260130/e702fad9/attachment.htm>


More information about the Tile-serving mailing list