forked from organicmaps/organicmaps
[generator] Do not simplify roads only for the last geometry scale.
This commit is contained in:
parent
acbbd3c8b7
commit
ae784287da
2 changed files with 1 additions and 2 deletions
|
@ -168,7 +168,6 @@ public:
|
|||
bool CheckValid() const;
|
||||
//@}
|
||||
|
||||
protected:
|
||||
bool IsHighway() const;
|
||||
|
||||
protected:
|
||||
|
|
|
@ -450,7 +450,7 @@ namespace feature
|
|||
points_t points;
|
||||
|
||||
// Do not change linear geometry for the upper scale.
|
||||
if (isLine && i == scalesStart)
|
||||
if (isLine && i == scalesStart && fb.IsHighway())
|
||||
points = holder.GetSourcePoints();
|
||||
else
|
||||
SimplifyPoints(holder.GetSourcePoints(), points, level, isCoast, rect);
|
||||
|
|
Loading…
Add table
Reference in a new issue