+ use format_

This commit is contained in:
artemp 2012-10-01 15:46:03 +01:00
parent f03e08bbba
commit 037c1a84c6

View file

@ -524,7 +524,7 @@ boost::optional<mapnik::datasource::geometry_t> sqlite_datasource::get_geometry_
if (data) if (data)
{ {
boost::ptr_vector<mapnik::geometry_type> paths; boost::ptr_vector<mapnik::geometry_type> paths;
if (mapnik::geometry_utils::from_wkb(paths, data, size, mapnik::wkbAuto)) if (mapnik::geometry_utils::from_wkb(paths, data, size, format_))
{ {
mapnik::util::to_ds_type(paths,result); mapnik::util::to_ds_type(paths,result);
if (result) if (result)