mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
no need for geometry::correct in csv plugin
This commit is contained in:
parent
f2863a7d2a
commit
a43bec6d0b
@ -34,7 +34,6 @@
|
||||
#include <mapnik/feature_layer_desc.hpp>
|
||||
#include <mapnik/feature_factory.hpp>
|
||||
#include <mapnik/geometry.hpp>
|
||||
#include <mapnik/geometry_correct.hpp>
|
||||
#include <mapnik/memory_featureset.hpp>
|
||||
#include <mapnik/wkt/wkt_factory.hpp>
|
||||
#include <mapnik/json/geometry_parser.hpp>
|
||||
@ -544,8 +543,6 @@ void csv_datasource::parse_csv(T & stream,
|
||||
mapnik::geometry::geometry<double> geom;
|
||||
if (mapnik::from_wkt(value, geom))
|
||||
{
|
||||
// correct orientations etc
|
||||
mapnik::geometry::correct(geom);
|
||||
// set geometry
|
||||
feature->set_geometry(std::move(geom));
|
||||
parsed_wkt = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user