+ move feature_factory.hpp include to impl file
This commit is contained in:
parent
692af5cbc1
commit
3bef010056
2 changed files with 5 additions and 3 deletions
|
@ -26,7 +26,6 @@
|
|||
#define MEMORY_DATASOURCE_HPP
|
||||
|
||||
#include <mapnik/datasource.hpp>
|
||||
#include <mapnik/feature_factory.hpp> // TODO remove
|
||||
#include <mapnik/feature_layer_desc.hpp>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -21,9 +21,11 @@
|
|||
*****************************************************************************/
|
||||
|
||||
//$Id$
|
||||
// mapnik
|
||||
#include <mapnik/memory_datasource.hpp>
|
||||
|
||||
#include <mapnik/memory_featureset.hpp>
|
||||
#include <mapnik/feature_factory.hpp>
|
||||
// stl
|
||||
#include <algorithm>
|
||||
|
||||
namespace mapnik {
|
||||
|
@ -117,5 +119,6 @@ void point_datasource::add_point(double x, double y, const char* key, const char
|
|||
transcoder tr("utf-8");
|
||||
(*feature)[key] = tr.transcode(value);
|
||||
this->push(feature);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue