Skip to content

firelab/LFTFC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

LFTFC

Source code for the LANDFIRE Total Fuel Change ArcGISPro Addin toolbar

Information and compiled ArcPro Addin available at: LANDFIRE Resources

Changelog

See the full release history and detailed updates in UPDATES.md.

License

See the LICENSE file for licensing information.

Directories:

  • images -> images for icons
  • src -> source files

Getting Started

Prerequisites

Before you begin, ensure you have the following software installed:

  • ArcGIS Pro: Ensure you have a compatible version for the ArcGIS Pro SDK used in this repository.
  • ArcGIS Pro SDK for .NET: This should be installed in Visual Studio.
  • Visual Studio 2022: Make sure you have the VB.NET workload installed.
  • Microsoft Access (64-bit): Required for Access database (LF_TFC_Toolbar.mdb) and to run features that manipulate the MDB directly.
  • The current Access Database can be found at: LANDFIRE Resources in the setup file.

Build

To build the add-in, follow these steps:

  1. Clone the repository.

    A) Start a new instance of Visual Studio 2022

    B) Click "Clone a repository" image

    C) Set Repository location to: https://github.com/firelab/LFTFC and Set Path to a new folder location image

    D) Click "Clone" image

  2. Open the Visual Studio solution in Visual Studio 2022.
  3. In the solution, ensure the ArcGIS Pro SDK packages and references resolve. Install the ArcGIS Pro SDK if missing.
  4. Add manifest file. (Right-click "My Project" folder > Add > New Item > Select "Application Manifest File" > Click "Add" Button).
  5. Build the add-in by Right-clicking Solution > Build Solution.
  6. Set ArcGISPro to run in debugger.

    A) Select the dropdown > LFTFC_Pro Debug Properties image

    B) Create a new profile image

    C) Executable image

    D) Rename the new profile if you want. image

    E) Browse to set ArcGISPro.exe as the executable and close image

    F) Select the new profile image

    G) Click the profile to start and run ArcGISPro and debugger

Run / Use

To run and use the add-in, follow these steps:

  1. Install or start ArcGIS Pro and enable the built add-in (if required by your development workflow).
  2. From the add-in toolbar, set a working project directory using the "Set Working Directory" button. The add-in will create the following subfolders in the project path if they are missing: Input, MU, Output, and it will copy LF_TFC_Toolbar.mdb.
  3. Add Management Units (MU) via the UI; generated grids and outputs are written into the project's MU and Output folders.
  4. Use the various tool functions to manipulate and analyze fuel data as needed.
  5. Information and compiled ArcPro Addin available at: LANDFIRE Resources

Project Layout and Important Files

The project structure includes the following important files and directories:

  • LF_TFC_Toolbar.mdb — Project Access database used by the tool (copied into new projects from the install location).
  • MU/ — Management unit rasters and generated MU-specific files.
  • Input/ — Optional input rasters referenced when creating new MUs.
  • Output/ — Exported rasters, logs, and reports produced by the add-in.

Notes

  • The implementation uses ADODB to read/write the Access MDB and relies on Access being available for certain operations. On developer machines, use the 64-bit Access components to match the add-in process.
  • The install path constant in the code is C:\Landfire\LFTFC_Pro. Some helper routines reference this path; verify and update if needed.

LFTFC Process Image image

About

Source code for the LANDFIRE Total Fuel Change Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors