sgsPy
structurally guided sampling
Loading...
Searching...
No Matches
sgs::srs

Functions

template<typename T>
bool getRandomIndices (helper::RasterBandMetaData &band, int width, int height, int numSamples, access::Access &access, existing::Existing &existing, std::vector< helper::Index > &indices, xso::xoshiro_4x64_plus rng)
template<typename T>
void processBlock (helper::RasterBandMetaData &band, access::Access &access, existing::Existing &existing, std::vector< helper::Index > &indices, helper::RandValController &rand, int xBlock, int yBlock, int xValid, int yValid)
std::tuple< std::vector< std::vector< double > >, vector::GDALVectorWrapper *, size_t > srs (raster::GDALRasterWrapper *p_raster, size_t numSamples, double mindist, vector::GDALVectorWrapper *p_existing, vector::GDALVectorWrapper *p_access, std::string layerName, double buffInner, double buffOuter, bool plot, std::string tempFolder, std::string filename)