- forgot to declare a namespace (oops!)

This commit is contained in:
Lucio Asnaghi 2010-11-12 00:31:04 +00:00
parent 07f455ebaa
commit 2cc9435576

View file

@ -279,7 +279,7 @@ featureset_ptr sqlite_datasource::features(query const& q) const
if (use_spatial_index_)
{
std::string table_name = table_from_sql(query);
std::string table_name = mapnik::table_from_sql(query);
std::ostringstream spatial_sql;
spatial_sql << std::setprecision(16);
spatial_sql << " where rowid in (select pkid from idx_" << table_name << "_" << geometry_field_;