diff --git a/plugins/input/postgis/postgis_datasource.cpp b/plugins/input/postgis/postgis_datasource.cpp index 39a89b540..2beefc2ff 100644 --- a/plugins/input/postgis/postgis_datasource.cpp +++ b/plugins/input/postgis/postgis_datasource.cpp @@ -1026,8 +1026,7 @@ boost::optional postgis_datasource::get_geometry } else // geometry { - result.reset(mapnik::datasource::Collection); - return result; + g_type = ""; } } }