Difference between revisions of "Analyzing Crime Data in Ottawa using QGIS"
Selimerguden (talk | contribs) |
Selimerguden (talk | contribs) |
||
Line 17: | Line 17: | ||
[[File:layerpro.png|700px]] |
[[File:layerpro.png|700px]] |
||
+ | |||
+ | ===General Settings=== |
||
+ | |||
+ | Under the General Settings: |
||
+ | • Layer name can be modified and displayed as something else |
||
+ | • Layer source can be modified |
||
+ | • Data source encoding can be changed (System, Windows, and Macintosh etc.) |
||
+ | • Coordinate Reference System can be changed |
||
+ | • Scale dependency can be turned on to restrict the minimum and the maximum scale |
Revision as of 13:50, 16 December 2015
Contents
Introduction
The main purpose of this tutorial was to determine the criminal trends based on the spatial locations in Ottawa using open source software. The QGIS was selected for the purpose of this tutorial it can be downloaded from: (https://www.qgis.org/en/site/forusers/download.html). The data includes many different crimes occurred in Ottawa from 2005 to 2013. The spatial locations include: Orleans, Innes, Barrhaven, Kanata North, West-Carleton March, Stittsville-Kanata West, Bay, College, Knoxdale-Merivale, Gloucester-Southgate, Beacon Hill-Cyrville, Rideau Vanier, Rideau-Rockcliffe, Somerset, Kicthissippi, River, Capital, Alta Vista, Cumberland, Osgoode, Rideau-Golbourn, Gloucester-South Nepean and Kanata South. Some of the crimes include: Total Criminal Code of Canada (CCC) including Traffic, Total Criminal Code of Canada (CCC) excluding Traffic, Crimes against Person, Total number of Homicides, Total Number of Attempted Murders, Total Number of Robberies and Total Number of Assaults (including Sexual Assaults), Total Number of Other Sexual Offences, Number of Abductions, Total Number of Uttering Threats or Intimidation Offences, Total Number of Other Crimes.
Where to get the data?
Based on the statistical data that the City of Ottawa Police Services provided, the Carleton University staff at the MADGIC desk created the shafiles and it was downloaded from the MacOdrum Library website. It is an open source data no login information is required. Retrieved from: http://madgic.library.carleton.ca/deposit/GIS/Crime_Statistics.zip
Loading the Dataset into the QGIS
First step was to select Add Vector Layer symbol. Second step was to use Browse function to locate the data. Finally all shp files were selected from the Crime Wards Shp folder and loaded to the QGIS.
Layer Properties
Layers Properties can be opened by right clicking any of the layers and selecting properties. Right clicking the Layer Properties would bring up the following screen.Layer Properties include: General Settings, Style, Labels, Fields, Rendering, Display, Actions, Joints, Diagrams and Metadata.
General Settings
Under the General Settings: • Layer name can be modified and displayed as something else • Layer source can be modified • Data source encoding can be changed (System, Windows, and Macintosh etc.) • Coordinate Reference System can be changed • Scale dependency can be turned on to restrict the minimum and the maximum scale