+ occi plugin: fix table_from_sql namespace
+ occi plugin: space cosmetics
This commit is contained in:
parent
73270bd76b
commit
e0363a6bbe
1 changed files with 32 additions and 33 deletions
|
@ -387,7 +387,7 @@ featureset_ptr occi_datasource::features(query const& q) const
|
|||
s << " from ";
|
||||
|
||||
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_)
|
||||
{
|
||||
|
@ -462,7 +462,7 @@ featureset_ptr occi_datasource::features_at_point(coord2d const& pt) const
|
|||
s << " from ";
|
||||
|
||||
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;
|
||||
spatial_sql << std::setprecision(16);
|
||||
|
@ -511,4 +511,3 @@ featureset_ptr occi_datasource::features_at_point(coord2d const& pt) const
|
|||
|
||||
return featureset_ptr();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue