+ occi plugin: fix table_from_sql namespace

+ occi plugin: space cosmetics
This commit is contained in:
Lucio Asnaghi 2010-11-15 09:25:06 +00:00
parent 73270bd76b
commit e0363a6bbe

View file

@ -387,7 +387,7 @@ featureset_ptr occi_datasource::features(query const& q) const
s << " from "; s << " from ";
std::string query (table_); std::string query (table_);
std::string table_name = table_from_sql(query); std::string table_name = mapnik::table_from_sql(query);
if (use_spatial_index_) if (use_spatial_index_)
{ {
@ -462,7 +462,7 @@ featureset_ptr occi_datasource::features_at_point(coord2d const& pt) const
s << " from "; s << " from ";
std::string query (table_); std::string query (table_);
std::string table_name = table_from_sql(query); std::string table_name = mapnik::table_from_sql(query);
std::ostringstream spatial_sql; std::ostringstream spatial_sql;
spatial_sql << std::setprecision(16); spatial_sql << std::setprecision(16);
@ -511,4 +511,3 @@ featureset_ptr occi_datasource::features_at_point(coord2d const& pt) const
return featureset_ptr(); return featureset_ptr();
} }