We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51bb83 commit 273ce3bCopy full SHA for 273ce3b
src/gen/gen-tile-raster.cpp
@@ -237,8 +237,13 @@ void gen_tile_raster_union_t::process(tile_t const &tile)
237
timer(m_timer_write).start();
238
for (auto const &geom : geometries) {
239
auto const wkb = geom_to_ewkb(geom);
240
- connection().exec_prepared("insert_geoms", binary_param_t{wkb},
241
- tile.x(), tile.y(), param);
+ if (with_group_by()) {
+ connection().exec_prepared("insert_geoms", binary_param_t{wkb},
242
+ tile.x(), tile.y(), param);
243
+ } else {
244
245
+ tile.x(), tile.y());
246
+ }
247
}
248
timer(m_timer_write).stop();
249
log_gen("Inserted {} generalized polygons", geometries.size());
0 commit comments