Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet::GISConverter Class Reference

#include <GISConverter.hpp>

Static Public Member Functions

static std::expected< Shapefile, std::string > convert (const GeoTiff &geoTiff, bool maskZero=true, bool showProgress=false) noexcept
 Tries to convert a GeoTiff to Shp file.
 

Member Function Documentation

◆ convert()

static std::expected< Shapefile, std::string > fishnet::GISConverter::convert ( const GeoTiff &  geoTiff,
bool  maskZero = true,
bool  showProgress = false 
)
inlinestaticnoexcept

Tries to convert a GeoTiff to Shp file.

Parameters
geoTiffsource geoTiff file
maskZerosee: GDALPolygonize(...)
showProgressshow progress in console
Returns
std::expected<Shapefile,std::string>: Shapefile on success, otherwise string explaining the error

The documentation for this class was generated from the following file: