Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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