def accept(self):
gdal.SetConfigOption("OGR_SQLITE_SYNCHRONOUS", "OFF")
with NamedTemporaryFile(mode="w+t", suffix='.sqlite', delete=True) as out:
temp_datasource_path = out.name
try:
self.translate(self.reproject_params(temp_datasource_path))
self.translate(self.export_params(temp_datasource_path))
except InputError as e:
e.show()
return QDialog.accept()
export_gmlas_panel.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录