Example #1
0
    def area_bb_poly(self):
        """Polygon for the bounding box of the analysis area"""
        geo = create_poly(
            ((self.eastmin, self.northmin), (self.eastmin, self.northmax),
             (self.eastmax, self.northmax), (self.eastmax, self.northmin)),
            self.srs)

        return geo
Example #2
0
    def place_bb_poly(self):
        """Polygon for the bounding box of the place"""
        geo = create_poly(
            ((self.lonmin, self.latmin), (self.lonmin, self.latmax),
             (self.lonmax, self.latmax), (self.lonmax, self.latmin)),
            self._get_srs(None))

        return geo
Example #3
0
 def area_bb_poly(self):
     """Polygon for the bounding box of the analysis area"""
     geo =  create_poly(((self.eastmin,self.northmin),
                       (self.eastmin,self.northmax),
                       (self.eastmax,self.northmax),
                       (self.eastmax,self.northmin)
                     ), self.srs)
 
 
     return geo
Example #4
0
 def place_bb_poly(self):
     """Polygon for the bounding box of the place"""
     geo =  create_poly(((self.lonmin,self.latmin),
                               (self.lonmin,self.latmax),
                               (self.lonmax,self.latmax),
                               (self.lonmax,self.latmin)
                             ),self._get_srs(None)
                              )
     
     return geo