def perim_m(self): ''' Returns the perimeter of the polygon field in metres, transformed to a projection of GDA94/MGA zone 49 through 56. ''' if self.the_geom: return transform_geom(self.the_geom).boundary.length else: return None
def area_ha(self): """ Returns the area of the polygon field in hectares, transformed to a projection of GDA94/MGA zone 49 through 56. """ if self.the_geom: return transform_geom(self.the_geom).area / 10000 else: return None