Struct Field

Struct Documentation

struct Field

Public Functions

Field()
explicit Field(const Cells &cells, const std::string &id = "")
~Field()
Field(const Field&)
Field(Field&&)
Field &operator=(Field&&)
Field &operator=(const Field&)
std::string getId() const
void setId(const std::string &_id)
std::string getCRS() const
void setCRS(const std::string &crs)
std::string getPrevCRS() const
void setPrevCRS(const std::string &prev_crs)
Point &getRefPoint()
const Point &getRefPoint() const
void setRefPoint(const Point &_ref_point)
Cells &getField()
const Cells &getField() const
void setField(const Cells &_field)
Field clone() const
double area() const
bool isEmpty() const
bool isCoordSystemUTM() const
std::string getUTMCoordSystem() const
std::string getUTMDatum() const
std::string getUTMZone() const
std::string getUTMHemisphere() const
bool isCoordSystemEPSG() const
int getEPSGCoordSystem() const
void setEPSGCoordSystem(int epsg)
void setUTMCoordSystem(const std::string &utm)
void setUTMCoordSystem(const std::string &utm, const std::string &datum)
Cells getCellsAbsPosition() const

Public Static Functions

static bool isCoordSystemUTM(const std::string &coord_sys)
static std::string getUTMCoordSystem(const std::string &coord_sys, const std::string &if_not_found = "")
static std::string getUTMDatum(const std::string &coord_sys, const std::string &if_not_found = "etrs89")
static std::string getUTMZone(const std::string &coord_sys)
static std::string getUTMHemisphere(const std::string &coord_sys)
static bool isCoordSystemEPSG(const std::string &coord_sys)
static int getEPSGCoordSystem(const std::string &coord_sys)