use ST_AsBinary for postgis_datasource::features_at_point - closes #1252

This commit is contained in:
Dane Springmeyer 2012-07-04 16:35:06 -07:00
parent dc813167c7
commit 7a7ab494f4

View file

@ -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_);