sgsPy
structurally guided sampling
Loading...
Searching...
No Matches
systematic.h
#include <iostream>
#include <random>
#include "utils/access.h"
#include "utils/existing.h"
#include "utils/helper.h"
#include "utils/raster.h"
#include "utils/vector.h"

Go to the source code of this file.

Namespaces

namespace  sgs
namespace  sgs::systematic

Functions

OGRGeometry * sgs::systematic::getAccessPolygon (vector::GDALVectorWrapper *p_access, std::string layerName, double buffInner, double buffOuter)
bool sgs::systematic::checkExtent (double x, double y, double xMin, double xMax, double yMin, double yMax)
bool sgs::systematic::checkAccess (OGRPoint *p_point, OGRGeometry *p_geometry)
bool sgs::systematic::checkExisting (double x, double y, existing::Existing &existing)
bool sgs::systematic::checkNotNan (raster::GDALRasterWrapper *p_raster, double *IGT, double xCoord, double yCoord, bool force)
std::tuple< vector::GDALVectorWrapper *, std::vector< std::vector< double > >, std::vector< std::vector< std::vector< double > > > > sgs::systematic::systematic (raster::GDALRasterWrapper *p_raster, double cellSize, std::string shape, std::string location, vector::GDALVectorWrapper *p_existing, vector::GDALVectorWrapper *p_access, std::string layerName, double buffInner, double buffOuter, bool force, bool plot, std::string filename)