#include <GISConverter.hpp>
|
| 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.
|
| |
◆ 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
-
| geoTiff | source geoTiff file |
| maskZero | see: GDALPolygonize(...) |
| showProgress | show 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: