postgis geometry type detection - fall through to detecting type on individual geometries if the geometry_columns only reports 'geometry' - refs mapbox/tilemill/#2099

This commit is contained in:
Dane Springmeyer 2014-04-22 15:31:06 -07:00
parent c4dbcf93bc
commit 02d4e7fd06

View file

@ -1026,8 +1026,7 @@ boost::optional<mapnik::datasource::geometry_t> postgis_datasource::get_geometry
}
else // geometry
{
result.reset(mapnik::datasource::Collection);
return result;
g_type = "";
}
}
}