avencia10 march 2004 analysis cubes: building a spatial olap engine for analyzing crime steve meyer...
TRANSCRIPT
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Analysis Cubes: Building a Spatial OLAP Engine for Analyzing Crime
Steve MeyerRobert Cheetham
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Overview
OLAP = Online Analytical Processing
Sits ‘on top’ of transactional database
Aggregates information to higher level of abstraction
Help to ask complex summary questions
Summarizes data into ‘dimensions’
Most dimensions have ‘hierarchy’ (year, month, day hour) or groups’ (robberies w/ a gun)
Data structure is often called a ‘cube’, but isn’t limited to 3D
Designer creates ‘measures’ (28-day moving average)
Important foundation for data mining
Add-on for most major RDBMS vendors
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Cube
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Cube
TIME
CR
IME
TY
PE
GEOGRAPHY
Metric
Mar
ch
300-Class
District 5
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Aggregations
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Processing Speed
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Dimensions
February
March
April
May
June
July
August
September
January
October
November
December
TIMEGEO
District 2
District 6
District 1
District 3
District 4
District 5
CRIMETYPE
500 Series
100-Series
200 Series
300 Series
400 Series
+
RESPONSETYPE
Bicycle
Patrol Car
On Foot
Other
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Queries
February
March
April
May
June
July
August
September
January
October
November
December
TIMEGEO
District 2
District 6
District 1
District 3
District 4
District 5
CRIMETYPE
500 Series
100-Series
200 Series
300 Series
400 Series
RESPONSETYPE
Bicycle
Patrol Car
On Foot
Other
Q. How many 300-Series Crimes in District 5 in March were responded to by Patrol Car?
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Hierarchies
District1
SectorA
SectorC
SectorB
SectorD
District2
SectorA
SectorC
SectorB
Philadelphia
District1
SectorA
SectorB
District2
SectorA
SectorC
SectorB
Pittsburgh
Pennsylvania
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Metrics
5
J
2
F
3
M
8
A
4
M
4
J
2
J
4
A
5
S
6
O
5
N
4
D
10
J
5
F
7
M
3
A
5
M
4
J
CELLS = 18SUM = 86AVG = 4.7
MEDIAN = 4.5RANGE = 8ALL
5
J
2
F
3
M
8
A
4
M
4
J
2
J
4
A
5
S
6
O
5
N
4
D
10
J
5
F
7
M
3
A
5
M
4
J
1ST Q 1ST Q
CELLS = 6SUM = 32AVG = 5.3
MEDIAN = 5.0RANGE = 8
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Application 1
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Application 2
0
1
2
3
4
5
6
7
8
9
10
J F M A M J J A S O N D J F M A M J
0
2
4
6
8
10
12
J F M A M J J A S O N D J F M A M J
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Application 2
Avencia10 March 2004
avencia<spatial_modeling />
<geoservices /><web_development />
Analysis Cubes: Building a Spatial OLAP Engine for Analyzing Crime
Steve [email protected]
Robert [email protected]
http://www.avencia.com/