sambakk / national-security-project

Geoenriched Web GIS Platform for National Security

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

National Security Project

National security is protecting a nation's critical infrastructure, its population's health and welfare, and sustainability of its economy.

This project consists of developing a Geoenriched Web GIS Platform to enhance national security. It presents features resulting in correct, quicker and better decisions and operations by mitigating threats and raising preparedness.

Features

  • Points of interest layers Module
  • Agents Management Module
  • Accidentology Module
  • Criminology Module
  • Risky Activities Module
  • Real-time Tracking of Protests Module
  • Management of Processions Module
  • Data Analysis Dashboard Module

Demo Video

The area of interest in the demo is the 4th district of Rabat, Morocco.

Built With

Getting Started

Prerequisites

  • PHP 7.

  • PostgreSQL 10.5 or above.

  • PgAdmin 4.

  • Any PHP Server.

  • Activate mb_strtoupper extension :

    • In Windows :

      Edit your php.ini.

    • In a Linux-based system :

      $ sudo apt install php-mbstring // Installing the extension
      $ sudo service apache2 restart // Restarting the apache server

Installation

  1. Clone this repository to your local php server directory.

  2. Open pgadmin, then create a PostgreSQL database.

  3. Right click on your database, choose Restore and put this database backup in Filename, then click on Restore button.

  4. Change the parameters of the connection_string in assets/php/connect.php based on your credentials, see the example below :

    host=localhost
    port=5432
    dbname=postgres
    user=postgres
    password=postgres
    
  5. Open your browser, then access to the web application, by default : localhost/national-security-project.

Notes

  • If you get any warnings while restoring the database but the tables were imported successfully, just ignore them and continue.

  • To enable errors output in the browser's console, change this variable to true in assets/js/GestionDesModules.js.

    var rappErreurs = true;

License

License: GPL-3.0

About

Geoenriched Web GIS Platform for National Security

License:GNU General Public License v3.0


Languages

Language:JavaScript 69.3%Language:CSS 11.3%Language:SCSS 8.9%Language:HTML 6.7%Language:PHP 3.7%