Table 3: Maximum number of points removed by simplification.
Dataset 1 2 3 4 5 6 7
No. of points 992 1564 8531 28014 28323 342738 3645559
Visvalingam-Whyatt 938 1472 7579 25308 23661 309648 3627135
Grid-Gen 938 1463 7578 25298 23639 309445 3627008
TopoVW 938 1463 7578 25297 23640 309424 3626993
Grid-Gen w/ Control Pts. 928 1435 7545 25212 23411 308992 3609484
TopoVW w/ Control Pts. 927 1430 7545 25207 23390 308935 3627008
each one (until the total number of points removed
reach the target value) and, thus, some polylines may
be too simplified (while no points are removed from
other lines). TopoVW, on the other hand, performs
the simplification globally (removing, in each step,
the less significant point considering all the polylines)
and, therefore, the balance in the number of points re-
moved from each polyline is better.
We also compared the processing time of
TopoVW, Grid-Gen, and the Visvalingam-Whyatt al-
gorithm (VW) when they were configured to remove
50% of the map points. The times, in milliseconds,
are presented in Table 2. Since VW does not support
the use of control points, the control points from the
datasets were removed during these tests. In the worst
test scenario, the simplification time of TopoVW was
only 4 times slower than VW. This suggests that the
overhead associated with the topological verifications
performed by TopoVW does not add a big impact in
the performance of the algorithm.
Another comparison was made between a
Visvalingam-Whyatt algorithm implementation
(VW), Grid-Gen and TopoVW regarding the maxi-
mum amount of points that these methods can remove
due to the simplification.
The three methods were used to simplify maps
from the dataset previously used, attempting to re-
move the maximum amount of points from the origi-
nal maps. Additionally, both Grid-Gen and TopoVW
were tested with and without control points. The re-
sults are shown in Table 3. In no test case TopoVW re-
moved more points than VW. This happened because
TopoVW preserves the topological consistency of the
map and, thus, some points that the VW algorithm re-
moves may not be removed by TopoVW. Indeed, since
VW does not try to satisfy the topological constraints
it removes all the interior points from the polylines
(keeping only the endpoints) when it is configured to
remove the maximum amount of points.
Furthermore, when the methods were tested us-
ing control points, the number of points removed
by TopoVW was smaller than when using no control
points. Again, this happens because when there are
control points the amount of topological constraints
that TopoVW needs to satisfy increases.
Figure 12 presents a comparison between the out-
put generated by VW (represented by solid lines, in
the top layer) and TopoVW’s output (represented by
dashed lines) when both methods were configured to
remove 50% of the polylines points in dataset 6 (since
VW does not support the use of control points, both
methods were executed using no control points). No-
tice that it is difficult to observe differences between
the outputs of the two methods. When they happen,
these differences (shown in the zoomed part of the
map) are caused due to the fact that VW does not avoid
topological errors.
In all datasets, we observed few (and small) dif-
ferences between VW and TopoVW’s output. These
differences appear mainly in the regions where VW’s
output contains topological errors. Since the VW
algorithm is suitable for computing map minimal
generalization and caricatural generalization with
good quality (Visvalingam and Whyatt, 1993) and
TopoVW’s output is similar to VW’s, this suggests that
TopoVW can also compute these kinds of generaliza-
tion with good quality while having the advantage of
not creating topological errors.
5 CONCLUSIONS AND FUTURE
WORKS
It was presented TopoVW, a heuristic that uses tech-
niques based on the Visvalingam-Whyatt (VW) (Vis-
valingam and Whyatt, 1993) algorithm to perform
map simplification generating maps that not only are
topologically consistent but also tries to preserve the
similarity with the original datasets. This means that,
if applied to a map containing roads, buildings and
rivers, TopoVW
´
s simplification will neither produce
intersections of such features nor change the topolog-
ical relationships (for example, if a road is in the left
side of a building it will continue in the left side af-
ter the simplification). TopoVW also supports the use
of control points in the generalization process, avoid-
ing changing the topological relationships between
the polylines and these control points. Control points
may be used in practical applications such as simpli-
AnEfficientandTopologicallyCorrectMapGeneralizationHeuristic
523