mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
postgis: remove last usage of deprecated functions - fully supporting postgis 2.0 - closes #1083
This commit is contained in:
parent
21af038fd3
commit
b0c6378eb8
@ -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() << ",";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user