Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 2.17 KB

README.md

File metadata and controls

66 lines (51 loc) · 2.17 KB

Fast Point Inspection for QGIS (FPI)

Fast Point Inspection is a QGIS plugin that streamlines the process of classifying point geometries in a layer. It provides a user-friendly dock widget containing buttons for each class type. Users can select features and then classify them by clicking on these buttons.

Fast Point Inspection Interface

Features

  • Simple interface integrated into QGIS.
  • Batch classification of selected point features.
  • Easy to customize classes and their colors.
  • "Clear Classification" button to reset classification.

Installation

Prerequisites

Make sure you have QGIS installed on your system.

Install via Plugin Manager

  1. Open QGIS.
  2. Navigate to Plugins -> Manage and Install Plugins....
  3. In the opened window, use the search bar to find "Fast Point Inspection".
  4. From the results, select the "Fast Point Inspection" plugin.
  5. Click the Install plugin button

Usage

  1. Once installed, the dock widget should appear on the right-hand side of the QGIS window.
  2. Select a layer containing point features.
  3. Select the features you want to classify.
  4. Click on the class buttons to set the class for the selected features.
  5. Use the "Clear Classification" button to reset the class attribute to NULL for selected features.

Defining Your Own Classes

You can define your own classes by modifying the CLASSES list in the Python script fpi.py. Each class is represented as a dictionary with the following key-value pairs:

  • class: The name of the class. It should be a string.
  • rgba: The color associated with the class, in the format R,G,B,A where each value is an integer between 0 and 255.

Here's an example:

CLASSES = [
    {
        "class": "Agricultura",
        "rgba": "233,116,237,77",
        "class_id":18
    },
    {
        "class": "Apicum",
        "rgba": "252,129,20,77",
        "class_id":32
    },
    {
        "class": "Aquicultura",
        "rgba": "9,16,119,77",
        "class_id":31
    },
]

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT License. See LICENSE for more information.