Пример #1
0
 def show():
     import importlib
     import epsgref
     importlib.reload(epsgref)
     from epsgref import prj
     for k, v in prj.items():
         print('{}:\n{}\n'.format(k, v))
Пример #2
0
 def show():
     import importlib
     import epsgref
     importlib.reload(epsgref)
     from epsgref import prj
     for k, v in prj.items():
         print('{}:\n{}\n'.format(k, v))
Пример #3
0
 def remove(self, epsg):
     """removes an epsg entry from epsgref.py"""
     from epsgref import prj
     self.reset(verbose=False)
     if epsg in prj.keys():
         del prj[epsg]
     for epsg, prj in prj.items():
         self.add(epsg, prj)
Пример #4
0
 def remove(self, epsg):
     """removes an epsg entry from epsgref.py"""
     from epsgref import prj
     self.reset(verbose=False)
     if epsg in prj.keys():
         del prj[epsg]
     for epsg, prj in prj.items():
         self.add(epsg, prj)
Пример #5
0
 def show():
     try:
         from importlib import reload
     except:
         from imp import reload
     import epsgref
     from epsgref import prj
     reload(epsgref)
     for k, v in prj.items():
         print('{}:\n{}\n'.format(k, v))
Пример #6
0
 def show():
     try:
         from importlib import reload
     except ImportError:
         from imp import reload
     import epsgref
     from epsgref import prj
     reload(epsgref)
     for k, v in prj.items():
         print('{}:\n{}\n'.format(k, v))