International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Vol XXXV, Part B4. Istanbul 2004
geographic information system (Open GIS, 1999). We omit,
therefore, the class hierarchy and operations in this paper.
Figure 5 and Figure 6 show the classes for moving objects and
the operations of some of major interfaces, respectively.
s
P
t
7
[ pM vag
L
| Mánfa qes || Missing Lime Series
ney
—
I—O maaferies
1^0 Gane try
0 Mpa o Tees pes Si n istic
d {
: | dumper || Meng |
us = pspy&aTeatparsi Op aratze
7 E Tinajectanyelyfan
= S Nia
F3 BlGese ety actery
I= '
]*memurarnauaau*
DD ST
Figure 5. Moving Objects Classes
IB | 4! Ieteraect eun orc
| abet Sap ili { Tratast vertere Tima §
j sheet Silas Eestues fisse Toi Tosfésst faTuma Y:
| Tra Snap hes y akon ( ahject dirhatisien ):
| Tina [] Susp iles by Vales ( ie columnIndau chject detaWalus §;
| TesaD Sleeliy Vales [jan leen islas, objuct tellus }:
| Tod) My Val [it le Tec a A Wh, a Holden.
| 4 pes umtusn. unen
| ehpect Prajert (i:
| Vosa) Vu Tell
| et Comob[ pu: )
| re Add | WEmtort mateat chjoct ÉeroValun 1:
(ut Add {TOtaret iehactOb jee! +:
| dr Todas! TOR jest anata BOE 3
| TOtyect ads D
i TORE All (dr Oak Tuch X
j| TObyet Max ():
| Tomar Bam (wor colssscTedua Y
| TObdact Fmt (vd E)
|TObwetkier (ek
| TObct Mart — (TOtAct corren Oba ):
| TObgect Prada ( TOhjre? Sarre Objet
| TObact Affen — (MUwtont DorrantTima ];
| T@bgeet before {HW Imint cerrestTima 1:
IT rit
| 4! return series olia
| object Saa aca. (ink ÁrcaIndza int faindax k
; eet dabkoqertes [OI Nant FeumToms, MOLtie Ting
FAperuTempordBalehu^ 0 Mod Renal — [ Iufecmrtry other Y:
| Woolf Trek [ Litrisesairy har X
| Mu Cabal | Etéésomatry star }-
N
|. Meet ka jolrt [| EM aomertry cher ).
| died Crei) — (LS Spem Fry wire y
| Mise Overlap ( Lifasmasrq ther k
| Meet Sotersarti Listen toy pibar |:
RE EIE E ena eet
TapatioTamporolOperaior | abendhía Girbenas [LiSqematry aeac)
i Difesa T rp Besedenp (i
| Lédécomatry GCeseraxitisll(.
| Th try Belfer Sale deranca:
| entry Kan {dann bry sthark
| En OH Fer (2 ethic)
| IMB4umatry Takorsachan (LUdemahry ather):
| Liam Byte ll daran (esent ry eher):
MSDHEESULT. Éabens ( 19Secmriry osher rel bao! uEmisre
|OMCHETSUAT Lesen [ LoSenmatey other. ref bead ifaosua I
i BOEEFAT Fames ( 3diheemury ether, raf ond futan )
| | AOHEESULT. Rasidasi Lüfesenalry har el benl isLIrwshen ]:
' AGOEEÉCUNQAT MMeete (LAepim try other cud brosl ciliata ):
1 MTeujecterytalat im
Figure 6. Moving Objects Operations
A characteristic of operations included in ITimeSeries
interfaces is the target of operation. It is not location
information of moving points at any time operated but real
location data stored in database. For example, the First(int k)
operation returns A-th location information from first value of
moving point, and the Afrer(MOInstance | currentTime)
operation returns similarly the nearest location information after
currentTime in parameter.
The operations of IMoving interface are different from those of
ITimeSeries interface. IMoving interface provides functions of
calculating location information at all time. For example, the
114
Snapshot(Instant instantTime) returns location information of
moving object in instantTime, and Slice(Instant fromTime,
Instant toTime) which has period parameter returns moving
object between given time period. The Project() returns value
objects projected by time.
3.2 Moving Object Query Language
We also revised the SQL syntax to support moving object
described in section 3.1. We add some data type to present
moving object data model (see Figure 7).
Bosic Dota Type fJAOID
Tempore] Dafa Type — | Teutant, Period. TInterval
Spatial Dato Type Foint. Line, Polygon, Rectengle, MultPoimt, AultiLine,
HiusltiPolygon, GcoCollaction
Moving Beta Type HWnteger, MDeuble, MBool
{Moving Value Type) | =~ ;
Moving Date Type Mfoint, MLine, MPolygen, MEectongle, MultiMPoinf,
(M6comatry Type) Multi Line, Mulit MPolygon, M&ecCollection
Figure 7. Data Types for Moving Object Query Language
In this section, we just describe some DML statements by
examples. Base tables for all of the queries in this section are
assumed as follows.
CelluarPhoneUser ( id MOID, position MPoint )
Car ( id MOID, poistion MPoint, type string )
People ( id MOID, location MPoint, name string)
Region ( id MOID, area MPolygon, name string)
(1) Snapshot Queries
In this section, the snapshot queries for moving objects are
described. The snapshot query is usually used to search the
locations of specific time.
Example 1: Find the current location of cellular phone user
1001 at time /.
Select Project (Snapshot (position, ?))
From CelluarPhoneUser
Where id = 1001;
Example 2: Find the information on the moving object at point
(x,y) at time 7.
Select *
From CelluarPhoneUser
Where Equals (Snapshot (position, 1), Point (10, 20)) = TRUE;
Example 3: Find 911 cars in Dacjeon now.
Select id
From Car, Region
Where Contains (Snapshot (Car.position, NOW), Region.area)
— TRUE AND Region.name - 'Daejoen';
Example 4: Find taxis within Ikm from point(x, y) now.
Select id
From Car, Region
Where Withins (Snapshot (position, NOW), Buffer (MPoint
(NOW, x, y), 1000)) = TRUE AND Car.type 7 'Taxis';
Example 5: Find the closest k delivery trucks to the point(x, v)
now.
Select id
From Car
Int
Wh
TR
(2)
In |
mo
as f
bet
Sel
Fro
Wh
Ex:
bet
Sek
Fro:
Wh
x 1
Exa
time
Selc
Frot
Whe
(3)"
Traj
Pas:
Exa
betw
Sele
Fror
Whe
ANL
The
perf
movi
datal
LSM
cost
inser
buffe
effec
Anot
BMN
the r
mem
4.1 |
BMN
for
relati.
There
locati
depic: