GIS Based Crime Analysis System.

BORANG PENGESAHAN STATUS TESIS

JUDUL: GIS BASED CRIME ANALYSIS SYSTEM
SESI PENGAJIAN : 2007/2008
Saya KAMIL HASSAN BIN AHMAD SUKKRI
Mengaku membenarkan tesis (PSM/sarjana/Doktor Falsafah) ini disimpan di Perpustakaan
Fakulti Teknologi Maklumat dan Komunikasi dengan syarat-syarat kegunaa seperti berikut:
1. Tesis dan projek adalah hakmilik Universiti Teknikal Malaysia Melaka.
2. Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dibenarkan membuat salinan
untuk tujuan pengajian sahaja
3. Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dibenarkan membuat salinan
tesis ini sebagai bahan pertukaran antara institusi pengajian tinggi.
4.

** Sila tandakan (/)
(Mengandungi maklumat yang berdarjah

SULIT

keselamatan atau kepentingan Malaysia
seperti yang termaktub di dalam AKTA

RAHSIA RASMI 1972)

TERHAD

(Mengandungi maklumat TERHAD yang
te1ah ditentukan o1eh organisasi!badan di
mana penyelidikan dijalankan



terhad@

セ@

(TANDATANGAN PENULIS)

(/;trwQ
(TANDA TANGAN PENYELIA)
PROFESOR MADYA DR NANNA


Alarnat tetap:
N 26, Jalan Lundu 1,

SURYANA

Taman Beringin, Jinjang
Kuala Lumpur
Tarildl: 12 November 2007

Tarikh: 12 November 2007

© Universiti Teknikal Malaysia Melaka

GIS BASED CRIME ANALYSIS SYSTEM

KAMIL HASSAN BIN AHMAD SUKKRI

This report is submitted in partial fulfillment of the requirements for the Bachelor of
Computer Science (Software Development)


FACULTY OF INFORMATION AND COMMUNICATION TECHNOLOGY
UNNERSITI TEKNIKAL MALAYSIA :MELAKA

2007

© Universiti Teknikal Malaysia Melaka

DECLARATION

I hereby declare that this project report entitled
GIS BASED CRIME ANALYSIS SYTEM

Is written by my own effort and that no part has been plagiarized
without citations.

Date: 1 'Z / I 1/ オZ[」

STUDENT
(KAMIL


SUPERVISOR:

AN BIN AHMAD SUKKRJ)

キ セ@

セ@

Date:
(PROFESOR MADYA DR NANNA SURYANA)

© Universiti Teknikal Malaysia Melaka

セ@ 1-

DEDICATION

To all my beloved family and friends
Whose boundless love and support replenishes and enriches my soul to complete this thesis.
Thanks for being my inspiration and encouragement


© Universiti Teknikal Malaysia Melaka

ACKNOWLEDGE:M:ENTS

It's my greatest pleasure to acknowledge these people whose name may or may
not appear in the product, but whose hard work, guidance, cooperation, friendship and
understanding were crucial to the development of this report. Many people have devoted
long hours for this report. Without them, this report would not have been possible. J have
tried to reflect this in the acknowledgement, but if there have been any omissions, my
sincerely apologize for the oversight.

This report was prepared under the general direction and being supervised by my
supervisor, Pn Nurazl ina Bt Mohd Sanusi, who totally has given a lot of effort giving
comments and guidance to ensure that the report being done successfully. Her advices and
opinions have leaded me to develop this report in proper way. Under a tight time schedule,
she scrutinizes every aspect of the project and made countless suggestions for improving the
accuracy and the completeness of the report. She was the one who always there to help me in
any kind of time.


Thanks to my friends for always supporting and sharing knowledge with me. Their
opinion and positive critics have built confidents in me.

Thank you very much to all for improving the quality of the report. As well as people
who will use the project that will be developed, I would sincerely appreciate your comments,
criticisms, corrections and suggestions for improving the project.

© Universlti Teknikal Malaysia Melaka

ABSTRACT

FTMK Industrial Training System (FITPS) is base on latest technology where
management becomes easier, quicker and more efficient. FITPS is a complete web based
system for administrator, student, and industry to help FTMK in better management in
placement industry training for FTMK student. By the way the flexible features can
support multiple users enables them to apply industry training through on this system .

© Universlti Teknikal Malaysia Melaka

ii


acknoセGledgmt@

First of all, I would like to express my gratitude to all those who gave me the
possibility to complete this documentation. I want to thank my lecturer,

Puan

Zahriah bt Othman and Puan Safiza Suhana bt Kamal Baharin for proposing this
project to me. Both them contribute many resources and ideas in developing the
system.

I am deeply indebted to my supervisor Professor Madya Dr. Nanna Suryana
whose help, stimulating suggestions and encouragement helped me in all the time of

Projek Sarjana Muda (PSM) for and writing of this docwnentation.

I would be remiss if I did not thank to all my friends, who gave me supports
and encouraged me in order to complete this report as well. The supports are always
making me strong and though enough to encounter any issues regarding the PSM

itself.

© Universiti Teknikal Malaysia Melaka

ABSTR.A.CT
GIS Based Crime Analysis System is developed for Jaw enforcement in order
to solve the problem willie using the current system. TI1e cuiTent system is truly
unsatisfied whlch made the Jaw enforcement suffer to analyze the crime data and
problem in filing the system. The system not only makes the work faster but also it
can store the complain and investigation information and produce statistic in various
form. While developing the system, the SSADM approach were used where
Waterfall model as the methodology. The system is programmed using Coldfusion
and combined with Adobe Flash running on Apache ·web server and Windows. At
the end of development, hope that the system can help the law enforcement to
combat the crime and reduce the crime rate at the future.

© Universiti Teknikal Malaysia Melaka

N セstrak@


Sistem Analisa Jenayah dengan GIS (GIS Based Crime Analysis System)
adalah dibangunkan untuk penguatkuasa undang-undang untuk menyelesaikan
masalah yang dihadapi ketika menggunakan sistem yang sedia ada. Sistem yang
sedia ada adalah kurang memuaskan dimana ia menyukarkan keija penganalisaan
dan pen.failan. Sistem ini bukan sahaja mempercepatkan kerja, ia boleh diguna pakai
untuk menyimpan rekod aduan dan maklumat siasatan, ia juga boleh meghasilkan
laporan statistic berbentuk jadual dan maklumat pemetaan jenayah. Ketika
pembangunan sistem ini, ia menggunakan kaedal1 Analisa Sistem Berstruktur dan
Rekabentuk (SSADM) dimana ia menggunakan Watezfall model sebagai metodologi
sistem. Sistem ini dikarang menggunakan Coldfusion dan digabungkan dengan
Adobe Flash diatas pelayan Apache dan Windows. Dengan terbinanya sistem ini
ke1ak, diharap ia dapat membantu penguatkuasa undang-undang agar dapat
memerangi dan mengurangkan kadar jenayah di masa hadapan.

© Universiti Teknikal Malaysia Melaka

IV

TABLE OF CONTENTS


CHAPTER

SUBJECT

PAGE

ACKNOWLEDGEMENTS
ABSTRACT

ii

ABSTRAK

iii

TABLE OF CONTENTS

iv

LIST OFTABLES


,,ii

LIST OF FIGURES

,,iii

LIST OF ABBREVIATONS

X

LIST OF ATTACHMENTS

xi

CHAPTER I

1

1.1

Project Background

1

1.2

Problem Statement

2

1.3

Scope

4

1.3.1

Target User

4

1.3.2 Modules

4

1.3.3 Where to Implement the System

5

1.3.4 Specific Platform

5

1.4

Project Significant

© Universiti Teknikal Malaysia Melaka

5

v

1.5

Expected Output

5

1.6

Conclusion

6

CHAPTER II

8

2.1

Introduction

8

2.2

Fact and Finding

9

2.2.1 Domain

9

2.2.2 Existing System

9

2.2.3 Teclmique

16

2.3

Project Methodology

19

2.3.1

Waterfall Model

20

2.4

Project Requirement

23

2.4.1

Software Requirement

23

2.4.2 Hardware Requirement

24

2.5

Project Schedule and Milestone

25

2.6

Conclusion

27

CHAPTER III

28

3.1

Introduction

28

3.2

Problem Analysis

28

3.3

Requirement Analysis

30

3.3.1 Data Requirement

30

3.3.2 Functional Requirement

30

3.3.3 Non-functional Requirement

38

3.3.4 Other Requirement

38

3.4

41

Conclusion

42

CHAPTER IV
4.1

Introduction

42

4.2

High Level Design

42

© Universiti Teknikal Malaysia Melaka

VI

4.2.1

System Architecture

43

4.2.2 User Interface Design

44

4.2.3 Database Design

58

4.3

Detailed Design

67

4.3.1 Softvvare Specification

67

4.3.2 Physical Database Design

74

4.4

80

Conclusion

81

CHAPTERV

5.1

Introduction

81

5.2

Software Development Environment Setup

82

5.2.1

Preparation of Development Environment

82

5.2.2
sッヲオセ^N

82

G 。イ・@

and Hardware Acquisition

5.2.3 Overview of Development Setup

83

5.3

Software Configuration Management

89

5.3.1

Configuration Enviromnent Setup

89

5.3.2 Version Control Procedure

89

5.4

Implementation Status

92

5.5

Conclusion

93
94

CHAPTER VI
6.1

Introduction

94

6.2

Test Plan

94

6.2.1 Test Organization

95

6.2.2 Test Environment

95

6.2.3 Test Schedule

96

6.3

97

Test Strategy

6.3.1 Classes of Test

97

6.4

98

Test Design

© Universiti Teknikal Malaysia Melaka

VII

6.4.1 Test Description

99

6.4.2 Test Data

101

6.5

Test Result and Analysis

102

6.6

Conclusion

102

CHAPTER VII

103
7.1

Observation on Weaknesses and StTengths

103

7.2

Propositions for Improvement

104

7.3

Contribution

104

7.4

ConcJusion

105

REFERENCES

106

APPENDIX A GANTT CHART

108

APPENDIX B USER MANUAL

111

APPENDIX C CURRENT SYSTEM SAMPLE REPORT

126

© Universiti Teknikal Malaysia Melaka

Vlll

LIST OF TABLES

TABLE

TITLE

Table 2.1:

Software requirement during development

23

Table 2.2:

Software requirement for server

23

Table 2.3:

Software requirement for client

23

Table 2.4:

Hardware requirement of sen'er

24

Table 2.5:

lvfilestone for GIS Based Crime Analysis System

25

Table3.1:

Functional requirement of Crime Analysis System

30

Table 3.2:

Non-functional Requirement

38

Table 3.3:

Nen,.rork Requirement

41

Table 4.1:

Input Designs

53

Table 4.2:

Example of Comparison between two ranges of month (.Tan-2007 to

PAGE

May-2007) and (Jun-2007 to Dec-2007)) in Statistic module.

56

Table 4.3:

Logical Database design data

62

Table 5.1:

GIS Based Crime Analysis System versioning

90

Table 5.2:

Crime Analysis System

92

Table 6.1 :

Crime Analysis Enviroment Setup

95

Table 6.2:

Crime Analysisi System with GIS and sub component

96

Table 6.3:

Test Schedule

96

Table 6.4:

Test data (Pengadu)

101

Table 6.5 :

Test Case Result

102

© Universiti Teknikal Malaysia Melaka

JX

LIST OF FIGURES

TABLE

TITLE

PAGE

Figure 2.1: Tally system mark

10

Figure 2.2: Mapping the crime into map using thumbnail

11

Figure 2.3: The integration of Analyst's Workstation with 4 element of system.

13

Figure 2.4: iBase, the main application

13

Figure 2.5 : Analysis Notebook

14

Figure 2.6: iBase GIS Interfaces

15

Figure 2. 7: Waterfall Model

20

Figure 3.1: System decomposition diagram of Crime Analysis System

32

Figure 3.2: Context Diagram for Crime Analysis System

33

Figure 3.3: Level 0 DFD for Crime Analysis System

34

Figure 3.4: Levell DFD for process 1, Administration

35

Figure 3.5: Level 1 DFD for process 2, Complain

35

Figure 3.6: Level 1 DFD for process 3, Investigation and Summary

36

Figure 3.7: Level4 DFD for process 4, Statistic

36

Figure 3.8: Levell DFD for process 5, Crime Mapping

37

Figure 4.1: The Three-tier Architecture

43

Figure 4.2: Network Architecture

44

Figure 4.3: Login page design

45

Figure 4.4: Horne page

45

Figure 4.5: Insert new complain design

46

figure 4.6: Insert new reporter form

47

© Universiti Teknikal Malaysia Melaka

X

Figure 4.7: RJH information

47

Figure 4.8: Address Picker

48

Figure 4.9: RJH Details

48

Figure 4.10: Upload photo in RJH

49

Figure 4.11 : Statistic Example

49

Figure 4.1 2: Chart Example in statistic

50

Figure 4.13: Map Application

so

Figure 4.14: Address Mapper

51

Figure 4.15: Navigation flow of GIS Based Crime Analysis System

52

Figure 4.16: Output of Map Application

57

Figure 4.17: Entity Relationship Diagram

59

Figure 5.1 : Overview of Development Setup

84

Figure 5.2: Installation wizard of Apache

85

Figure 5.3 : Installation success

86

Figure 5.4: Selecting Server Configuration at the
Installer Configuration screen.

87

Figure 5.5: Selecting component to be installed as services

87

Figure 5.6: Selecting the Built-in Server option at the Configure
·w eb Server screen

88

Figure 5.7: Configw·e web server

88

Figure 6.1: Sample of Unit Test Cases Form

© Universiti Teknikal Malaysia Melaka

100

XI

LIST OF ABBREVIATONS

DBMS

- Database Management System

DFD

-Data Flow Diagram

EMIS

-Education Management and Information System

ERD

- Entity Relationship Diagram

FK

- Foreign Key

GUI

-Graphical User Interface

IE

- Internet Explorer

LAN

- Local Area Network

OOADM

- Object Oriented Analysis and Design Method

PK

- Primary Key

PSARSS

- Primary School Achievement Retrieval Support System

SDLC

- Software Development Life Cycle

SSADM

- Structured Systems Analysis and Design Method

UTeM

- Universiti Teknikal Malaysia Melaka

RJH

- Ringkasan Jenayah Harian

© Universiti Teknikal Malaysia Melaka

CH..rtract
the data into statistic form. If they want to make a report or analysis, the police
officer needs to open every single file in the cabinet to find the file. They also facing
problem to maintain the database because they don' t have a centralized database. All
method that they used above is time consuming roughly. Thus, the achievements of
combating crime are slow and this is not good.

The current system they have cannot generate report and they need to do it
manually. The way they use now would be primjtive as they must count manually on
crime cases to make statistic.

In order to combat crime more effective, v. re proposed to use crime mapping.

Crime mapping can help in defining which the 'hotspot' of crime is. Apparently, they
have to use paper map and mark the location of crime using thumbnail, thus by
looking at density of the thumbnail, they may target the area are hotspot.

© Universiti Teknikal Malaysia Melaka

3

Objective



To develop GIS Based Crime Analysis System
GIS Based Crime Analysis will be developed through this PSM course.



To manage police complain and investigation iT?formation.
All basic transaction such as add, update and search can be done by user

within the system.



To produce statistical analysis
System can produce various type of statistic depend of user's requirement.



To integrate the analysis with geographical display.
The system will automatically generate map with crime statistic.



To make data processing better and work faster.
The system will be better and faster in data processing and accessing. The
fact that it is an online system will make it accessible anyv·.rhere if there is an
intemet connection. Tllis will make police work become easier and faster to
solve crime. By making crime analysis, the chances of crime prevent is high.

© Universiti Teknikal Malaysia Melaka

4

1.3

Scope

Scopes of GIS Based Crime Analysis System include the target user, modu les
of the system, specific platform and resources.

1.3.1

Target User

The target user will be police officer in police department. They are divided to three
types of user:

a. Complain Receh,er.
This user can input complain information that received from crime
infonner.

b. Investigator.
This user has higher level than Complain Receiver user. Not only can
access complain infom1ation, this user can manage investigation
information.
c.

Administrator.
User that highest level in system . This user can access all area in
system and manage user infonnation.

1.3.2 :M odules

a. Complain
User can insert and update information of complain of crime here.

b. Investigation
Investigator may key in infonnation of cases here.

c. Statistic
Users can generate statistic base on user's defme.

d. Afap Statistic
Location of crime can be marked on map.

© Universiti Teknikal Malaysia Melaka

5
1.3.3 'Vhere to Implement the System
GIS Based Crime Analysis System is developed to be used at Ibu Pejabat
Polis Daerah Melaka Tengah (IPD Melaka Tengah) which are required by them to do
analysis.

1.3.4

Specific Platform

The operating systems that use for this project are Microsoft Windows
operating system. It can be Windows XP Professional, Windows Server 2003 or
Windows 2000. This platform required Coldfusion MX 7 to be installed.

1.4

Project Significant

Thls project can give many benefits to police department and society. The
system can be used as tool to analyze and make decision of the spatial pattern and
processes of crime. If they able to find the crime pattern including hot spot area in
fast way, it would assist their patrol and increase their prevention activities.

J.5

Expected Output

As the system complete, user may able to record the report into database, print
them and they can input further detail about investigation information. After the
information of crime has recorded, the analysis of the system can be produced
whether in statistical data or in geographical data.

© Universiti Teknikal Malaysia Melaka

6

Lei

Conclusion

Advances in computer technology and analytical techniques have given crime
analyst increasingly powerful toolboxes which to find the spatial pattern and
processes crime. By using the system, it can help to save time cost. increase crime
management capability and to empower the law enforcement organization. The next
chapter will discuss about literature review and methodology. The literature review is
very important in order to know others system features and somehow make
comparison between the existing system and the performed system. In addition, the
chapter is also di scusses methodology that will be used by the project

© Universiti Teknikal Malaysia Melaka

© Universiti Teknikal Malaysia Melaka