[Tile-serving] [osm2pgsql-dev/osm2pgsql] Permit any data type for group_by column (PR #2497)
Nakaner
notifications at github.com
Wed Jul 15 12:43:42 UTC 2026
Drop casting the `group_by_column` to text.
In my use case, I create a WMS version of OSM Carto. I have a table `water_polygons` with water bodies. It has a boolean field `int_intermittent` which is derived from OSM tags `intermittent=*` and `seasonal=*` (what OSM Carto does using SQL will be done by Lua in my use case).
I want to create a generalised set of polygons for lower zoom levels. The generalised set of polygons should still distinguish between permanent and intermittent water bodies. It is unnecessary to store the boolean property as text.
You can view, comment on, or merge this pull request online at:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2497
-- Commit Summary --
* Permit any data type for group_by column
-- File Changes --
M src/gen/gen-tile-raster.cpp (2)
-- Patch Links --
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2497.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2497.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2497
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2497 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20260715/efff3804/attachment.htm>
More information about the Tile-serving
mailing list