+ 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 ";
|
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue