angles in DENMs, i. e., the destination and relevance
area, each are defined by the following parameters:
M the center of the rectangle
a the half of the length
(distance from the center to the shorter side)
b the half of the width
(distance from the center to the longer side)
θ
the clockwise rotation against north
(azimuth angle).
Thereby, M is given as a WGS-84 coordinate, a
and b are given in meters, and
θ
is an angle in de-
grees. With these parameters, not only axis-oriented,
but also arbitrarily oriented rectangles can be defined.
Such a rectangle and its parameters is depicted in Fig-
ure 1.
Figure 1: Parameters of a rectangle as given in a DENM.
As mentioned, points in DENMs are given in
WGS-84 coordinates. However, for most mathemat-
ical operations, it is advantageous to deal with coor-
dinates in a 2-dimensional Cartesian coordinate sys-
tem. Additionally, units within the coordinate sys-
tem should be interpreted as meters, which simplifies
transferring sizes, like distances, lengths, and areas,
into the real world. Finally, such a coordinate system
can be interpreted as a two dimensional vector space
R
2
by using the coordinates of each point as compo-
nents of the position vector for that point.
For example, the UTM coordinate system, where-
as easting and northing can be interpreted as x- and
y-coordinates, respectively, is a possible choice.
However, handling of UTM coordinates is rather
challenging near the borders of UTM zones. Hence,
a possible solution is to use the distance from Green-
wich and the Equator as x- and y-coordinates, respec-
tively. Thus, assuming a radius r of the earth of, e. g.
6371007.2 meters, a WGS-84 coordinate with longi-
tude
λ
and latitude
ϕ
in radians is converted into a
point with coordinates (x, y) by applying
x = r· arccos(sin
ϕ
2
+ cos
ϕ
2
· cos
λ
) (1)
y = r ·
ϕ
(2)
whereas the sign of longitude has to be applied to x.
Consequently, such a point is converted back into a
WGS-84 coordinate by applying
ϕ
=
y
r
(3)
λ
= arccos
cos
x
r
−
sin
ϕ
2
cos
ϕ
2
(4)
and, respectively, applying the sign of x to longitude.
This coordinate system, of course, cannot be used in
a global manner, but in local scale, as needed for C2X
applications. It provides, in addition to fast position
transformation, high accuracy.
Hence, for the following, we assume that points
are given in or converted into UTM coordinates, or
any other coordinate system, that meets the men-
tioned requirements.
3 FINDING A RECTANGLE
SURROUNDING A GIVEN SET
OF POINTS
Many dangerous situations, e. g., a critical weather
situation such as heavy rains, are spread over a large
geographical area. Whenever a C2X application de-
tects such a situation the affected area has to be deter-
mined.
An intuitive way to do so is to record the driven
way by means of waypoints while passing through
the situation. After the whole situation is passed or
even after a certain time, a rectangle has to be cal-
culated that includes all of these waypoints. In Fig-
ure 2 such a use-case is depicted. This rectangle can
be used as relevance area in a corresponding DENM
for notifying other ITS stations about the detected sit-
uation. However, an appropriate destination area is,
e.g., given by just adding a suitable distribution off-
set to a and b, respectively.
Figure 2: A rectangle surrounding a recorded trace.
To calculate a rectangle around a given set of
points, the following steps have to be performed:
1. Since the sets of points may follow the course of
a street, it is most likely that they are ordered in a
line. Hence, the orientation of that chain of points
has to be determined.
ICINCO2013-10thInternationalConferenceonInformaticsinControl,AutomationandRobotics
576