Example #1
0
 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
Example #2
0
 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
Example #3
0
 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
Example #4
0
 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