sqlite plugin: use mapnik::geometry_container alias
This commit is contained in:
parent
f8ccbf3ded
commit
11b0816d2a
2 changed files with 4 additions and 4 deletions
|
@ -444,7 +444,7 @@ boost::optional<mapnik::datasource::geometry_t> sqlite_datasource::get_geometry_
|
|||
const char* data = (const char*) rs->column_blob(0, size);
|
||||
if (data)
|
||||
{
|
||||
boost::ptr_vector<mapnik::geometry_type> paths;
|
||||
mapnik::geometry_container paths;
|
||||
if (mapnik::geometry_utils::from_wkb(paths, data, size, format_))
|
||||
{
|
||||
mapnik::util::to_ds_type(paths,result);
|
||||
|
|
|
@ -191,7 +191,7 @@ public:
|
|||
const char* data = static_cast<const char*>(rs->column_blob(0, size));
|
||||
if (data)
|
||||
{
|
||||
boost::ptr_vector<mapnik::geometry_type> paths;
|
||||
mapnik::geometry_container paths;
|
||||
if (mapnik::geometry_utils::from_wkb(paths, data, size, mapnik::wkbAuto))
|
||||
{
|
||||
for (unsigned i=0; i<paths.size(); ++i)
|
||||
|
@ -278,7 +278,7 @@ public:
|
|||
const char* data = (const char*) rs->column_blob(0, size);
|
||||
if (data)
|
||||
{
|
||||
boost::ptr_vector<mapnik::geometry_type> paths;
|
||||
mapnik::geometry_container paths;
|
||||
mapnik::box2d<double> bbox;
|
||||
if (mapnik::geometry_utils::from_wkb(paths, data, size, mapnik::wkbAuto))
|
||||
{
|
||||
|
@ -365,7 +365,7 @@ public:
|
|||
const char* data = static_cast<const char*>(rs->column_blob(0, size));
|
||||
if (data)
|
||||
{
|
||||
boost::ptr_vector<mapnik::geometry_type> paths;
|
||||
mapnik::geometry_container paths;
|
||||
if (mapnik::geometry_utils::from_wkb(paths, data, size, mapnik::wkbAuto))
|
||||
{
|
||||
for (unsigned i=0; i<paths.size(); ++i)
|
||||
|
|
Loading…
Reference in a new issue