Skip to content

Permit any data type for group_by column#2497

Open
Nakaner wants to merge 1 commit into
osm2pgsql-dev:masterfrom
Nakaner:gen-group-by-any-value
Open

Permit any data type for group_by column#2497
Nakaner wants to merge 1 commit into
osm2pgsql-dev:masterfrom
Nakaner:gen-group-by-any-value

Conversation

@Nakaner

@Nakaner Nakaner commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant