From 0b39a7eb129c35baaf37481bdff0b5d048e0486c Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 7 Nov 2013 14:43:12 -0800 Subject: [PATCH] ogr plugin: remove unused code --- plugins/input/ogr/ogr_featureset.cpp | 16 ---------------- plugins/input/ogr/ogr_featureset.hpp | 5 ----- 2 files changed, 21 deletions(-) diff --git a/plugins/input/ogr/ogr_featureset.cpp b/plugins/input/ogr/ogr_featureset.cpp index 7d3cc638b..ade1e4d8e 100644 --- a/plugins/input/ogr/ogr_featureset.cpp +++ b/plugins/input/ogr/ogr_featureset.cpp @@ -44,22 +44,6 @@ using mapnik::geometry_utils; using mapnik::transcoder; using mapnik::feature_factory; - -ogr_featureset::ogr_featureset(mapnik::context_ptr const & ctx, - OGRLayer & layer, - OGRGeometry & extent, - std::string const& encoding) - : ctx_(ctx), - layer_(layer), - layerdef_(layer.GetLayerDefn()), - tr_(new transcoder(encoding)), - fidcolumn_(layer_.GetFIDColumn ()), - count_(0) - -{ - layer_.SetSpatialFilter (&extent); -} - ogr_featureset::ogr_featureset(mapnik::context_ptr const& ctx, OGRLayer & layer, mapnik::box2d const& extent, diff --git a/plugins/input/ogr/ogr_featureset.hpp b/plugins/input/ogr/ogr_featureset.hpp index 29f707f7f..dbc7363c2 100644 --- a/plugins/input/ogr/ogr_featureset.hpp +++ b/plugins/input/ogr/ogr_featureset.hpp @@ -38,11 +38,6 @@ class ogr_featureset : public mapnik::Featureset { public: - ogr_featureset(mapnik::context_ptr const& ctx, - OGRLayer & layer, - OGRGeometry & extent, - std::string const& encoding); - ogr_featureset(mapnik::context_ptr const& ctx, OGRLayer & layer, mapnik::box2d const& extent,