[Tile-serving] [osm2pgsql-dev/osm2pgsql] Remove special case for old PostGIS versions when clustering (PR #2188)

Jochen Topf notifications at github.com
Sun May 26 09:00:12 UTC 2024


Ordering by geometry was done differently before PostGIS 2.4. This commit removed the old code and adds a check that PostGIS 3 is available.

For this specific case a check for PostGIS 2.4 or above would be sufficient, but PostGIS 3 is available for a long time now (it is in Debian Bullseye ("oldstable", released 2021) and Ubuntu 20.04).
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2188

-- Commit Summary --

  * Remove special case for old PostGIS versions when clustering

-- File Changes --

    M README.md (4)
    M src/flex-table.cpp (28)
    M src/osm2pgsql.cpp (4)
    M src/table.cpp (25)
    M tests/test-pgsql-capabilities.cpp (2)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2188.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2188.diff

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

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2188 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240526/43fcceef/attachment.htm>


More information about the Tile-serving mailing list