Giter Site home page Giter Site logo

map_of_emergency_locations_in_toronto's Introduction

Map of different types of emergency locations in Toronto

This is a map of different types of emergency locations in Toronto, in R.

WARNING before use

This program must not be used in emergency situations where a life must be saved.

This program may not give the precise information necesary to find emergency locations in the situation when a life must be saved, where every second matters. This program might execute slowly in these urgent situations or might not finish to execute in these situations at all, and even then, the locations shown in the map by this program may not be available at this critical emergency, losing precious time, for the data this program uses from the Open Data of the City of Toronto may not be updated real-time when an emergency location happens to be congested or unavailable. (Besides, the handling of an emergency usually requires a logistic involving different types of public services, not only one, made available as soon as possible at the place of the emergency. To coordinate this logistic urgently, the intervention of an expert human agent is obligatory. This program is not related nor interacts with 9-1-1 infrastructures.)

WIP

This project is a work in progress. The implementation is incomplete and subject to change. The documentation can be inaccurate.

Emergency locations represented on the Map

This program downloads and uses several ESRI shapefiles made available by the Open Data initiative of the City of Toronto.

So far, the following ESRI shapefiles or CSV files are used:

[Police Facilities] (http://www1.toronto.ca/wps/portal/contentonly?vgnextoid=4071790e6f21d210VgnVCM1000003dd60f89RCRD)

[Automatic External Defibrillators] (http://www1.toronto.ca/wps/portal/contentonly?vgnextoid=6455da18d9f44410VgnVCM10000071d60f89RCRD)

[Ambulance Station Locations] (http://www1.toronto.ca/wps/portal/contentonly?vgnextoid=93f91c98d2b6d310VgnVCM10000071d60f89RCRD&vgnextchannel=1a66e03bb8d1e310VgnVCM10000071d60f89RCRD)

[Air Conditioned Public Places & Cooling Centres] (http://www1.toronto.ca/wps/portal/contentonly?vgnextoid=e7356d1900531510VgnVCM10000071d60f89RCRD)

Requirements

Besides R and network connectivity, this program requires the wget program (it can be done also with curl), the unzip command-line tool, and the ogr2ogr command-line tool. This last program can be installed from the gdal rpm package (RedHat) or gdal-bin (Debian) or gdal (brew in Mac OS/X):

    dnf install gdal

    apt-get install gdal

    brew install gdal

(These belong to the Geospatial Data Abstraction Library)

Example of the maps generated

The program in R needs to be called after the shell script, and generates two maps, one with all the emergency locations together in one common map, and another with each type of emergency location standing alone in a separated map).

Samples of these two maps are below:

sample of all emergency locations together in one common map

sample of the grid with each type of emergency location standing alone in a separated map

map_of_emergency_locations_in_toronto's People

Contributors

je-nunez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.