def export(self, outFormat="shp", outFolder=None):
        """exports a dataset t"""
        export_formats = {'shp':".zip", 'kml':'.kml', 'geojson':".geojson",'csv': '.csv'}
        url = "%s/%s%s" % (self._url, self._itemId, export_formats[outFormat])
        results =  self._get(url=url,
                    securityHandler=self._securityHandler,
                    out_folder=outFolder)
        if 'status' in results:
            self.time.sleep(7)
            results = self.export(outFormat=outFormat, outFolder=outFolder)
        return results
def export ( self , outFormat = "shp" , outFolder = None ) : export_formats = { 'shp' : ".zip" , 'kml' : '.kml' , 'geojson' : ".geojson" , 'csv' : '.csv' } url = "%s/%s%s" % ( self . _url , self . _itemId , export_formats [ outFormat ] ) results = self . _get ( url = url , securityHandler = self . _securityHandler , out_folder = outFolder ) if 'status' in results : self . time . sleep ( 7 ) results = self . export ( outFormat = outFormat , outFolder = outFolder ) return results
exports a dataset t