Notices: This section not yet converted to new layout. Download stats are rolling back out.

FRAGSTATS

4.2.0.20171213

Package test results are passing.

This package was approved by moderator mwallner on 1/8/2018.

FRAGSTATS is a public domain computer software program designed to compute a wide variety of landscape metrics for categorical map patterns.The original software (version 2) was released in the public domain during 1995. The program was completely revamped in 2002 (version 3). Recently, the program was upgraded to accommodate ArcGIS10 (version 3.4). The latest release (version 4) reflects a major revamping of the software, with a completely redesigned architecture intended to support the addition of cell-level metrics and surface pattern metrics. The current release of version 4 (v4.2) has essentially the same functionality as version 3, but with a new user interface that reflects the redesign of the model architecture, support for additional image formats, and a variety of sampling methods for analyzing sub-landscapes.

Raster Image Formats:

  • ASCII grid
  • 8-, 16- and 32-bit integer grids
  • ESRI grid (or raster)
  • GeoTIFF grid
  • VTP binary terrain format grid
  • ESRI header labelled grid
  • ERDAS Imagine grid
  • PCRaster grid
  • SAGA GIS binary format grid

Features

  • Graphical user interface
  • Command line execution
  • Patch-based metrics
  • Cell-based metrics
  • Surface metrics
  • Structural and functional metrics
  • Batch processing
  • Multiple sampling strategies
  • Handles nodata, background and border cells

Package Parameters

If you have a valid ESRI ArcGIS license with Spatial Analyst or ArcView 3.3 Spatial Analyst and intend to work with ArcGrids (or Rasters), you can use a /DLL package parameter to add the necessary folder path of the aigridio.dll library file. This path is not verified.

For example :
choco install fragstats -params '"/DLL:""C:\Program Files (x86)\ArcGIS\Desktop10.2\Bin"""'.
(note: the double-double quotes around the path are only needed if it contains spaces)

To install FRAGSTATS, run the following command from the command line or from PowerShell:

C:\> choco install fragstats

To upgrade FRAGSTATS, run the following command from the command line or from PowerShell:

C:\> choco upgrade fragstats

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'; # stop on all errors
    
    $toolsDir   = Split-Path -parent $MyInvocation.MyCommand.Definition
    $fileLocation = (Get-ChildItem -Path $toolsDir -Filter '*.zip').FullName
    
    $UnzipArgs = @{
       PackageName  = $env:ChocolateyPackageName
       FileFullPath = $fileLocation
       Destination  = Join-Path $env:TEMP "$env:ChocolateyPackageName\unzipped"
    }
    
    Get-ChocolateyUnzip @UnzipArgs
    
    
    $InstallArgs = @{
       packageName    = $env:ChocolateyPackageName
       installerType  = 'exe'
       file           = (Get-ChildItem $UnzipArgs.Destination -Filter '*.exe' -Recurse).FullName
       softwareName   = "$env:ChocolateyPackageName*"
       silentArgs     = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
       validExitCodes = @(0)
    }
      
    Install-ChocolateyPackage @InstallArgs
    
    $UserArguments = @{}
    # Parse the packageParameters using good old regular expression
    if ($env:chocolateyPackageParameters) {
       $match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
       $option_name = 'option'
       $value_name = 'value'
     
       if ($env:chocolateyPackageParameters -match $match_pattern ){
          $results = $env:chocolateyPackageParameters | Select-String $match_pattern -AllMatches
          $results.matches | % {
             $UserArguments.Add(
                $_.Groups[$option_name].Value.Trim(),
                $_.Groups[$value_name].Value.Trim())
          }
       }
       else { 
          Write-Warning 'Package Parameters were found but were invalid (REGEX Failure)' 
       }
    } else {
       Write-Debug 'No Package Parameters Passed in'
    }
    
    if ($UserArguments.ContainsKey('DLL')) {
       Write-Host 'You requested to add a path to the "aigridio.dll" library.'
       Install-ChocolateyPath $UserArguments.DLL 'Machine'
    }
    
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $packageArgs = @{
      packageName   = $env:ChocolateyPackageName
      softwareName  = "$env:ChocolateyPackageName*"
      fileType      = 'EXE'
      silentArgs   = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
      validExitCodes= @(0)
    }
    
    [array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs.softwareName
    
    if ($key.Count -eq 1) {
      $key | % { 
        $packageArgs['file'] = "$($_.UninstallString)"
        Uninstall-ChocolateyPackage @packageArgs
      }
    } elseif ($key.Count -eq 0) {
      Write-Warning "$packageName has already been uninstalled by other means."
    } elseif ($key.Count -gt 1) {
      Write-Warning "$($key.Count) matches found!"
      Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
      Write-Warning "Please alert package maintainer the following keys were matched:"
      $key | % {Write-Warning "- $($_.DisplayName)"}
    }
    
    
  • tools\fragstats4.2.zip Show
    md5: A88757C536E1D5F12F563E12E67CD915 | sha1: B8984535C8A3A5E3690E4B3E5913B29D6B2A948D | sha256: CBCB62D09E54791CE37CABD3B4A542BB97AD5EEE2FB885BAF387AE35931A1255 | sha512: 8F9398D09FC1AFD969DC5D26A1BE14AE68CC86A0EF86351F7B12FBF907F8D36F255C1D0F15E8518D1D41999B44713D37B622C13441E75C9F27D4D5C5E0EA4051
  • tools\LICENSE.txt Show
    From: http://www.umass.edu/landeco/research/fragstats/downloads/fragstats_downloads.html
    
    Disclaimer
    
    This software is in the public domain, and the recipient may not 
    assert any proprietary rights thereto nor represent it to anyone 
    as other than an Oregon State University-produced program (version 2), 
    University of Massachusetts-produced program (version 3), or LandEco 
    Consulting-produced (Dr. McGarigal, sole propeitor)(vesion 4). 
    FRAGSTATS is provided "as is" without warranty of any kind, including, 
    but not limited to, the implied warranties of merchantability and 
    fitness for a particular purpose. The user assumes all responsibility 
    for the accuracy and suitability of this program for a specific 
    application. In no event will the authors or the University be liable 
    for any damages, including lost profits, lost savings, or other 
    incidental or consequential damages arising from the use of or the 
    inability to use this program.
    
  • tools\VERIFICATION.txt Show
    VERIFICATION
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
     
    The zipped installer is available on this page:  
    http://www.umass.edu/landeco/research/fragstats/downloads/fragstats_downloads.html
    
    Direct Download:
    
    Version  : 4.2
    URL      : http://www.umass.edu/landeco/research/fragstats/downloads/fragstats4.2.zip
    CheckSum : CBCB62D09E54791CE37CABD3B4A542BB97AD5EEE2FB885BAF387AE35931A1255
    
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Dr. Kevin McGarigal
  • Dr. Sam Cushman
  • Eduard Ene

Copyright

Copyright © 1995-2015 McGarigal, K., SA Cushman, and E Ene

Tags

Release Notes

http://www.umass.edu/landeco/research/fragstats/fragstats_release.html

Version History

Version Downloads Last updated Status
FRAGSTATS 4.2 385 Tuesday, April 26, 2016 approved

Discussion for the FRAGSTATS Package

Ground rules:

  • This discussion is only about FRAGSTATS and the FRAGSTATS package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or FRAGSTATS, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok