Load the maximum nodes per way value from the OSM API and add a getter to the service object

Disable the Merge operation if the resultant way would have more than the maximum number of nodes (close #6030)
Simplify some code in operationMerge
This commit is contained in:
Quincy Morgan
2020-06-08 14:38:49 -04:00
parent bf7b30ace9
commit 8b258d2cbd
5 changed files with 52 additions and 36 deletions
+1
View File
@@ -303,6 +303,7 @@ en:
incomplete_relation: These features can't be merged because at least one hasn't been fully downloaded.
conflicting_tags: These features can't be merged because some of their tags have conflicting values.
paths_intersect: These features can't be merged because the resulting path would intersect itself.
too_many_vertices: These features can't be merged because the resulting path would have too many points.
move:
title: Move
description: