Skip to content

Extract, Store and manage conditions from EAC, EA Act and Management Plans

License

Notifications You must be signed in to change notification settings

bcgov/EPIC.conditions

Repository files navigation

EPIC.conditions

A project for the Environmental Assessment Office to manage conditions required for a certificate

Condition Repository is an online application designed to extract, store, and present environmental assessment conditions from PDF documents.

Key Benefits

  • Conditions Repository: A single repository providing access to all conditions across multiple projects
  • Consolidated Conditions View: Enables viewing of all conditions for a project, including amendments to the original condition documents, in a unified format

Condition Repository Setup Instructions

This document outlines the setup instructions for both the backend and front-end components of the project. Ensure you follow the steps in sequence for a smooth setup.

Backend Setup

See API Application Readme

Front End Setup

See Web Application Readme

Usage

Individual PDFs:

Extracting conditions and related details from PDF documents

See Data Extractor Readme

Importing extracted conditions into the database

See Data Loader Readme

Multiple PDFs (Batch Processing):

See Batch Processing README.

For verifying the output of a batch, see manual verification README.

Note: gradio_ui.py in this directory is depreciated.

Directory Structure

.github/                   - PR, CI action workflows and Issue templates
/docs                      - Miscellaneous documentations
condition-web/             - Condition Web application root
└── src/                   - React.js application
condition-api/             - Condition API Application Root
├── src/                   - Python flask application
│   └── met_api/           - Models, Resources and Services
└── migrations             - Database migration scripts
└── tests/                 - API application tests
    └── unit/              - Python unit tests
condition-loader/          - Module for loading extracted conditions into the database
├── condition_jsons/       - Collection of extracted condition JSON files
└── loadConditions         - Script for importing the extracted conditions into the database
condition-parser/          - Module for extracting conditions and related details from PDF documents.
openshift/                 - OpenShift templates and documentation
LICENSE                    - License

Demo

Condition extractor demo Recording - (Slides)

Resources

License

Copyright © 2024 Province of British Columbia

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Extract, Store and manage conditions from EAC, EA Act and Management Plans

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5