Area-Preserving C-Oriented Schematization
Area-Preserving C-Oriented Schematization
Document Version:
Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers)
General rights
Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners
and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights.
• Users may download and print one copy of any publication from the public portal for the purpose of private study or research.
• You may not further distribute the material or use it for any profit-making activity or commercial gain
• You may freely distribute the URL identifying the publication in the public portal.
If the publication is distributed under the terms of Article 25fa of the Dutch Copyright Act, indicated by the “Taverne” license above, please
follow below link for the End User Agreement:
www.tue.nl/taverne
Abstract
1 Introduction
163
27th European Workshop on Computational Geometry, 2011
Related work. There is an ample body of work on s1 and sm are the outer edges of S, the other edges
map schematization and metro map construction, see are its inner edges. Likewise, u1 and um+1 are outer
the surveys by Swan et al. [10] and Wolff [11] for an vertices, the other vertices inner vertices. By α(S),
overview. Of particular interest is the work by Mer- we denote the sum of the exterior angles of the inner
rick and Gudmundsson [7] who describe an algorithm vertices of S. A lid is an open line segment between a
to generate C-oriented metro map layouts. Methods point on s1 and a point on sm and is fully contained
for map schematization can be used to schematize in the interior of P . If S has any lid, it is a closable
subdivisions, but they usually do not take criteria chain. If the open line segment (u1 , um+1 ) is a lid,
such as shape and size preservation into account. S is a proper chain. For a closable chain S and a lid
The generalization of urban data, specifically build- l, we denote by Rl (S) the region enclosed by S and
ing generalization, is closely related to our work. In l. For a proper chain, R(S) denotes this region us-
particular, algorithms for building wall squaring [6] ing the lid (u1 , um+1 ) implicitly. Due to the lid, we
and outline simplification [5] can be used for polygon know that for every closable chain, any point on the
schematization and vice versa. boundary of P that is inside Rl (S) must be part of S.
Line simplification has been a prominent topic in For any closable chain, α(S) > 0 holds. A (not neces-
the GIS literature for many years. Of particular rele- sarily closable) chain with exactly 3 edges is called a
vance are the work of Delling et al. [3] and Neyer [9] configuration G, its edges denoted by g1 , g2 , and g3 .
dealing with C-oriented schematization of routes or The outer edges of a configuration G define two
lines and the work of Bose et al. [1] on area-preserving tracks, infinite lines through the edges. An edge-move
line simplification. However, it is generally not advis- on G moves g2 such that its orientation is preserved
able to schematize each chain in a subdivision sepa- and its vertices are on the tracks, making the outer
rately. There are some approaches, developed in com- edges longer or shorter. An edge-move is valid if at
putational geometry, that preserve the topology of the least one of its vertices remains on its original outer
input subdivision. For example, De Berg et al. [2] de- edge and g2 remains on the same side of or on the
scribe a method that simplifies a polygonal subdivi- intersection point of the tracks (if any). An edge-move
sion without introducing intersections or passing over which causes one of the edges of G to reach length
special input points. Unfortunately many subdivision zero, is a contraction. Contractions are extremal edge-
simplification problems that minimize the number of moves. An edge-move is positive if it adds area to P
edges in the output are NP-complete [4]. and negative if it removes area.
A configuration supports edge-moves, either posi-
tive, negative or both. Let g2+ denote the extremal
2 Edge-moves and configurations position of g2 after any valid positive edge-move, i.e.
the position after a positive contraction. The positive
Definitions and notation. We are given a simple poly-
contraction region of a positive configuration, R+ (G),
gon P with vertices v1 , . . . , vn . We treat the vertices
is the region enclosed by g2 , g2+ , and the tracks. A fea-
modulo n, e.g. vn+1 = v1 . The edges are denoted
sible positive configuration is a configuration for which
by e1 , . . . , en , again treated circularly. The directed
R+ (G) is empty except for G. Similarly, we define the
edge ei starts at vertex vi and ends at vertex vi+1 . A
negative contraction region R− (G) and a feasible neg-
vertex is called convex if the angle inside the polygon
ative configuration. If a positive or negative configu-
between its two adjacent edges is at most π, and it
ration is feasible, then any valid positive or negative
is called reflex otherwise. We call an edge convex or
edge-move respectively is feasible. If a positive config-
reflex if both its vertices are convex or reflex respec-
uration is infeasible, then there is some point on δP in
tively. The exterior angle of a vertex is defined as
R+ (G)\G. A point in δP ∩R+ (G)\G that is closest to
the angle between one edge and the extension of the
other. The exterior angle is sometimes also referred
to as turning angle. The angle is negative if and only
if the vertex is reflex. The sum of all exterior angles
R−
of a simple polygon is always equal to 2π. R+
We define a chain S as a set of at least three consec-
utive edges of P . Its edges are denoted by s1 , . . . , sm
with m ≤ n. Its vertices are denoted by u1 , . . . , um+1
and edge si is directed from ui to ui+1 . The edges Figure 4: A valid positive edge-move.
164
EuroCG 2011, Morschach, Switzerland, March 28–30, 2011
165
27th European Workshop on Computational Geometry, 2011
Lemma 6 Every simple non-convex polygon P has a S � = et , et+1 , . . . , eb−1 does not contain edge ei . De-
proper configuration pair. pending on the convexity of vertex vt+2 , Lemma 3 or
Lemma 4 shows that there is a feasible negative con-
Proof. By Lemma 5, polygon P has a feasible posi-
figuration G�� in S � . We now argue why G�� cannot
tive configuration G+ = ei−1 ei ei+1 . Assume without
conflict with G+ . The only way to have a conflict is
loss of generality that the second inner vertex of G+ ,
when vb = vi . Since vi is then reflex, the only way to
vi+1 , is reflex. Let vj denote the first convex vertex
obtain a conflict is when vi−1 is reflex as well and vi−2
after vi+1 . Configuration G− = ej−1 ej ej+1 of which
is convex, such that ei−3 ei−2 ei−1 is a negative config-
vj is the first inner vertex, is negative. We distinguish
uration. However, ei−2 is the before-last edge in S �
two cases.
and starts at a convex vertex. Hence, Lemma 3 and
Assume that G− is feasible. If no edge is shared or
Lemma 4 guarantee to find another feasible negative
if edge ei+1 = ej−1 is shared (having a convex and a
configuration instead. �
reflex vertex), we have a proper configuration pair. If
ei−1 = ej+1 is shared but the other outer edge is not,
then vj , vj+1 = vi−1 , vi are the only convex vertices References
in P and there is at least one edge in between ei and [1] P. Bose, S. Cabello, O. Cheong, J. Gudmundsson,
ej−1 . This edge is the inner edge of a feasible positive M. van Kreveld, and B. Speckmann. Area-preserving
configuration, one that does not conflict with G− . approximations of polygonal paths. Journal of Dis-
crete Algorithms, 4(4):554–566, 2006.
ei ej ei ej ei ej [2] M. de Berg, M. van Kreveld, and S. Schirra. Topo-
logically correct subdivision simplification using the
bandwidth criterion. Cartography and Geographic In-
formation Science, 25(4):243–257, 1998.
Figure 7: Three cases if G− is feasible.
[3] D. Delling, A. Gemsa, M. Nöllenburg, and T. Pajor.
−
Now, assume that G is not feasible. The block- Path schematization for route sketches. In Proc. 12th
Scandinavian Workshop on Algorithm Theory, LNCS
ing point cannot be in between vi and vj+1 . If G− is
6139, pages 285–296, 2010.
blocked by a vertex vh , then, depending on the con-
vexity of vj+1 and vj+2 , either Lemma 3 or Lemma 4 [4] L. Guibas, J. Hershberger, J. Mitchell, and
J. Snoeyink. Approximating polygons and subdivi-
shows that there is a (non-conflicting) feasible nega-
sions with minimum-link paths. International Jour-
tive configuration. If G− is blocked by an edge eh ,
nal of Computational Geometry and Applications,
vj+1 must be reflex. We distinguish two cases on the 3:383–415, 1993.
closable chain S = ej , . . . , eh .
[5] J. Haunert and A. Wolff. Optimal and topologically
If S does not have a convex inner edge, then we refer
safe simplification of building footprints. In Proc.
to Lemma 3 to find a feasible negative configuration 18th International Conference on Advances in GIS,
G� . If G� does not conflict with G+ , we are done. If pages 192–201, 2010.
G� does conflict with G+ , we know that eh = ei−1
[6] H. Mayer. Scale-spaces for generalization of 3d build-
holds and that eh−1 is the inner edge of G� . More- ings. International Journal of Geographical Informa-
over, it must now hold that α(G+ ) > 0 and thus, by tion Science, 19:975–997, 2005.
Lemma 5, we need to consider this case only when all
[7] D. Merrick and J. Gudmundsson. Path simplification
positive configurations are feasible. Hence, the pos- for metro map layout. In Proc. 14th International
itive configuration ei ei+1 ei+2 is feasible and it does Symposium on Graph Drawing, LNCS 4372, pages
not conflict with G� . 258–269, 2006.
ej ei ej [8] W. Meulemans, A. van Renssen, and B. Speckmann.
ei G� Area-preserving subdivision schematization. In Proc.
eh 6th International Conference on GIScience, LNCS
eh G�
6292, pages 160–174, 2010.
Figure 8: Two cases if G− is not feasible and S has [9] G. Neyer. Line simplification with restricted orienta-
no convex inner edge. G� may conflict with G+ . tions. In Proc. 6th International Workshop on Algo-
rithms and Data Structures, LNCS 1663, pages 13–
If S has a convex inner edge et , then let G� denote 24, 1999.
the negative configuration et−1 et et+1 . If G� is feasi- [10] J. Swan, S. Anand, M. Ware, and M. Jackson. Au-
ble and not conflicting with G+ , we are done. If G� tomated schematization for web service applications.
is feasible but conflicting with G+ , we can argue as In Web and Wireless Geographical Information Sys-
tems, LNCS 4857, pages 216–226, 2007.
above: ei ei+1 ei+2 is a feasible positive configuration
and it does not conflict with G� . If G� is not feasible, [11] A. Wolff. Drawing subway maps: A survey.
then it must be blocked by some vertex vb . With- Informatik-Forschung und Entwicklung, 22(1):23–44,
2007.
out loss of generality, assume that the proper chain
166