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 ca89dd7b31
commit 6dfb3604a4

View file

@ -362,7 +362,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() << ",";