use ST_AsBinary for postgis_datasource::features_at_point - closes #1252
This commit is contained in:
parent
dc813167c7
commit
7a7ab494f4
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ featureset_ptr postgis_datasource::features_at_point(coord2d const& pt) const
|
|||
}
|
||||
|
||||
|
||||
s << "SELECT AsBinary(\"" << geometryColumn_ << "\") AS geom";
|
||||
s << "SELECT ST_AsBinary(\"" << geometryColumn_ << "\") AS geom";
|
||||
|
||||
if (!key_field_.empty())
|
||||
mapnik::quote_attr(s,key_field_);
|
||||
|
|
Loading…
Reference in a new issue