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/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to