Python osgeo.gdal.SetConfigOption() Examples

The following are code examples for showing how to use osgeo.gdal.SetConfigOption(). They are from open source Python projects. You can vote up the examples you like or vote down the ones you don't like.

Example 1
Project: gnm_qgis   Author: nextgis   File:    GNU General Public License v2.0 6 votes vote down vote up
def onRemoveNetworkClicked(self):
        result = self.dlg_remove.my_exec_()
        if result == 1:
            self.NETWORK_DS = None
            ok_to_del = self.dlg_remove.FULLY_DELETE
            if ok_to_del:
# TODO: really pass here the selected GNM format:           
            self.clickFlagButton(self.PRESSED_TOOLB,None) # unpress any pressed flag button and unset map tool
            self.NETWORK_FULLPATH = ''
            self.NETWORK_NAME = ''
            self.GFID_STARTFLAG = -1
            self.GFID_ENDFLAG = -1
            self.GFIDS_BLOCKFLAGS = []