Giter Site home page Giter Site logo

brazil-data-cube / lccs-db Goto Github PK

View Code? Open in Web Editor NEW
3.0 6.0 6.0 1.74 MB

Land Cover Classification System Database Model

License: GNU General Public License v3.0

Python 98.08% Shell 1.29% Mako 0.62%
land-cover land-use land-cover-classification database postgresql gis geospatial earth-science

lccs-db's Introduction

Land Cover Classification System Database Model

Software License

Code Coverage Test

Documentation Status

Software Life Cycle

Release

Join us at Discord

About

Currently, there are several data sets on regional, national and global scales with information on land use and land cover that aim to support a large number of applications, including the management of natural resources, climate change and its impacts, and biodiversity conservation. These data products are generated using different approaches and methodologies, which present information about different classes of the earth's surface, such as forests, agricultural plantations, among others. Initiatives that generate land use and land cover maps normally develop their own classification system, with different nomenclatures and meanings of the classes used.

LCCS-DB (Land Cover Classification System Database) provides a data model that represents the various classification systems in use and their respective classes. The LCCS-DB aims to provide a data repository to facilitate access and visualization of classes and their symbologies in each classification system employed in projects that provide land use and land cover maps in Brazil: PRODES, DETER, TerraClass and MapBiomas.

In addition, the LCCS-DB allows mapping between classes of classification systems in order to simplify joint data analysis.

The following diagram shows the tables used in this system:

Database Schema


This is the base package for other softwares in the Brazil Data Cube project:

  • LCCS-WS-SPEC: Land Cover Classification System Web Service specification.
  • LCCS-WS: Land Cover Classification System Web Service implementation.
  • LCCS.py: Python Client Library for Land Cover Classification System Web Service.
  • WLTS-SPEC: Web Land Trajectory Service Specification.
  • WLTS.py: Python Client Library for Web Land Trajectory Service.
  • BDC-Catalog: Brazil Data Cube Image Metadata Catalog.

Installation

Install from GitHub:

pip3 install git+https://github.com/brazil-data-cube/[email protected]

Documentation

See https://lccs-db.readthedocs.io/en/latest/

License

Copyright (C) 2023 INPE.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

lccs-db's People

Contributors

fabianazioti avatar gqueiroz avatar raphaelrpl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lccs-db's Issues

Database model review

  • Tables could be associated to the schema luc.
  • Remove from table class_mapping the attributes from target/source systems.
  • In table classification_system replace column name system_name to name.
  • Add relationships with table class_mapping.

Release version 0.8.0

Tasks:

  • Inform the right version in: lccs_db/version.py
  • Run all the tests.
  • Review the ER diagram and the Draw.io models.
  • Create a branch named: b-0.8.
  • Create a tag named: v0.8.0.
  • Notify users that a new version is released.

Data model reviews

  • Create the namespace lccs for all tables.

  • Change table names to: class_systems, classes and class_mappings.

Class system versioning and lineage

Suggestion:

  • Lineage: create a new table named classification_system_src.
  • Versioning: add two new columns in classification_systems, one named version_predecessor and the other version_successor.

Release version 0.4.0

Tasks:

  • Inform the right version in: lccs_db/version.py
  • Run all the tests.
  • Review the ER diagram and the Draw.io models.
  • Create a branch named: b-0.4.
  • Create a tag named: v0.4.0.
  • Notify users that a new version is released.

Release version 0.6.0

Tasks:

  • Inform the right version in: lccs_db/version.py
  • Run all the tests.
  • Review the ER diagram and the Draw.io models.
  • Create a branch named: b-0.6.
  • Create a tag named: v0.6.0.
  • Notify users that a new version is released.

Fix requirements.txt file

The requirements.txt file should include all the dependencies informed in setup.py in the key install_requires and their dependencies.

Release version 0.2.0

Tasks:

  • Inform the right version in: lccs_db/version.py
  • Run all the tests.
  • Review the ER diagram and the Draw.io models.
  • Review the CHANGES.rst.
  • Create a branch named: b-0.2.
  • Set links in the following files:
    • CHANGES.rst
    • README.rst
  • From the branch b-0.2, create a tag named: v0.2.0.
  • Merge branch b-0.2 into master branch.
  • In the master branch increase version in lccs_db/version.py to 0.4.0.
  • Set links in the following files:
    • CHANGES.rst
    • README.rst
  • Notify users that a new version is released.

Update CHANGES.rst

  • What are the changes/improvements in the data model since version 0.2.0?

  • Does it have bug fixes?

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.