tvaLib
Public Member Functions | Static Public Attributes | List of all members
lib.metadata.Site Class Reference
Inheritance diagram for lib.metadata.Site:

Public Member Functions

def __init__ (self, name, description='', xcoordinate=None, ycoordinate=None, satres=0.1, satFilename='ortho-cal.png', alignments='', sidewalks='', bikepaths='')
 
def __getitem__ (self, i)
 
def getFilename (self)
 

Static Public Attributes

 idx = Column(Integer, primary_key=True)
 
 name = Column(String)
 
 description = Column(String)
 
 xcoordinate = Column(Float)
 
 ycoordinate = Column(Float)
 
 satres = Column(Float)
 
 satFilename = Column(String)
 
 alignments = Column(String)
 
 sidewalks = Column(String)
 
 bikepaths = Column(String)
 

Detailed Description

Definition at line 84 of file metadata.py.

Constructor & Destructor Documentation

◆ __init__()

def lib.metadata.Site.__init__ (   self,
  name,
  description = '',
  xcoordinate = None,
  ycoordinate = None,
  satres = 0.1,
  satFilename = 'ortho-cal.png',
  alignments = '',
  sidewalks = '',
  bikepaths = '' 
)

Definition at line 97 of file metadata.py.

97  def __init__(self, name, description = '', xcoordinate = None, ycoordinate = None, satres=0.1, satFilename='ortho-cal.png', alignments='', sidewalks='', bikepaths=''):
98  self.name = name
99  self.description = description
100  try: self.xcoordinate = int(xcoordinate)
101  except: self.xcoordinate = None
102  try: self.ycoordinate = int(ycoordinate)
103  except: self.ycoordinate = None
104  try: self.satres = float(satres)
105  except: self.satres = None
106  self.satFilename = satFilename
107  self.alignments = alignments
108  self.sidewalks = sidewalks
109  self.bikepaths = bikepaths
110 

Member Function Documentation

◆ __getitem__()

def lib.metadata.Site.__getitem__ (   self,
  i 
)

Definition at line 111 of file metadata.py.

111  def __getitem__(self, i): return self.camera_views[i]
112 

◆ getFilename()

def lib.metadata.Site.getFilename (   self)

Definition at line 113 of file metadata.py.

113  def getFilename(self):
114  return self.name
115 
116 

Member Data Documentation

◆ alignments

lib.metadata.Site.alignments = Column(String)
static

Definition at line 93 of file metadata.py.

◆ bikepaths

lib.metadata.Site.bikepaths = Column(String)
static

Definition at line 95 of file metadata.py.

◆ description

lib.metadata.Site.description = Column(String)
static

Definition at line 88 of file metadata.py.

◆ idx

lib.metadata.Site.idx = Column(Integer, primary_key=True)
static

Definition at line 86 of file metadata.py.

◆ name

lib.metadata.Site.name = Column(String)
static

Definition at line 87 of file metadata.py.

◆ satFilename

lib.metadata.Site.satFilename = Column(String)
static

Definition at line 92 of file metadata.py.

◆ satres

lib.metadata.Site.satres = Column(Float)
static

Definition at line 91 of file metadata.py.

◆ sidewalks

lib.metadata.Site.sidewalks = Column(String)
static

Definition at line 94 of file metadata.py.

◆ xcoordinate

lib.metadata.Site.xcoordinate = Column(Float)
static

Definition at line 89 of file metadata.py.

◆ ycoordinate

lib.metadata.Site.ycoordinate = Column(Float)
static

Definition at line 90 of file metadata.py.


The documentation for this class was generated from the following file: