Public Member Functions | |
def | __init__ (self, *args) |
def | as_list (self) |
def | opalsLimits (self) |
def | opalsFilter (self) |
def | opalsRegionFilter (self) |
def | __eq__ (self, other) |
def | __str__ (self) |
def | __repr__ (self) |
def | __getitem__ (self, item) |
def | as_2Dbbox (self) |
def | as_3Dbbox (self, defaultzmin=0, defaultzmax=0) |
def | as_ogrPolygon (self) |
def | saveAsShapefile (self, filename, fieldname='id', fieldval=0) |
def | Buffer (self, width) |
def | within (self, biggerbbox) |
def | getBoxName (self, nDigits, namingStr, delimiter) |
Returns a formatted string :param box: :return: More... | |
Static Public Member Functions | |
def | overlaps2D (bbox1, bbox2) |
def | getBiggestBBox (*bboxn) |
def | getSmallestBBox (*sm_bboxn) |
def | from_odm (filename, loglevel=opals.Types.LogLevel.none) |
Calculates a bounding box of an odm file by running opalsInfo :param filename: Path to input file :return: bbox object (3D) More... | |
def | from_tif (filename) |
Calculates a bounding box of a tif file by opening with gdal :param filename: Path to input file :return: bbox object (2D) More... | |
def | from_shp (filename) |
Calculates a bounding box of a shapefile by opening it with ogr :param filename: Path to input file :return: bbox object (2D) More... | |
Public Attributes | |
dim | |
minx | |
miny | |
maxx | |
maxy | |
minz | |
maxz | |
|
static |
Calculates a bounding box of an odm file by running opalsInfo :param filename: Path to input file :return: bbox object (3D)
|
static |
Calculates a bounding box of a shapefile by opening it with ogr :param filename: Path to input file :return: bbox object (2D)
|
static |
Calculates a bounding box of a tif file by opening with gdal :param filename: Path to input file :return: bbox object (2D)
def getBoxName | ( | self, | |
nDigits, | |||
namingStr, | |||
delimiter | |||
) |
Returns a formatted string :param box: :return:
References bbox.maxx, bbox.maxy, bbox.minx, and bbox.miny.