diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-12-28 15:35:14 +0300 |
---|---|---|
committer | mgsergio <mgsergio@yandex.ru> | 2018-01-10 13:37:23 +0300 |
commit | 2bc2cfcced196c40b8d8577965318398681a9ddb (patch) | |
tree | 35f562d3e29092c9f7c7278c06c0c75137960291 /indexer/osm_editor.cpp | |
parent | d79ec08b6865d4638710d728bf851213e0091bfc (diff) |
[editor] matching by geometry
Diffstat (limited to 'indexer/osm_editor.cpp')
-rw-r--r-- | indexer/osm_editor.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp index b294c2b975..d2c4a5439c 100644 --- a/indexer/osm_editor.cpp +++ b/indexer/osm_editor.cpp @@ -158,9 +158,6 @@ XMLFeature GetMatchingFeatureFromOSM(osm::ChangesetWrapper & cw, FeatureType con // have BEST_GEOMETRY geometry. auto geometry = ft.GetTriangesAsPoints(FeatureType::BEST_GEOMETRY); - // Filters out duplicate points for closed ways or triangles' vertices. - my::SortUnique(geometry); - ASSERT_GREATER_OR_EQUAL(geometry.size(), 3, ("Is it an area feature?")); return cw.GetMatchingAreaFeatureFromOSM(geometry); |