From b0c6378eb8ba28e8c3685ca3a4fb880cda1a296b Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 14 Feb 2012 13:07:05 -0800 Subject: [PATCH] postgis: remove last usage of deprecated functions - fully supporting postgis 2.0 - closes #1083 --- plugins/input/postgis/postgis_datasource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/input/postgis/postgis_datasource.cpp b/plugins/input/postgis/postgis_datasource.cpp index 21952af53..5bfce1f73 100644 --- a/plugins/input/postgis/postgis_datasource.cpp +++ b/plugins/input/postgis/postgis_datasource.cpp @@ -356,7 +356,7 @@ std::string postgis_datasource::sql_bbox(box2d 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() << ",";