Example #1
0
    def get_border_geojson(self, *args, **kwargs):
        """Create border of the Polygon in GeoJson format

        Returns
        -------
        the Polygon border in GeoJson format : str

        """
        return ogr.CreateGeometryFromWkt(self.get_border_wkt(*args, **kwargs)).ExportToJson()
Example #2
0
    def get_border_geometry(self, *args, **kwargs):
        ''' Get OGR Geometry of the border Polygon

        Returns
        -------
        OGR Geometry, type Polygon

        '''

        return ogr.CreateGeometryFromWkt(self.get_border_wkt(*args, **kwargs))
Example #3
0
    def get_border_geometry(self, *args, **kwargs):
        """ Get OGR Geometry of the border Polygon

        Returns
        -------
        OGR Geometry : Polygon

        """

        return ogr.CreateGeometryFromWkt(self.get_border_wkt(*args, **kwargs))