Source code for the LANDFIRE Total Fuel Change Tool
Information and compiled ArcPro Addin available at: LANDFIRE Resources
See the full release history and detailed updates in UPDATES.md.
See the LICENSE file for licensing information.
- images -> images for icons
- src -> source files
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.
To build the add-in, follow these steps:
- Clone the repository.
- Open the Visual Studio solution in Visual Studio 2022.
- In the solution, ensure the ArcGIS Pro SDK packages and references resolve. Install the ArcGIS Pro SDK if missing.
- Set the project Platform target to x64 when projects interact with the Access database (open Project > Properties > Build and set Platform target to x64).
- Build the add-in by selecting Build > Build Solution.
To run and use the add-in, follow these steps:
- Install or start ArcGIS Pro and enable the built add-in (if required by your development workflow).
- 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 copyLF_TFC_Toolbar.mdb. - Add Management Units (MU) via the UI; generated grids and outputs are written into the project's
MUandOutputfolders. - Use the various tool functions to manipulate and analyze fuel data as needed.
- Information and compiled ArcPro Addin available at: LANDFIRE Resources
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.
- 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.
