postgis: remove last usage of deprecated functions - fully supporting postgis 2.0 - closes #1083

This commit is contained in:
Dane Springmeyer 2012-02-14 13:07:05 -08:00
parent 21af038fd3
commit b0c6378eb8

View file

@ -356,7 +356,7 @@ std::string postgis_datasource::sql_bbox(box2d<double> const& env) const
{
std::ostringstream b;
if (srid_ > 0)
b << "SetSRID(";
b << "ST_SetSRID(";
b << "'BOX3D(";
b << std::setprecision(16);
b << env.minx() << " " << env.miny() << ",";